gluon/targets
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
..
ar71xx-generic targets: add device-class flags 2020-03-25 02:05:18 +01:00
ar71xx-mikrotik Switch to Lua for target definitions 2019-06-15 23:34:07 +02:00
ar71xx-nand build: drop GLUON_WLAN_MESH variable 2019-11-07 19:48:16 +01:00
ar71xx-tiny targets: add device-class flags 2020-03-25 02:05:18 +01:00
ath79-generic ath79-generic: add support for TP-Link CPE220 v3 2020-04-27 16:42:10 +02:00
brcm2708-bcm2708 brcm2708: update image names and manifest aliases for new libplatforminfo 2020-02-04 23:59:16 +01:00
brcm2708-bcm2709 brcm2708: update image names and manifest aliases for new libplatforminfo 2020-02-04 23:59:16 +01:00
brcm2708-bcm2710 brcm2708: update image names and manifest aliases for new libplatforminfo 2020-02-04 23:59:16 +01:00
brcm2708.inc Switch to Lua for target definitions 2019-06-15 23:34:07 +02:00
generic target_lib: replace envtrue with more intuitive istrue helper 2020-03-14 16:51:43 +01:00
ipq40xx-generic targets: add device-class flags 2020-03-25 02:05:18 +01:00
ipq806x-generic ipq806x-generic: remove BROKEN flag for target and NETGEAR R7800 2019-11-05 20:24:05 +01:00
lantiq-xrx200 codestyle: replace leading spaces with tabs in target files (#1954) 2020-03-09 22:19:07 +01:00
lantiq-xway lantiq-xway: remove support for AVM FRITZ!Box 7320 7330 7330SL 2020-04-26 18:02:46 +02:00
mpc85xx-generic Switch to Lua for target definitions 2019-06-15 23:34:07 +02:00
mpc85xx-p1020 codestyle: replace leading spaces with tabs in target files (#1954) 2020-03-09 22:19:07 +01:00
mvebu-cortexa9 mvebu-cortexa9: rename Linksys WRT1200AC 2019-10-30 00:06:14 +01:00
ramips-mt76x8 ramips-mt76x8: add support for Cudy WR1000 2020-04-25 17:25:32 +02:00
ramips-mt7620 codestyle: replace leading spaces with tabs in target files (#1954) 2020-03-09 22:19:07 +01:00
ramips-mt7621 codestyle: replace leading spaces with tabs in target files (#1954) 2020-03-09 22:19:07 +01:00
ramips-rt305x targets: add device-class flags 2020-03-25 02:05:18 +01:00
sunxi-cortexa7 build: drop GLUON_WLAN_MESH variable 2019-11-07 19:48:16 +01:00
targets.mk lantiq-xrx200: add support for AVM FRITZ!Box 7412 (#1859) 2019-11-18 22:54:50 +01:00
x86-64 scripts: avoid global variables in target handler scripts 2019-06-18 01:34:45 +02:00
x86-generic scripts: avoid global variables in target handler scripts 2019-06-18 01:34:45 +02:00
x86-geode build: move package list generation to target_config_lib.lua, fix precedence 2020-05-03 22:05:20 +02:00
x86.inc build: move package list generation to target_config_lib.lua, fix precedence 2020-05-03 22:05:20 +02:00