Musl C库不起作用Yocto项目



我正在使用 yocto project 来为我的 sama> sama5d27 som1 som1 board 构建Linux内核。我正在尝试减小已发布的内核的大小,因此我将Sysvinit替换为 busybox Init ,现在我试图用 musl c库

在我的poky目录下,我使用以下方式克隆元 - 穆斯尔层。

git clone git://github.com/kraj/meta-musl.git

我将该图层添加到bblayers.conf,还将TCLIBC = "musl"添加到local.conf我初始化了环境,然后运行bitbake core-image-minimal

我有这些错误:

错误: systemd-1_237-r0 do_compile:功能失败:do_compile(log( 文件位于 /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-poky-poky-linux-musleabi/systemd/1_237-r0/tem/temp/temp/log..do_compile.6846(

错误:存储在以下位置的失败的日志文件 /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-poky-poky-linux-musleabi/systemd/1_237-r0/tem/temp/temp/log..do_compile.6846

6846

错误:任务 (/home/gaston/linux4sam/poky/meta/recipes-core/systemd/systemd/systemd_237.bb:do_compile( 出口代码'1'

失败

您能帮我吗?

我可能错了,但是在将musl集成到项目中之前,meta-musl是为Yocto制造的。

您可以看到元层已经4年没有更新。只需将TCLIBC = "musl"添加到项目的配置中,然后使用Yocto中可用的内容。

最新更新