Kconfig:'endmenu' in different file than 'menu'

问题描述:

Kconfig:'endmenu' in different file than 'menu'_第1张图片
heat@ubuntu:~/AM5728_update/u-boot-2017.01-g70d59ba-v2.0$ make ARCH=arm menuconfig
scripts/kconfig/mconf Kconfig
drivers/watchdog/Kconfig:28: ‘endmenu’ in different file than ‘menu’
drivers/watchdog/Kconfig:1: location of the ‘menu’
drivers/Kconfig:101: ‘endmenu’ in different file than ‘menu’
drivers/watchdog/Kconfig:1: location of the ‘menu’
scripts/kconfig/Makefile:37: recipe for target ‘menuconfig’ failed
make[1]: *** [menuconfig] Error 1
Makefile:478: recipe for target ‘menuconfig’ failed
make: *** [menuconfig] Error 2

解决办法:

在“endmenu”后面必须要有一个空行。

你可能感兴趣的:(Linux基础)