2017-07-26 177 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

相關問題