2017-07-26 175 views
0

我想使用yocto中的multilib功能在packagegroup recipe中将一些应用程序构建为只有32位。这意味着只有32位软件包是该软件包组的一部分,应放置在映像中。使用multilib的yocto 32位软件包

我可以用bitbake的lib32-packagegroup-name.bb从这个packagegroup创建32个程序包,但在这个packagegroup的包还在建为64位,当我试图建立图像

芯 - bitbake的sato-image.bb

请让我知道所需的更改?

感谢

回答

1

multilib的example.conf(从Github - OpenEmbedded):

# 
# Sample multilib configuration which the user can either add in local.conf 
# or specific in an configuration file like this, then require it. 
# 
# This configuration specifies an x86 64 bit machine as the main machine 
# type and then adds a multilib in the "lib32" directory where those 
# libraries are compiled with the "x86" tune. 
# 

MACHINE = "qemux86-64" 
require conf/multilib.conf 
MULTILIBS = "multilib:lib32" 
DEFAULTTUNE_virtclass-multilib-lib32 = "x86" 

您还需要激活32位支持的内核配置。 Xilinx也有创建mulitlib映像的例子,我认为这是一个很好的参考:http://www.wiki.xilinx.com/Creating+a+multilib+image+for+the+ZCU102+using+Yocto

相关问题