summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-13 15:04:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-05-13 15:04:58 +0000
commiteea89fea6a5f97880811ba35ecc0ade6504f40d8 (patch)
tree4940db81b504285080c6ebbd2fc5c3ebeda5e952 /include
parent526aedb70532c8743d8e63f7ce3f3746793b914e (diff)
downloadmtk-20170518-eea89fea6a5f97880811ba35ecc0ade6504f40d8.zip
mtk-20170518-eea89fea6a5f97880811ba35ecc0ade6504f40d8.tar.gz
mtk-20170518-eea89fea6a5f97880811ba35ecc0ade6504f40d8.tar.bz2
build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36620
Diffstat (limited to 'include')
-rw-r--r--include/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index 1075582..6774076 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -186,6 +186,7 @@ ifeq ($(DUMP),1)
ifneq ($(CONFIG_RTC_CLASS),)
FEATURES += rtc
endif
+ FEATURES += $(foreach v,v4 v5 v6 v7,$(if $(findstring -march=arm$(v),$(CFLAGS)),arm_$(v)))
# remove duplicates
FEATURES:=$(sort $(FEATURES))