kbuild: restore arch/{ppc/xtensa}/boot cflags
[linux-2.6.git] / arch / xtensa / boot / Makefile
index 9c5185f605b666f7a9e3a51daf244762a56b9f4c..40aa55b485be91747ebc401f5d5d4047ce71aa11 100644 (file)
@@ -8,7 +8,8 @@
 #
 
 
-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 "\#")