- Jun 21, 2021
-
-
Martin Weinelt authored
-
David Bauer authored
-
- May 31, 2020
-
-
Matthias Schiffer authored
target_config.lua and target_config_check.lua don't pass a table of callbacks anymore, so target_config_lib.lua can by simplified by moving all the code that was in the returned function to the toplevel.
-
Matthias Schiffer authored
So far, we were using a sort operation on the generated .config to implement precedence of =y packages over =m, and =m over unset. Unfortunately, this sort not only used for packages, but for all config lines. This made it impossible to override settings from targets/generic in a target config when the new setting was sorted before the generic setting. To fix this, track configurations by their keys, so we can properly override config keys that were set before. Value-based precedence is only preserved for package configuration. The config() and try_config() calls always take key and value as separate arguments now. Strings are quoted automatically; the values true, nil and false map to y, m and unset for tristate options. config() can take an optional third argument to override the error message to display when the setting fails to apply. All existing target configs generate the same .config with the old and the new code. The new code is also a bit faster on targets with many devices.
-
- May 03, 2020
-
-
Matthias Schiffer authored
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)
-
- Mar 27, 2020
-
-
David Bauer authored
When adding device classes, targets without devices such as x86 were not handled. As site and feature packages are included on such a per-device decision, x86 images ended up without most packages. Include a class setting for a target and include the class-packages target-wide when this setting is configured. Fixes 9c523650 ("build: introduce device classes")
-
- Mar 23, 2020
-
-
David Bauer authored
-
- Nov 07, 2019
-
-
Matthias Schiffer authored
It seems the CT variant was used for 11s meshing on x86 by accient. Switch to non-CT to match the other targets.
-
Matthias Schiffer authored
-
- Jun 15, 2019
-
-
Matthias Schiffer authored
The old bash-based parsing code was way too complex. Replace it with Lua.
-
- Jul 10, 2018
-
-
Matthias Schiffer authored
-
- Apr 26, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
Let's keep the default package selection to hardware support.
-
Andreas Ziegler authored
-
- Feb 03, 2017
-
-
Matthias Schiffer authored
Fixes #1022
-
- Jan 18, 2017
-
-
Matthias Schiffer authored
-
- Nov 06, 2016
-
-
Andreas Ziegler authored
-
Andreas Ziegler authored
-
- Oct 29, 2015
-
-
Matthias Schiffer authored
As the Gluon kernel won't be compatible with the OpenWrt upstream anymore, we don't need the vermagic hack anymore.
-
- Oct 08, 2015
-
-
Matthias Schiffer authored
-
- Sep 21, 2015
-
-
Matthias Schiffer authored
This also takes us past the OpenWrt 15.05 final release.
-
- Jul 18, 2015
-
-
Matthias Schiffer authored
-
- Jul 12, 2015
-
-
Matthias Schiffer authored
The file targets/$GLUON_TARGET/config becomes optional, as many targets only used it to set the board and subtarget. Also fix targets without subtarget.
-
- Jul 08, 2015
-
-
Matthias Schiffer authored
-