aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be462cf3cdc0..95160e5c70e8 100644
--- a/Makefile
+++ b/Makefile
@@ -439,7 +439,11 @@ ifeq ($(config-targets),1)
439include $(srctree)/arch/$(SRCARCH)/Makefile 439include $(srctree)/arch/$(SRCARCH)/Makefile
440export KBUILD_DEFCONFIG KBUILD_KCONFIG 440export KBUILD_DEFCONFIG KBUILD_KCONFIG
441 441
442config %config: scripts_basic outputmakefile FORCE 442config: scripts_basic outputmakefile FORCE
443 $(Q)mkdir -p include/linux include/config
444 $(Q)$(MAKE) $(build)=scripts/kconfig $@
445
446%config: scripts_basic outputmakefile FORCE
443 $(Q)mkdir -p include/linux include/config 447 $(Q)mkdir -p include/linux include/config
444 $(Q)$(MAKE) $(build)=scripts/kconfig $@ 448 $(Q)$(MAKE) $(build)=scripts/kconfig $@
445 449
@@ -1493,7 +1497,11 @@ endif
1493 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) 1497 $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
1494 1498
1495# Modules 1499# Modules
1496/ %/: prepare scripts FORCE 1500/: prepare scripts FORCE
1501 $(cmd_crmodverdir)
1502 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1503 $(build)=$(build-dir)
1504%/: prepare scripts FORCE
1497 $(cmd_crmodverdir) 1505 $(cmd_crmodverdir)
1498 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ 1506 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1499 $(build)=$(build-dir) 1507 $(build)=$(build-dir)