gluon/targets/x86.inc
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

45 lines
787 B
SQL

config 'CONFIG_VDI_IMAGES=y'
config 'CONFIG_VMDK_IMAGES=y'
packages {
'kmod-3c59x',
'kmod-8139cp',
'kmod-8139too',
'kmod-e100',
'kmod-e1000',
'kmod-e1000e',
'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',
'kmod-ath9k',
'kmod-gpio-button-hotplug',
'kmod-gpio-nct5104d',
'kmod-hwmon-core',
'kmod-leds-gpio',
'kmod-leds-apu2',
'kmod-sp5100_tco',
'kmod-usb-core',
'kmod-usb-ohci',
'kmod-usb2',
'kmod-usb3',
'kmod-usb-serial',
'kmod-ath10k',
'ath10k-firmware-qca9887',
'ath10k-firmware-qca9888',
'ath10k-firmware-qca988x',
'ath10k-firmware-qca9984',
'kmod-mt76x0e',
'kmod-mt76x2',
'kmod-mt7603',
'kmod-mt7615e',
}