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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=38f668e8f78c6699c705f7a1f4866ed03a93e4cf;p=openwrt%2Fstaging%2Fblogic.git 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 3c87291bcdab..f7cac7c51e7e 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=_