aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorSam Ravnborg <sam@neptun.(none)>2007-10-14 15:49:42 -0400
committerSam Ravnborg <sam@neptun.(none)>2007-10-14 15:49:42 -0400
commit9a39e273d4df0560c724c5fe71f6314a0583ca2b (patch)
tree84f9df34e3fad92cdabc386bc934f20459cf195b /arch/xtensa
parente00498258c215b46bd24f12ab3a2ed1bcb4772fe (diff)
kbuild: fix up CFLAGS usage
Only in very rare cases is it needed to change CFLAGS outside of arch/*/Makefile. Fix up all wrong cases - in most cases the use of EXTRA_CFLAGS is the only thing needed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/boot/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile
index 820b31d10ae4..9c5185f605b6 100644
--- a/arch/xtensa/boot/Makefile
+++ b/arch/xtensa/boot/Makefile
@@ -8,13 +8,12 @@
8# 8#
9 9
10 10
11CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include 11EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
12HOSTFLAGS += -Iarch/$(ARCH)/boot/include 12HOSTFLAGS += -Iarch/$(ARCH)/boot/include
13 13
14BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") 14BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
15 15
16export CFLAGS 16export EXTRA_CFLAGS
17export AFLAGS
18export BIG_ENDIAN 17export BIG_ENDIAN
19 18
20subdir-y := lib 19subdir-y := lib