From: Bryan Wu Date: Mon, 22 Oct 2007 02:46:21 +0000 (+0800) Subject: Blackfin arch: use KBUILD_CFLAGS and KBUILD_AFLAGS in Makefile X-Git-Tag: v2.6.24-rc1~58^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38f668e8f78c6699c705f7a1f4866ed03a93e4cf;p=linux-2.6 Blackfin arch: use KBUILD_CFLAGS and KBUILD_AFLAGS in Makefile Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 3c87291bcd..f7cac7c51e 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=_