diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index b762d235b81a..0d450e757e0e 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -32,11 +32,11 @@ KBUILD_CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog | |||
32 | endif | 32 | endif |
33 | 33 | ||
34 | ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) | 34 | ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) |
35 | CPPFLAGS += -mbig-endian | 35 | KBUILD_CPPFLAGS += -mbig-endian |
36 | AS += -EB | 36 | AS += -EB |
37 | LD += -EB | 37 | LD += -EB |
38 | else | 38 | else |
39 | CPPFLAGS += -mlittle-endian | 39 | KBUILD_CPPFLAGS += -mlittle-endian |
40 | AS += -EL | 40 | AS += -EL |
41 | LD += -EL | 41 | LD += -EL |
42 | endif | 42 | endif |