Commit 265444a0 authored by Cao jin's avatar Cao jin Committed by Masahiro Yamada

c6x/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE

As kbuild document & commit 6588169d says: KBUILD_CFLAGS_MODULE is
used to add arch-specific options for $(CC). From commandline,
CFLAGS_MODULE shall be used.
Doesn't have any functional change, but just follow kbuild rules.
Signed-off-by: default avatarCao jin <caoj.fnst@cn.fujitsu.com>
CC: Mark Salter <msalter@redhat.com>
CC: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
CC: linux-c6x-dev@linux-c6x.org
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 336303ae
...@@ -12,7 +12,7 @@ cflags-y += -mno-dsbt -msdata=none -D__linux__ ...@@ -12,7 +12,7 @@ cflags-y += -mno-dsbt -msdata=none -D__linux__
cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls cflags-$(CONFIG_C6X_BIG_KERNEL) += -mlong-calls
CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none KBUILD_CFLAGS_MODULE += -mlong-calls -mno-dsbt -msdata=none
CHECKFLAGS += CHECKFLAGS +=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment