2016-12-21 63 views
0

我正在嘗試將mono添加到core-image-minimal的自定義Linux發行版P202RDB。這裏是我的bblayers.conf文件:自定義Linux發行版 - 單聲道運行時未找到

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf 
# changes incompatibly 
LCONF_VERSION = "6" 

BBPATH = "${TOPDIR}" 
BBFILES ?= "" 

BBLAYERS ?= " \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-internal \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-extra \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-mono \ 
    " 
BBLAYERS_NON_REMOVABLE ?= " \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \ 
    /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \ 
    " 

現在,當我嘗試建立使用bitbake core-image-minimal形象,我獲得以下從它的輸出:

Loading cache: 100% |##############################################################################################################| ETA: 00:00:00 
Loaded 1496 entries from dependency cache. 
NOTE: Resolving any missing task queue dependencies 

Build Configuration: 
BB_VERSION  = "1.26.0" 
BUILD_SYS   = "x86_64-linux" 
NATIVELSBSTRING = "Debian-8.6" 
TARGET_SYS  = "powerpc-fsl-linux-gnuspe" 
MACHINE   = "p2020rdb" 
DISTRO   = "fsl-qoriq" 
DISTRO_VERSION = "1.9" 
TUNE_FEATURES  = "m32 spe ppce500v2" 
TARGET_FPU  = "ppc-efd" 
meta    
meta-yocto   
meta-yocto-bsp = "(detachedfromb74ea96):ddf114933ccfc6e3ce51a10e8e8f95e514b73578" 
meta-freescale = "(detachedfrom7fb32a2):7fb32a20983a0ebd5503eb42e851550b0deb8679" 
meta-freescale-internal = "(detachedfrom220bff8):220bff8b2030e5af7393b5870d74c6f0af0d76d1" 
meta-freescale-extra = "(nobranch):ced26c806cb566b1400a2f4f26a94d8d44d13233" 
meta-mono   = "daisy:f01b4f7a98d07abcf4c1f845c057199e112fb7d6" 

NOTE: Preparing RunQueue 
NOTE: Executing SetScene Tasks 
NOTE: Executing RunQueue Tasks 
NOTE: Tasks Summary: Attempted 1248 tasks of which 1248 didn't need to be rerun and all succeeded. 

看來單庫中找到,然後我準備SD card使用此映像並在目標板上引導沒有問題,但mono命令不可用。我錯過了什麼?

+1

添加單聲道層不會將單聲道包添加到core-image-minimal。你還做了什麼來添加單聲道?添加它在你的local.conf? –

回答

2

添加

IMAGE_INSTALL_append = " mono" 

local.conf。只需添加圖層不會將任何包添加到圖像中。

更好的是,創建自己的圖像,並在該配方中添加monoIMAGE_INSTALL

+0

我這樣做,它的工作,但是,現在'bitbake'抱怨'**錯誤**:你必須安裝'libtool'來編譯單聲道.'並且**我的主機系統上安裝了libtools **(' Debian 8')。 – KernelPanic

+1

你能提供一個完整的錯誤信息的鏈接? 另一件事,你有'libtool-bin'安裝?至少在基於Debian的系統上,這是一個單獨的軟件包。 – Anders

相關問題