Fix build problem after Kconfig file change

conf --silentoldconfig generates required autoconf.h file
but when invoked on modified Kconfig it will ask for user
input which breaks the build. To automatically regenerate
config structure and then autogenerate headers run
config --olddefconfig first.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: If7f7653c80cc0c5c0d84015b8e50fcb66568d00a
This commit is contained in:
Zbigniew Bodek 2020-09-14 20:52:52 +08:00 committed by Wojciech Zmuda WX948747
parent 0b2ac37c07
commit 647f91af7b
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ menuconfig:$(MENUCONFIG_PATH)/mconf
genconfig:$(MENUCONFIG_PATH)/conf
$(HIDE)mkdir -p include/config include/generated
$< --olddefconfig $(KCONFIG_FILE_PATH)
$< --silentoldconfig $(KCONFIG_FILE_PATH)
-mv -f $(LITEOS_MENUCONFIG_H) $(LITEOS_PLATFORM_MENUCONFIG_H)
##### menuconfig end #######