diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 09:12:26 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 09:02:55 -0400 |
commit | 21f0b311c6c08db6b15fd6299fe6601fec60eeb5 (patch) | |
tree | ffe8e51ec6162b0b65de1f16ecfbf10da7c8d390 | |
parent | ed3cd4a86562eee79de25b567a00e648cc3dc2bf (diff) |
arm: change to new flag variables
Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/vfp/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 0a8f748e506a..0a53b8aa2e3d 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -80,8 +80,8 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS) | |||
80 | KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) | 80 | KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) |
81 | endif | 81 | endif |
82 | 82 | ||
83 | EXTRA_CFLAGS := -fpic -fno-builtin | 83 | ccflags-y := -fpic -fno-builtin |
84 | EXTRA_AFLAGS := -Wa,-march=all | 84 | asflags-y := -Wa,-march=all |
85 | 85 | ||
86 | # Supply ZRELADDR to the decompressor via a linker symbol. | 86 | # Supply ZRELADDR to the decompressor via a linker symbol. |
87 | ifneq ($(CONFIG_AUTO_ZRELADDR),y) | 87 | ifneq ($(CONFIG_AUTO_ZRELADDR),y) |
diff --git a/arch/arm/vfp/Makefile b/arch/arm/vfp/Makefile index 39f6d8e1af73..6de73aab0195 100644 --- a/arch/arm/vfp/Makefile +++ b/arch/arm/vfp/Makefile | |||
@@ -4,8 +4,8 @@ | |||
4 | # Copyright (C) 2001 ARM Limited | 4 | # Copyright (C) 2001 ARM Limited |
5 | # | 5 | # |
6 | 6 | ||
7 | # EXTRA_CFLAGS := -DDEBUG | 7 | # ccflags-y := -DDEBUG |
8 | # EXTRA_AFLAGS := -DDEBUG | 8 | # asflags-y := -DDEBUG |
9 | 9 | ||
10 | KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp) | 10 | KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp) |
11 | LDFLAGS +=--no-warn-mismatch | 11 | LDFLAGS +=--no-warn-mismatch |