mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
0cd5e85e7a
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>
25 lines
498 B
Makefile
25 lines
498 B
Makefile
#
|
|
# Copyright (C) 2008-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=mips
|
|
BOARD:=ar71xx
|
|
BOARDNAME:=Atheros AR7xxx/AR9xxx
|
|
FEATURES:=usbgadget
|
|
CPU_TYPE:=24kc
|
|
SUBTARGETS:=generic tiny nand mikrotik
|
|
|
|
KERNEL_PATCHVER:=4.9
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += \
|
|
kmod-gpio-button-hotplug swconfig \
|
|
kmod-ath9k wpad-mini uboot-envtools
|
|
|
|
$(eval $(call BuildTarget))
|