【发布时间】:2018-01-16 07:18:26
【问题描述】:
我喜欢为我的 RPI2 + 定制板删除一些未使用的驱动程序。为此,我正在通过以下方式创建自己的配置:
bitbake linux-raspberrypi -c menuconfig
并将新的内核预设保存到文件defconfig。
在此之后,我为 linux-raspberryp 配方创建了一个附加文件。
所以我创建了文件
linux-raspberrypi%.bbappend
并填写:
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:"
SRC_URI += "file://defconfig"
PACKAGE_ARCH = "raspberrypi2"
我把defconfig文件放到:
<meta-mylayer>/recipes-kernel/linux/linux-raspberrypi/raspberrypi2/defconfig
通过以下方式重新编译内核时:
bitbake linux-raspberrypi -c clean
bitbake linux-raspberrypi
采用标准 RPI2 配置。
知道如何解决这个问题吗? 我正在研究 meta-raspberrypi 和 yocto 的“实际”pyro 分支。
【问题讨论】:
标签: linux linux-kernel raspberry-pi yocto