uboot编译错误记录

1. Error: You must add new CONFIG options using Kconfig

背景:同事新拉代码下来时,发现编译报错:Error: You must add new CONFIG options using Kconfig
解决办法:u-boot/scripts/config_whitelist.txt中增加新检测到的config。

疑惑:报错的CONFIG很久之前就存在了,检查发现我们本地的代码中config_whitelist.txt也没有该CONFIG,但编译都能跑通;而同事在config_whitelist.txt增加了COFNIG后也能编译过了,很奇怪,目前找不到原因。

参考资料

  1. Error: You must add new CONFIG options using Kconfig
posted @ 2022-05-09 10:53  Dreamer-L  阅读(187)  评论(0编辑  收藏  举报