X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fxtensa%2Fboot%2FMakefile;h=40aa55b485be91747ebc401f5d5d4047ce71aa11;hb=a56cdcb662032a732f7c4f35cc5a9acf37759d8c;hp=9c5185f605b666f7a9e3a51daf244762a56b9f4c;hpb=9a39e273d4df0560c724c5fe71f6314a0583ca2b;p=~andy%2Flinux diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 9c5185f605b..40aa55b485b 100644 --- a/arch/xtensa/boot/Makefile +++ b/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 "\#")