diff options
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/boot/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/xtensa/boot/Makefile b/arch/xtensa/boot/Makefile index 820b31d10ae4..9c5185f605b6 100644 --- a/arch/xtensa/boot/Makefile +++ b/arch/xtensa/boot/Makefile | |||
@@ -8,13 +8,12 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | 10 | ||
11 | CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include | 11 | EXTRA_CFLAGS += -fno-builtin -Iarch/$(ARCH)/boot/include |
12 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include | 12 | HOSTFLAGS += -Iarch/$(ARCH)/boot/include |
13 | 13 | ||
14 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") | 14 | BIG_ENDIAN := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#") |
15 | 15 | ||
16 | export CFLAGS | 16 | export EXTRA_CFLAGS |
17 | export AFLAGS | ||
18 | export BIG_ENDIAN | 17 | export BIG_ENDIAN |
19 | 18 | ||
20 | subdir-y := lib | 19 | subdir-y := lib |