我正在尝试使用buildroot为raspbercrypi3生成一个自定义镜像。我有一个用于Buildroot options的自定义.config,其中我提供了BR2_KERNEL_CUSTOM_CONFIG_FILE的路径,该路径位于/boards/raspbercrypi3/linux.config中
但在构建的修补阶段,我发现了以下错误:
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;
doneKconfig片段
'boards/raspberrypi3/linux.config' for 'linux' does not exist
linux/linux.mk:555: recipe for target 'boards/raspberrypi3/.config' failed当我只使用buildroot的.config,而没有任何指向自定义Linux Kernel配置的路径时(使用menuconfig中的默认内核),一切构建正常。
发布于 2019-05-28 14:31:03
您的linux配置文件的正确文件名是什么?您提到您将BR2_KERNEL_CUSTOM_CONFIG_FILE指向/boards/raspbercrypi3/linux.config(假设没有前导斜杠),但是您的输出代码片段显示了boards/raspbercrypi3/.config?
Raspbercrypi3文件的上游位置在BOARD /raspbercrypi3下(通知板而不是板)。请仔细检查
https://stackoverflow.com/questions/56328894
复制相似问题