aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d810d6cb4d08..1888fabe4032 100644
--- a/Makefile
+++ b/Makefile
@@ -446,7 +446,11 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
446# if auto.conf.cmd is missing then we are probarly in a cleaned tree so 446# if auto.conf.cmd is missing then we are probarly in a cleaned tree so
447# we execute the config step to be sure to catch updated Kconfig files 447# we execute the config step to be sure to catch updated Kconfig files
448include/config/auto.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd 448include/config/auto.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd
449ifeq ($(KBUILD_EXTMOD),)
449 $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig 450 $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
451else
452 $(error kernel configuration not valid - run 'make prepare' in $(srctree) to update it)
453endif
450 454
451else 455else
452# Dummy target needed, because used as prerequisite 456# Dummy target needed, because used as prerequisite