Only build modpost when modules enabled
PATCH 1/1 Only build modpost when modules enabled
Only build modpost when CONFIG_MODULES=y.
--
Brian Gerst
scripts/Makefile +1 -1
@@ -9,7 +9,7 @@ always := $(host-progs) subdir-$(CONFIG_MODVERSIONS) += genksyms -subdir-y += mod +subdir-$(CONFIG_MODULES) += mod # Let clean descend into subdirs subdir- += basic lxdialog kconfig package
Quoted 1 line · Brian Gerst
Only build modpost when
CONFIG_MODULES=y.
Added but made all targets in scripts/Makefile depend on actual configuration. Thanks for input.
Sam