openwrt-mirror/target/linux/ath79
Adrian Schmutzler 0130022bae ath79: split base-files into subtargets
While most of the target's contents are split into subtargets, the
base-files are maintained for the target as a whole.

However, OpenWrt already implements a mechanism that will use (and
even prefer) files in the subtargets' directories. This can be
exploited to make several scripts subtarget-specific and thus save
some space (especially helpful for the tiny devices).

The only script remaining in parent base-files is
/etc/hotplug.d/ieee80211/00-wifi-migration, everything else is
moved/split.

Note that this will increase overall code lines, but reduce code
per subtarget.

base-files ipk size reduction:
master (generic)   49135 B
split (generic)    48533 B (- 0.6 kiB)
split (tiny)       43337 B (- 5.7 kiB)
split (nand)       44423 B (- 4.6 kiB)

Tested on TL-WR1043ND v4 (generic) and TL-WR841N v12 (tiny).

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-10-27 14:24:22 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
dts ath79: add support for ZyXEL NBG6716 2019-10-27 13:38:49 +01:00
files ath79: add AR934x NAND Flash Controller driver 2019-10-20 15:32:53 +02:00
generic ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
image ath79: fix remaining IMAGE_SIZE issues 2019-10-27 14:03:03 +01:00
nand ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.147 2019-10-08 12:44:35 +02:00
patches-4.19 ath79: add AR934x NAND Flash Controller driver 2019-10-20 15:32:53 +02:00
tiny ath79: split base-files into subtargets 2019-10-27 14:24:22 +01:00
config-4.14 ath79: add support for D-Link DIR-859 A1 2018-12-30 20:08:13 +01:00
config-4.19 ath79: add support for Qihoo C301 2019-07-16 09:51:03 +08:00
Makefile treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00