targets: add x86-legacy subtarget

As x86-generic is compiled to pentium4 (and newer) there is a need for
a subtarget for older devices. The x86-legacy subtarget is set to
compile to pentium (and newer) and should support even very old devics.

x86-legacy includes the packages from x86.inc to only maintain one
package list. The three excludes are because the packages do not exist
for x86-legacy.
This commit is contained in:
Vieno Hakkerinen 2020-05-16 23:58:46 +02:00
parent 55c51f2a73
commit 87aecd5ab5
2 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,7 @@ $(eval $(call GluonTarget,ramips,rt305x))
$(eval $(call GluonTarget,sunxi,cortexa7))
$(eval $(call GluonTarget,x86,generic))
$(eval $(call GluonTarget,x86,geode))
$(eval $(call GluonTarget,x86,legacy))
$(eval $(call GluonTarget,x86,64))

10
targets/x86-legacy Normal file
View File

@ -0,0 +1,10 @@
include 'x86.inc'
packages {
'-kmod-gpio-nct5104d',
'-kmod-leds-gpio',
'-kmod-leds-apu2',
}
factory_image('x86-legacy', 'combined-squashfs', '.img.gz')
sysupgrade_image('x86-legacy', 'combined-squashfs', '.img.gz')