summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-29 12:13:24 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 23:09:34 +0900
commit60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de (patch)
tree2fb422b14d1dcc32e4eaed5a6b22179514fe4729 /scripts/Makefile
parent65bba0423ecf89fb291d2269e0087707888a1cef (diff)
downloadlinux-60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de.tar.bz2
kbuild: move modpost out of 'scripts' target
I am eagar to build under the scripts/ directory only with $(HOSTCC), but scripts/mod/ highly depends on the $(CC) and target arch headers. That it why the 'scripts' target must depend on 'asm-generic', 'gcc-plugins', and $(autoksyms_h). Move it to the 'prepare0' stage. I know this is a cheesy workaround, but better than the current situation. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index ece52ff20171..b48259d30280 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -37,9 +37,8 @@ build_unifdef: $(obj)/unifdef
@:
subdir-$(CONFIG_MODVERSIONS) += genksyms
-subdir-y += mod
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_GDB_SCRIPTS) += gdb
# Let clean descend into subdirs
-subdir- += basic dtc kconfig package gcc-plugins
+subdir- += basic dtc kconfig mod package gcc-plugins