kbuild: restore arch/{ppc/xtensa}/boot cflags
[linux-2.6.git] / arch / ppc / boot / Makefile
index 487dc66dcc7414d9f1ca67508b06c5dbb1f82852..500497e3c72dde5096673c2f4fc893135cfa49ea 100644 (file)
@@ -13,6 +13,8 @@
 # modified by Cort (cort@cs.nmt.edu)
 #
 
+# KBUILD_CFLAGS used when building rest of boot (takes effect recursively)
+KBUILD_CFLAGS  += -fno-builtin -D__BOOTER__ -Iarch/$(ARCH)/boot/include
 HOSTCFLAGS     += -Iarch/$(ARCH)/boot/include
 
 BOOT_TARGETS   = zImage zImage.initrd znetboot znetboot.initrd