diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2017-10-09 15:11:46 +0800 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-31 00:37:12 +0900 |
commit | 265444a008ae4451f69a24efda7b3f542cb30f7d (patch) | |
tree | c5aac03b739e3bc26c794f7e25001bfe98e186c5 | |
parent | 336303ae7fad4a491290a800547b3fde80ac8865 (diff) | |
download | linux-265444a008ae4451f69a24efda7b3f542cb30f7d.tar.gz linux-265444a008ae4451f69a24efda7b3f542cb30f7d.tar.bz2 linux-265444a008ae4451f69a24efda7b3f542cb30f7d.zip |
c6x/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE
As kbuild document & commit 6588169d51 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: Cao 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: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/c6x/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/c6x/Makefile b/arch/c6x/Makefile index 6b0be670ddfa..6f6096ff05a4 100644 --- a/arch/c6x/Makefile +++ b/arch/c6x/Makefile @@ -12,7 +12,7 @@ cflags-y += -mno-dsbt -msdata=none -D__linux__ 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 += |