summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMasahiro Yamada2019-07-30 17:59:02 +0200
committerMasahiro Yamada2019-07-31 17:09:49 +0200
commita721588d9475cbbf9e8b3ae1a69b1dea88d01653 (patch)
treeb50e438b4336ac4e0ef291936b8c25c1f94ca2ef /lib
parentkbuild: modpost: remove unnecessary dependency for __modpost (diff)
downloadkernel-qcow2-linux-a721588d9475cbbf9e8b3ae1a69b1dea88d01653.tar.gz
kernel-qcow2-linux-a721588d9475cbbf9e8b3ae1a69b1dea88d01653.tar.xz
kernel-qcow2-linux-a721588d9475cbbf9e8b3ae1a69b1dea88d01653.zip
kbuild: modpost: do not parse unnecessary rules for vmlinux modpost
Since commit ff9b45c55b26 ("kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod"), 'make vmlinux' emits a warning, like this: $ make defconfig vmlinux [ snip ] LD vmlinux.o cat: modules.order: No such file or directory MODPOST vmlinux.o MODINFO modules.builtin.modinfo KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SORTEX vmlinux SYSMAP System.map When building only vmlinux, KBUILD_MODULES is not set. Hence, the modules.order is not generated. For the vmlinux modpost, it is not necessary at all. Separate scripts/Makefile.modpost for the vmlinux/modules stages. This works more efficiently because the vmlinux modpost does not need to include .*.cmd files. Fixes: ff9b45c55b26 ("kbuild: modpost: read modules.order instead of $(MODVERDIR)/*.mod") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions