git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/misc' into topic/misc
[pandora-kernel.git]
/
arch
/
xtensa
/
boot
/
Makefile
diff --git
a/arch/xtensa/boot/Makefile
b/arch/xtensa/boot/Makefile
index
9c5185f
..
70fd145
100644
(file)
--- a/
arch/xtensa/boot/Makefile
+++ b/
arch/xtensa/boot/Makefile
@@
-8,12
+8,13
@@
#
#
-EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
+# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
+KBUILD_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
HOSTFLAGS += -Iarch/$(ARCH)/boot/include
BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
-export
EXTRA_CFLAGS
+export
ccflags-y
export BIG_ENDIAN
subdir-y := lib
export BIG_ENDIAN
subdir-y := lib