X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fxtensa%2Fboot%2FMakefile;h=40aa55b485be91747ebc401f5d5d4047ce71aa11;hb=7c7758f99d39d529a64d4f60d22129bbf2f16d74;hp=820b31d10ae419c60258d7cee7f34a572b2e1e5d;hpb=62351cc38d3eaf3de0327054dd6ebc039f4da80d;p=~andy%2Flinux diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 820b31d10ae..40aa55b485b 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile @@ -8,13 +8,13 @@ # -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 "\#") -export CFLAGS -export AFLAGS +export EXTRA_CFLAGS export BIG_ENDIAN subdir-y := lib