diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 03:17:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 03:17:06 +0000 |
commit | 72faa09dff0e69a6a1d4cbd0e0078573a242c817 (patch) | |
tree | bdbb327e505b6edf83ca1d991402895b4ac1a484 /rules.mk | |
parent | 494110052361221257ab37c2f19d3ab32a1608eb (diff) | |
download | mtk-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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |