From 5a05d082ff0d8a0ec56c091bc33da18a8a8c3e0b Mon Sep 17 00:00:00 2001 From: Milton Miller Date: Sat, 20 Oct 2007 03:58:03 -0500 Subject: [PATCH] --- yaml --- r: 71899 b: refs/heads/master c: 437374e9a95062fe310b901e48585691edaf5dd0 h: refs/heads/master i: 71897: ce143fb1d335d8f846439b7d2d8b0adccdda276a 71895: fac3b7b99e7a8a33173e338540a48fe0667e0664 v: v3 --- [refs] | 2 +- trunk/arch/ppc/boot/Makefile | 2 ++ trunk/arch/xtensa/boot/Makefile | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7cbc0abb9de4..70d550c4f22a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a54bb701c248d65f761d366f94f2809abdc39f04 +refs/heads/master: 437374e9a95062fe310b901e48585691edaf5dd0 diff --git a/trunk/arch/ppc/boot/Makefile b/trunk/arch/ppc/boot/Makefile index 487dc66dcc74..500497e3c72d 100644 --- a/trunk/arch/ppc/boot/Makefile +++ b/trunk/arch/ppc/boot/Makefile @@ -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 diff --git a/trunk/arch/xtensa/boot/Makefile b/trunk/arch/xtensa/boot/Makefile index 9c5185f605b6..40aa55b485be 100644 --- a/trunk/arch/xtensa/boot/Makefile +++ b/trunk/arch/xtensa/boot/Makefile @@ -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 "\#")