【发布时间】:2020-10-14 06:08:24
【问题描述】:
我正在尝试编译defconfig文件bcm2711_defconfig,所以我试图将bcm2711_defconfig文件复制到内核源路径,kernel-source/arch/arm/configs/ 请让我知道如何克服错误。以下是配方文件内容。
文件名:linux-raspberrypi_4.14.bbappend
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://bcm2711_defconfig"
do_preconfigure_prepend(){
cp ${WORKDIR}/bcm2711_defconfig ${S}/arch/${ARCH}/configs/
}
KBUILD_DEFCONFIG_raspberrypi4 ?= "bcm2711_defconfig""
构建错误:
ERROR: linux-raspberrypi-1_4.14.68+gitAUTOINC+8c8666ff6c-r0 do_kernel_metadata: A KBUILD_DECONFIG '/bcm2711_defconfig' was specified, but not present in the source tree
【问题讨论】:
-
您尝试过以下解决方案吗?如果您的问题仍然存在,请提供更多详细信息
标签: raspberry-pi3 yocto raspberry-pi4