【发布时间】:2019-10-13 04:42:47
【问题描述】:
我正在尝试使用 buildroot 为 raspberrypi 3 生成自定义图像。我有一个用于 Buildroot 选项的自定义 .config,我在其中提供了位于 /boards/raspberrypi3/linux.config 中的 BR2_KERNEL_CUSTOM_CONFIG_FILE 的路径
但是在构建的补丁阶段我发现以下错误:
for f in boards/raspberrypi3/.config ; do
if [ ! -f "${f}" ]; then
printf "Kconfig fragment '%s' for '%s' does not exist\n" "${f}" "linux";
exit 1;
fi;
done
Kconfig 片段
'boards/raspberrypi3/linux.config' for 'linux' does not exist
linux/linux.mk:555: recipe for target 'boards/raspberrypi3/.config' failed
当我只使用 buildroot 的 .config 而没有任何自定义 Linux 内核配置的路径(使用 menuconfig 中的默认内核)时,一切正常。
【问题讨论】:
-
请将代码/错误和纯文本分开,参考:stackoverflow.com/editing-help
标签: linux raspberry-pi kernel config buildroot