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>
This commit is contained in:
parent
ed3cd4a865
commit
21f0b311c6
|
@ -80,8 +80,8 @@ ORIG_CFLAGS := $(KBUILD_CFLAGS)
|
||||||
KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
|
KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_CFLAGS := -fpic -fno-builtin
|
ccflags-y := -fpic -fno-builtin
|
||||||
EXTRA_AFLAGS := -Wa,-march=all
|
asflags-y := -Wa,-march=all
|
||||||
|
|
||||||
# Supply ZRELADDR to the decompressor via a linker symbol.
|
# Supply ZRELADDR to the decompressor via a linker symbol.
|
||||||
ifneq ($(CONFIG_AUTO_ZRELADDR),y)
|
ifneq ($(CONFIG_AUTO_ZRELADDR),y)
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
# Copyright (C) 2001 ARM Limited
|
# Copyright (C) 2001 ARM Limited
|
||||||
#
|
#
|
||||||
|
|
||||||
# EXTRA_CFLAGS := -DDEBUG
|
# ccflags-y := -DDEBUG
|
||||||
# EXTRA_AFLAGS := -DDEBUG
|
# asflags-y := -DDEBUG
|
||||||
|
|
||||||
KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp)
|
KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp)
|
||||||
LDFLAGS +=--no-warn-mismatch
|
LDFLAGS +=--no-warn-mismatch
|
||||||
|
|
Loading…
Reference in New Issue