openwrt/target/linux/ar71xx/tiny/target.mk
Matthias Schiffer 0cd5e85e7a
ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices
This new subtarget sets the small_flash flag and removes unused kernel
configuration.

small_flash removes KERNEL_KALLSYMS, which saves ~107KB in the default
configuration; removing unneeded hardware support from ar71xx/tiny saves
another ~18KB (both after LZMA).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-13 19:54:45 +01:00

9 lines
195 B
Makefile

BOARDNAME:=Devices with small flash
FEATURES += squashfs small_flash
define Target/Description
Build firmware images for Atheros AR71xx/AR913x/AR934x based boards with small NOR flash.
endef