这次遇到的问题:我在uboot源码的include/configs/xxxx.h中添加了几个CONFIG宏,并在lowlevel_init.S中使用,编译导致的报错:
Error:You must add new CONFIG options using Kconfig
解决方法:
在u-boot/scripts/config_whitelist.txt中增加新添加的config。 “CONFIG_xxx”。
注意根据字母排序顺序加入正确的位置。
这次遇到的问题:我在uboot源码的include/configs/xxxx.h中添加了几个CONFIG宏,并在lowlevel_init.S中使用,编译导致的报错:
Error:You must add new CONFIG options using Kconfig
解决方法:
在u-boot/scripts/config_whitelist.txt中增加新添加的config。 “CONFIG_xxx”。
注意根据字母排序顺序加入正确的位置。