在我的 rootfs 中,我需要 musl 支持。我通过添加以下内容在我的 local.conf 中添加了 musl:
TCLIBC = "musl"
IMAGE_INSTALL_append = " musl"
构建核心图像完整命令行。我收到以下错误:
+++
make[4]: 离开目录'/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky -linux-musl/gas/po'
Makefile:1260: 目标“全递归”的配方失败
make[3]: *** [all-recursive] 错误 1
make[3]: 离开目录 '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky -linux-musl/gas'
Makefile:808: 目标“全部”的配方失败
make[2]: *** [all] 错误 2
make[2]: 离开目录 '/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky -linux-musl/gas'
Makefile:4865:目标“全气体”的配方失败
make[1]: *** [all-gas] 错误 2
make[1]: 离开目录'/home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/git/build.x86_64-linux.x86_64-poky -linux-musl'
Makefile:849:目标“全部”的配方失败
make: *** [全部] 错误 2
错误:oe_runmake 失败
警告:从 shell 命令退出代码 1。
错误:函数失败:do_compile(日志文件位于 /home/user/yocto/poky_thud/build/tmp/work/x86_64-linux/binutils-cross-x86_64/2.31.1-r0/temp/log.do_compile.19779 )
+++
这种方法构建musl是否错误?提前谢谢