summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-10-22 10:46:21 +0800
committerBryan Wu <bryan.wu@analog.com>2007-10-22 10:46:21 +0800
commit38f668e8f78c6699c705f7a1f4866ed03a93e4cf (patch)
tree2d20f690dcf1387ec2349e0f14ce62abb4e843cd /arch
parentda27abb79970e80904818e3866703ed02953a174 (diff)
downloadlinux-3.10-38f668e8f78c6699c705f7a1f4866ed03a93e4cf.tar.gz
linux-3.10-38f668e8f78c6699c705f7a1f4866ed03a93e4cf.tar.bz2
linux-3.10-38f668e8f78c6699c705f7a1f4866ed03a93e4cf.zip
Blackfin arch: use KBUILD_CFLAGS and KBUILD_AFLAGS in Makefile
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index 3c87291bcda..f7cac7c51e7 100644
--- a/arch/blackfin/Makefile
+++ b/arch/blackfin/Makefile
@@ -12,8 +12,8 @@ LDFLAGS_vmlinux := -X
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
GZFLAGS := -9
-CFLAGS += $(call cc-option,-mno-fdpic)
-AFLAGS += $(call cc-option,-mno-fdpic)
+KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
+KBUILD_AFLAGS += $(call cc-option,-mno-fdpic)
CFLAGS_MODULE += -mlong-calls
KALLSYMS += --symbol-prefix=_