build system: make gen_build_files.sh run before autoconf.h generation

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-06-25 12:58:17 +02:00
parent 41ddd9f606
commit e69c5e2429

View File

@ -509,7 +509,7 @@ include $(srctree)/Makefile.flags
# with it and forgot to run make oldconfig.
# If kconfig.d is missing then we are probarly in a cleaned tree so
# we execute the config step to be sure to catch updated Kconfig files
include/autoconf.h: .kconfig.d .config
include/autoconf.h: .kconfig.d .config gen_build_files
$(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
else