Error: You must add new CONFIG options using Kconfig

u-boot編譯錯誤

Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_ADC
Please add these via Kconfig instead. Find a suitable Kconfig
file and add a ‘config’ or ‘menuconfig’ option.

解決方案

在u-boot/scripts/config_whitelist.txt中增加新檢測到的config. “CONFIG_ADC”。
注意根據字母排序順序加入正確的位置。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章