summaryrefslogtreecommitdiff
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-19 12:01:27 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-25 20:01:26 +0300
commitc0152e9a6b4484b44e77e0cc49c6c3b2e3417782 (patch)
tree4cee7172a5395528a132df32a04a6abacf4a002e /scripts/Makefile.build
parentfe852ac200311bcbbb0a8c84096e4cd44ea623d9 (diff)
downloadlinux-c0152e9a6b4484b44e77e0cc49c6c3b2e3417782.tar.xz
kbuild: move modname and modname-multi close to modname_flags
Just a cosmetic change to put related code close together. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r--scripts/Makefile.build2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index f5858f609210..93d05e30bdb1 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -131,8 +131,6 @@ $(real-objs-m:.o=.lst): quiet_modtag := [M]
$(obj-m) : quiet_modtag := [M]
-modname = $(if $(modname-multi),$(modname-multi),$(basetarget))
-
quiet_cmd_cc_s_c = CC $(quiet_modtag) $@
cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $<