From 87aecd5ab5ade7ce1abc8d08137deea3ff4bbe89 Mon Sep 17 00:00:00 2001 From: Vieno Hakkerinen Date: Sat, 16 May 2020 23:58:46 +0200 Subject: [PATCH 1/2] 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') From d353ad35feedc4a375d2084110df5ca03cf86763 Mon Sep 17 00:00:00 2001 From: Vieno Hakkerinen Date: Sun, 17 May 2020 00:06:03 +0200 Subject: [PATCH 2/2] actions: add x86-legacy build workflow --- .github/workflows/build-gluon.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index dd260045..a8504986 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -412,6 +412,27 @@ jobs: name: x86-geode_output path: output + x86-legacy: + name: x86-legacy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Install Dependencies + run: sudo contrib/actions/install-dependencies.sh + - name: Build + run: contrib/actions/run-build.sh x86-legacy + - name: Archive build logs + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v1 + with: + name: x86-legacy_logs + path: openwrt/logs + - name: Archive build output + uses: actions/upload-artifact@v1 + with: + name: x86-legacy_output + path: output + x86-64: name: x86-64 runs-on: ubuntu-latest