projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265444a
)
hexagon/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE
author
Cao jin
<
[email protected]
>
Mon, 9 Oct 2017 07:11:47 +0000
(15:11 +0800)
committer
Masahiro Yamada
<
[email protected]
>
Mon, 30 Oct 2017 15:38:53 +0000
(
00:38
+0900)
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 <
[email protected]
>
CC:
[email protected]
Acked-by: Richard Kuo <
[email protected]
>
Signed-off-by: Masahiro Yamada <
[email protected]
>
arch/hexagon/Makefile
patch
|
blob
|
history
diff --git
a/arch/hexagon/Makefile
b/arch/hexagon/Makefile
index 207711a0fd0c3a63220675a3752b636a33f6e762..4f5c84c4bbb47b6cb3f85041e4b3d8974b3bcf7e 100644
(file)
--- a/
arch/hexagon/Makefile
+++ b/
arch/hexagon/Makefile
@@
-11,9
+11,9
@@
KBUILD_CFLAGS += -fno-short-enums
# Modules must use either long-calls, or use pic/plt.
# Use long-calls for now, it's easier. And faster.
-# CFLAGS_MODULE += -fPIC
-# LDFLAGS_MODULE += -shared
-CFLAGS_MODULE += -mlong-calls
+#
KBUILD_
CFLAGS_MODULE += -fPIC
+#
KBUILD_
LDFLAGS_MODULE += -shared
+
KBUILD_
CFLAGS_MODULE += -mlong-calls
cflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
aflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})