lantiq: split base-files into subtargets
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 17 Dec 2019 00:15:35 +0000 (01:15 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 14 Jan 2020 21:04:29 +0000 (22:04 +0100)
commit355f0444f3622347650776dd8f1e388dc5d000ca
treeb1d60761c4f170df95c94c3bc7055f300e9bac1a
parentb070101c506ca5541d6f232c2da3e0f7b1383106
lantiq: split base-files into subtargets

This splits the device-dependent base-files into subtarget directories,
like done recently for ath79 and ramips. While this increases the
overall lines of codes, it will make the code per subtarget smaller
and easier to keep track of features and devices.

While at it, several variables at the top of 02_network are removed,
as they were never changed. The values are put directly into the
function calls where they are used.

Remove unneeded LED setup from 01_leds, and remove 01_leds entirely
for falcon subtarget (as it is not used there).

Applies alphabetic reordering to device cases in base-files.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
22 files changed:
target/linux/lantiq/ase/base-files/etc/board.d/01_leds [new file with mode: 0755]
target/linux/lantiq/ase/base-files/etc/board.d/02_network [new file with mode: 0755]
target/linux/lantiq/ase/base-files/lib/upgrade/platform.sh [new file with mode: 0755]
target/linux/lantiq/base-files/etc/board.d/01_leds [deleted file]
target/linux/lantiq/base-files/etc/board.d/02_network [deleted file]
target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata [deleted file]
target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom [deleted file]
target/linux/lantiq/base-files/lib/upgrade/platform.sh [deleted file]
target/linux/lantiq/falcon/base-files/etc/board.d/02_network [new file with mode: 0755]
target/linux/lantiq/falcon/base-files/lib/upgrade/platform.sh [new file with mode: 0755]
target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds [new file with mode: 0755]
target/linux/lantiq/xrx200/base-files/etc/board.d/02_network [new file with mode: 0755]
target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/11-ath10k-caldata [new file with mode: 0644]
target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom [new file with mode: 0644]
target/linux/lantiq/xrx200/base-files/lib/upgrade/platform.sh [new file with mode: 0755]
target/linux/lantiq/xway/base-files/etc/board.d/01_leds [new file with mode: 0755]
target/linux/lantiq/xway/base-files/etc/board.d/02_network [new file with mode: 0755]
target/linux/lantiq/xway/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom [new file with mode: 0644]
target/linux/lantiq/xway/base-files/lib/upgrade/platform.sh [new file with mode: 0755]
target/linux/lantiq/xway_legacy/base-files/etc/board.d/01_leds [new file with mode: 0755]
target/linux/lantiq/xway_legacy/base-files/etc/board.d/02_network [new file with mode: 0755]
target/linux/lantiq/xway_legacy/base-files/lib/upgrade/platform.sh [new file with mode: 0755]