From 87aecd5ab5ade7ce1abc8d08137deea3ff4bbe89 Mon Sep 17 00:00:00 2001 From: Vieno Hakkerinen Date: Sat, 16 May 2020 23:58:46 +0200 Subject: [PATCH] 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. --- targets/targets.mk | 1 + targets/x86-legacy | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 targets/x86-legacy diff --git a/targets/targets.mk b/targets/targets.mk index 9009898e..bad38ac2 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -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)) diff --git a/targets/x86-legacy b/targets/x86-legacy new file mode 100644 index 00000000..79667dad --- /dev/null +++ b/targets/x86-legacy @@ -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')