summaryrefslogtreecommitdiffstats
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
parentda27abb79970e80904818e3866703ed02953a174 (diff)
downloadop-kernel-dev-38f668e8f78c6699c705f7a1f4866ed03a93e4cf.zip
op-kernel-dev-38f668e8f78c6699c705f7a1f4866ed03a93e4cf.tar.gz
Blackfin arch: use KBUILD_CFLAGS and KBUILD_AFLAGS in Makefile
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
-rw-r--r--arch/blackfin/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
index 3c87291..f7cac7c 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=_
OpenPOWER on IntegriCloud