From 0cd5e85e7ad621223b0787e66d8ad20fb2694135 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 12 Jan 2018 16:36:13 +0100 Subject: 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 --- target/linux/ar71xx/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ar71xx/image/Makefile') diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index e14271df53..1eaf1e457c 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -19,6 +19,10 @@ include ./generic-senao.mk include ./generic-tp-link.mk include ./generic-ubnt.mk endif +ifeq ($(SUBTARGET),tiny) +include ./tiny-tp-link.mk +include ./tiny-legacy-devices.mk +endif ifeq ($(SUBTARGET),nand) include ./nand.mk endif -- cgit v1.2.3