summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-14 03:17:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-14 03:17:06 +0000
commit72faa09dff0e69a6a1d4cbd0e0078573a242c817 (patch)
treebdbb327e505b6edf83ca1d991402895b4ac1a484 /rules.mk
parent494110052361221257ab37c2f19d3ab32a1608eb (diff)
downloadmtk-20170518-72faa09dff0e69a6a1d4cbd0e0078573a242c817.zip
mtk-20170518-72faa09dff0e69a6a1d4cbd0e0078573a242c817.tar.gz
mtk-20170518-72faa09dff0e69a6a1d4cbd0e0078573a242c817.tar.bz2
move cflags default setting to target makefiles
SVN-Revision: 14866
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 96ae8d5..dad7456 100644
--- a/rules.mk
+++ b/rules.mk
@@ -29,6 +29,7 @@ confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n)))
strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1))
_SINGLE=export MAKEFLAGS=$(space);
+CFLAGS:=
ARCH:=$(subst i486,i386,$(subst i586,i386,$(subst i686,i386,$(call qstrip,$(CONFIG_ARCH)))))
BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD))
TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))