rockpi4b rk3399 u-boot的next-dev分支编译失败

1 篇文章 0 订阅
1 篇文章 0 订阅

报错信息

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值