aboutsummaryrefslogtreecommitdiffstats
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
commitb3ab992d6619fc5d6bedc2df96657c1131bb72f8 (patch)
tree8c5866618a191eb6b54f96521e04c311f3418d8a /include
parentc3152edcbd0ed7ed66c8f52c48f055c37203b60b (diff)
downloadupstream-b3ab992d6619fc5d6bedc2df96657c1131bb72f8.tar.gz
upstream-b3ab992d6619fc5d6bedc2df96657c1131bb72f8.tar.bz2
upstream-b3ab992d6619fc5d6bedc2df96657c1131bb72f8.zip
build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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))