Commit Graph

23 Commits

Author SHA1 Message Date
David Bauer
7e0b450ec8 ramips: update profile names 2021-06-22 01:59:48 +02:00
Matthias Schiffer
3ce43329f5
build: remove now-unneeded function from target_config_lib.lua
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.
2020-05-31 02:20:58 +02:00
Matthias Schiffer
9e23534ec3
build: rework config generation
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.
2020-05-31 02:20:58 +02:00
David Bauer
7fd7116e2a targets: add device-class flags
This commit assigns class-flags to devices. The following scheme is
used:

 - ath9k & ath10k: tiny if RAM <128M
 - ath10k & ath10k: tiny if RAM <256M
 - all: tiny if RAM <64M
 - all: tiny if flash <8M

All other devices automatically have the default device-class selected.
2020-03-25 02:05:18 +01:00
Andreas Ziegler
b113e0f517
ramips-rt305x: remove opkg and USB packages from 4M flash boards (#1807)
reduce size by removing dispensable packages,
to fix builds of this target in most cases.
2019-09-14 13:24:37 +02:00
Matthias Schiffer
8e00149f11
targets: add deprecated flags as appropriate 2019-06-15 23:34:07 +02:00
Matthias Schiffer
071cf7b20f
Switch to Lua for target definitions
The old bash-based parsing code was way too complex. Replace it with Lua.
2019-06-15 23:34:07 +02:00
Matthias Schiffer
210d97c53e
Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
Andreas Ziegler
59d6b2a4ee ramips-rt305x: correct alphabetical order 2018-05-09 04:00:02 +02:00
Steffen Förster
9136562517 ramips-rt305x: add D-Link DIR-615 rev D1-D4 2017-12-08 00:00:35 +01:00
Matthias Schiffer
86636c3ae6
ramips-rt305x: add D-Link DIR-615 H1
Fixes #1164
2017-06-29 18:28:16 +02:00
David Lutz
93c6cf1506 ramips-rt305x: Add support for A5-V11 (#1151) 2017-06-23 13:23:31 +02:00
Matthias Schiffer
78b2775eec
Use LEDE as base for Gluon 2017-01-18 17:21:43 +01:00
Matthias Schiffer
cb404a944b build: remove vermagic hack
As the Gluon kernel won't be compatible with the OpenWrt upstream anymore,
we don't need the vermagic hack anymore.
2015-10-29 18:44:00 +01:00
Matthias Schiffer
46f996b4f0 Update modules
This also takes us past the OpenWrt 15.05 final release.
2015-09-21 21:02:31 +09:00
Matthias Schiffer
508dca41eb Update DEFAULT_OPKG_REPO to 15.05-rc3 2015-07-18 21:22:21 +02:00
Matthias Schiffer
8434686085 build: implicitly configure board and subtarget options
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.
2015-07-12 22:38:41 +02:00
Matthias Schiffer
8e87d84120 Update default opkg repo to 15.05-rc2 2015-06-16 00:58:18 +02:00
Matthias Schiffer
ab10be9f50 We're on Chaos Calmer now 2015-05-22 01:09:19 +02:00
Matthias Schiffer
630de84465 Get rid of the static kernel configuration files
With a backported patch from the OpenWrt trunk, it is now easy to generate an
equivalent configuration using CONFIG_ALL_KMODS.

The build will take a bit longer because all kernel module packages are actually
built even when they are not included in the image, but adding new targets
becomes a lot easier.

Also, related documentation updates and fixes.
2015-03-16 13:54:09 +01:00
Matthias Schiffer
564cfc8019 Restructure image suffix handling to make it more flexible 2015-03-13 21:27:15 +01:00
Nils Schneider
db6b22cec7 vocore: do not look for factory image (there is none) 2015-01-03 05:40:46 +01:00
Nils Schneider
6e03d14d6d basic support for VoCore
This still needs some work:

- there's no factory image causing `make images` to fail
- VoCore can not support BSS and IBSS at the same time
- multi-BSS mode (e.g. mesh + BSS) works if the macs only
  differ in the last 3 bits. Gluon expects to choose both MACs freely,
  though, so after flashing the image one should reset the wifi MACs.
  This is further complicated as VoCores have their MACs assigned
  without gaps making collisions likely.
- there are no buttons nor ethernet ports (without the dock, that is),
  so config-mode will not be possible as is
2014-11-15 13:57:30 +01:00