diff options
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 6c2d539cd22b..35e56c99ad1d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -14,9 +14,9 @@ LDFLAGS_vmlinux :=-p --no-undefined -X | |||
14 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) | 14 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) |
15 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S | 15 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S |
16 | GZFLAGS :=-9 | 16 | GZFLAGS :=-9 |
17 | #CFLAGS +=-pipe | 17 | #KBUILD_CFLAGS +=-pipe |
18 | # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: | 18 | # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: |
19 | CFLAGS +=$(call cc-option,-marm,) | 19 | KBUILD_CFLAGS +=$(call cc-option,-marm,) |
20 | 20 | ||
21 | # Do not use arch/arm/defconfig - it's always outdated. | 21 | # Do not use arch/arm/defconfig - it's always outdated. |
22 | # Select a platform tht is kept up-to-date | 22 | # Select a platform tht is kept up-to-date |
@@ -28,15 +28,15 @@ MMUEXT := -nommu | |||
28 | endif | 28 | endif |
29 | 29 | ||
30 | ifeq ($(CONFIG_FRAME_POINTER),y) | 30 | ifeq ($(CONFIG_FRAME_POINTER),y) |
31 | CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog | 31 | 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 |
@@ -85,8 +85,8 @@ CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-th | |||
85 | endif | 85 | endif |
86 | 86 | ||
87 | # Need -Uarm for gcc < 3.x | 87 | # Need -Uarm for gcc < 3.x |
88 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm | 88 | KBUILD_CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm |
89 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float | 89 | KBUILD_AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |
90 | 90 | ||
91 | CHECKFLAGS += -D__arm__ | 91 | CHECKFLAGS += -D__arm__ |
92 | 92 | ||