我正在使用yocto 项目为我的sama5d27 som1 board构建 linux 内核。我正在尝试减小已发布内核的大小,因此我将 sysVinit 替换为busybox init,现在我正在尝试将 gClibrary 替换为musl C library。
在我的 Poky 目录下,我使用以下方法克隆了 meta-musl 层:
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(日志文件位于 /home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237- r0/temp/log.do_compile.6846)
错误:故障日志文件存储在:/home/gaston/linux4sam/poky/build-microchip/tmp/work/cortexa5t2hf-neon-poky-linux-musleabi/systemd/1_237-r0/temp/log.do_compile.6846
错误:任务(/home/gaston/linux4sam/poky/meta/recipes-core/systemd/systemd_237.bb:do_compile)失败,退出代码为“1”
你能帮帮我吗?