From a89e0df213de469b6a6fb97312dba500c5acaec6 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 13 May 2013 15:04:58 +0000 Subject: build: add config symbols for different ARM arch levels Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/target.mk b/include/target.mk index 107558218..6774076f9 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)) -- cgit v1.2.3