diff options
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index fa4ea9ff0797..0b82865ab506 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 .comment -S | 15 | OBJCOPYFLAGS :=-O binary -R .note -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,7 +28,7 @@ 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) |
@@ -85,7 +85,7 @@ 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 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |
90 | 90 | ||
91 | CHECKFLAGS += -D__arm__ | 91 | CHECKFLAGS += -D__arm__ |