X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fxtensa%2Fboot%2FMakefile;h=40aa55b485be91747ebc401f5d5d4047ce71aa11;hb=b424e8d3b438e841cd1700f6433a100a5d611e4a;hp=820b31d10ae419c60258d7cee7f34a572b2e1e5d;hpb=1d492eb41371d9a5145651e8eb64bea1042a4057;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