在Yocto中填充_sdk时如何排除包

在Yocto中填充_sdk时如何排除包,yocto,bitbake,Yocto,Bitbake,我有一个Yocto bitbake图像配方,可以成功构建 但是,使用-c populate_SDK命令生成SDK时,相同的映像配方失败 该错误似乎是由混合使用32位和64位版本的库引起的,这在仅使用二进制文件构建映像时很好,但在填充SDK根fs时,头文件会相互冲突: Running transaction check Transaction check succeeded. Running transaction test Error: Transaction check error: fi

我有一个Yocto bitbake图像配方,可以成功构建

但是,使用
-c populate_SDK
命令生成SDK时,相同的映像配方失败

该错误似乎是由混合使用32位和64位版本的库引起的,这在仅使用二进制文件构建映像时很好,但在填充SDK根fs时,头文件会相互冲突:

Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /usr/bin/curl-config from install of lib32-curl-dev-7.53.1-r0.cortexa7hf_neon_vfpv4 conflicts with file from package curl-dev-7.53.1-r0.aarch64
  file /usr/include/nettle/version.h from install of lib32-nettle-dev-3.3-r0.cortexa7hf_neon_vfpv4 conflicts with file from package nettle-dev-3.3-r0.aarch64
  file /usr/include/nettle/nettle-stdint.h from install of lib32-nettle-dev-3.3-r0.cortexa7hf_neon_vfpv4 conflicts with file from package nettle-dev-3.3-r0.aarch64
在执行
-c populate_sdk
时,排除32位版本的库(配方)的最佳方法是什么,而不将它们完全从生产映像中排除