Skip to content

Commit

Permalink
c6x/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE
Browse files Browse the repository at this point in the history
As kbuild document & commit 6588169 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 <[email protected]>
CC: Mark Salter <[email protected]>
CC: Aurelien Jacquiot <[email protected]>
CC: [email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Cao jin authored and masahir0y committed Oct 30, 2017
1 parent 336303a commit 265444a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/c6x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 +=

Expand Down

0 comments on commit 265444a

Please sign in to comment.