报错信息
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_FIRMWARE
Please add these via Kconfig instead. Find a suitable Kconfig
file and add a 'config' or 'menuconfig' option.
Makefile:870: recipe for target 'all' failed
make[1]: *** [all] Error 1
Makefile:461: recipe for target '__build_one_by_one' failed
make: *** [__build_one_by_one] Error 2
原因可能是编译器的原因,解决办法:
u-boot$ git diff
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index 4c32426..e69de29 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -1,6 +0,0 @@
-config FIRMWARE
- bool
-
-config ARM_PSCI_FW
- bool
- select FIRMWARE