summaryrefslogtreecommitdiffstats
path: root/arch/nds32/boot/Makefile
diff options
context:
space:
mode:
authorJonas Zeiger <jonas.zeiger@talpidae.net>2020-06-03 15:34:05 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-06-06 23:41:49 +0900
commite0b250b57dcf403529081e5898a9de717f96b76b (patch)
tree48d9ae7bf2276085abbc2457bff0a50e39cd3e8b /arch/nds32/boot/Makefile
parent72d24accf02add25e08733f0ecc93cf10fcbd88c (diff)
downloadlinux-e0b250b57dcf403529081e5898a9de717f96b76b.tar.gz
linux-e0b250b57dcf403529081e5898a9de717f96b76b.tar.bz2
linux-e0b250b57dcf403529081e5898a9de717f96b76b.zip
Makefile: install modules.builtin even if CONFIG_MODULES=n
Many applications check for available kernel features via: - /proc/modules (loaded modules, present if CONFIG_MODULES=y) - $(MODLIB)/modules.builtin (builtin modules) They fail to detect features if the kernel was built with CONFIG_MODULES=n and modules.builtin isn't installed. Therefore, add the target "_builtin_inst_" and make "install" and "modules_install" depend on it. Tests results: - make install: kernel image is copied as before, modules.builtin copied - make modules_install: (CONFIG_MODULES=n) nothing is copied, exit 1 Signed-off-by: Jonas Zeiger <jonas.zeiger@talpidae.net> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/nds32/boot/Makefile')
0 files changed, 0 insertions, 0 deletions