aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
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/target.mk
parent526aedb70532c8743d8e63f7ce3f3746793b914e (diff)
downloadupstream-eea89fea6a5f97880811ba35ecc0ade6504f40d8.tar.gz
upstream-eea89fea6a5f97880811ba35ecc0ade6504f40d8.tar.bz2
upstream-eea89fea6a5f97880811ba35ecc0ade6504f40d8.zip
build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36620
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index 107558218e..6774076f91 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))