gluon/targets/x86-geode
Matthias Schiffer 53690d83be
build: move package list generation to target_config_lib.lua, fix precedence
The precedence of different package lists was broken since #1876,
disallowing removal of GLUON_FEATURES packages via GLUON_SITE_PACKAGES.

Including all package selections, both implicit defaults and explicit
handling in Gluon, the order of precedence is now the following:

1.  OpenWrt defaults (including target-specific defaults)
2.  Device-specific packages from OpenWrt
3.  Generic default packages (from target/generic)
4.  Target default packages (target/$(GLUON_TARGET))
5.  Removal of opkg for tiny targets
6.  Packages derived from GLUON_FEATURES + GLUON_FEATURES_$(class)
7.  GLUON_SITE_PACKAGES
8.  GLUON_SITE_PACKAGES_$(class)
9.  Device-specific packages from target/$(GLUON_TARGET)
10. Device-specific packages from GLUON_$(device)_SITE_PACKAGES

This also contains various pieces of cleanup:

- No hardcoded order of device classes for target_config.lua arguments
  anymore (in fact, the Makefile doesn't know anything about device
  classes now)
- target_conifg_lib.lua only hardcodes the fallback class for x86, no
  other occurences of specific class names
- Feature -> package list mapping is moved from Makefile to the Lua code
  as well (still implemented in Shell though)
2020-05-03 22:05:20 +02:00

23 lines
410 B
Plaintext

packages {
'kmod-3c59x',
'kmod-8139cp',
'kmod-8139too',
'kmod-e100',
'kmod-e1000',
'kmod-forcedeth',
'kmod-igb',
'kmod-natsemi',
'kmod-ne2k-pci',
'kmod-pcnet32',
'kmod-r8169',
'kmod-sis900',
'kmod-sky2',
'kmod-tg3',
'kmod-tulip',
'kmod-via-rhine',
'kmod-via-velocity',
}
factory_image('x86-geode', 'combined-squashfs', '.img.gz')
sysupgrade_image('x86-geode', 'combined-squashfs', '.img.gz')