[poky] Re : Building sysroot for SDK

Patrick kpa_info at yahoo.fr
Tue Feb 14 02:01:14 PST 2012




>Patrick wrote on 2012-02-14:
>> Dear list,
>> 
>> I use poky 6.0 to build a complete rootfs for my own target, it's
>> working nicely !Now I would like to build a small application SDK for my
>> system.
>> 
>>
 I have red carefully the ADT manual and decided to build a toolchain 
with meta-toolchain. The toolchain generated works properly but some
>> libraries and headers are missing.
>>
 For example my target use SQLite built in the rootfs. The sqlite 
library and the headers files are missing in the toolchain.
>> 
>>
 I would like to know how to build the sysroot to add those files in the
 toolchain or how to add it directly to the toolchain.
>> 
>Hi Patrick,
>
>If
 you want to add more packages into the sysroot built by meta-toolchain,
 you may add your extra packages(i.e. libsqlite3-dev) into the variable 
"TOOLCHAIN_TARGET_TASK".  
>Meta/recipes-core/meta/meta-toolchain-gmae.bb might be an example of
 how to add more packages into the target sysroot.
>
>Best Regards,
>Lianhao
>

Hi Lianhao,

Thanks for your help ! I have created my own meta-toolchain based on meta-toolchain-gmae.bb and it's work nicely.
However, there remains a small problem. My own meta-toolchain-perso.bb file is stored in my own layer meta-perso.
To include the meta-toolchain.bb with require I need to use the full 
path to the meta layer: require 
../../../meta/recipes-core/meta/meta-toolchain.bb
This is not really clean, do you know how to point the meta-toolchain.bb file without using the full path ?

Thanks again for your help

Patrick



More information about the poky mailing list