Merge pull request #2010 from txt-file/x86-legacy

Add x86-legacy subtarget
This commit is contained in:
Matthias Schiffer 2020-05-17 09:22:18 +02:00 committed by GitHub
commit 121609b3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -412,6 +412,27 @@ jobs:
name: x86-geode_output name: x86-geode_output
path: 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: x86-64:
name: x86-64 name: x86-64
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -19,6 +19,7 @@ $(eval $(call GluonTarget,ramips,rt305x))
$(eval $(call GluonTarget,sunxi,cortexa7)) $(eval $(call GluonTarget,sunxi,cortexa7))
$(eval $(call GluonTarget,x86,generic)) $(eval $(call GluonTarget,x86,generic))
$(eval $(call GluonTarget,x86,geode)) $(eval $(call GluonTarget,x86,geode))
$(eval $(call GluonTarget,x86,legacy))
$(eval $(call GluonTarget,x86,64)) $(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')