diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -360,7 +360,7 @@ scripts/basic/%: scripts_basic ; | |||
360 | 360 | ||
361 | # This target generates Kbuild's and Config.in's from *.c files | 361 | # This target generates Kbuild's and Config.in's from *.c files |
362 | PHONY += gen_build_files | 362 | PHONY += gen_build_files |
363 | gen_build_files: | 363 | gen_build_files: $(wildcard $(srctree)/*/*.c) $(wildcard $(srctree)/*/*/*.c) |
364 | $(Q)$(srctree)/scripts/gen_build_files.sh $(srctree) $(objtree) | 364 | $(Q)$(srctree)/scripts/gen_build_files.sh $(srctree) $(objtree) |
365 | 365 | ||
366 | # bbox: we have helpers in applets/ | 366 | # bbox: we have helpers in applets/ |
@@ -509,7 +509,7 @@ include $(srctree)/Makefile.flags | |||
509 | # with it and forgot to run make oldconfig. | 509 | # with it and forgot to run make oldconfig. |
510 | # If kconfig.d is missing then we are probarly in a cleaned tree so | 510 | # If kconfig.d is missing then we are probarly in a cleaned tree so |
511 | # we execute the config step to be sure to catch updated Kconfig files | 511 | # we execute the config step to be sure to catch updated Kconfig files |
512 | include/autoconf.h: .kconfig.d .config | gen_build_files | 512 | include/autoconf.h: .kconfig.d .config $(wildcard $(srctree)/*/*.c) $(wildcard $(srctree)/*/*/*.c) | gen_build_files |
513 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig | 513 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig |
514 | 514 | ||
515 | else | 515 | else |