[poky] Re : Re : Building sysroot for SDK

David Nyström david.nystrom at enea.com
Thu Feb 16 06:13:36 PST 2012


On 02/14/2012 11:12 AM, Patrick wrote:
>
>>> 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
> I answer myself to my question:
> I used a meta-toolchain.bbappend file placed in my own layer. This file append the libqlite3-dev package to the TOOLCHAIN_TARGET_TASK.
> This works fine !
>
> Patrick
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
Hi,

Should you not also be able to use your favourite package manager 
included in the toolchain tarball for this ?
opkg-cl -f /opt/poky/1.1/sysroots/ppce500mc-enea-linux/etc/opkg.conf 
--offline-root /opt/poky/1.1/sysroots/ppce500mc-enea-linux/ update
opkg-cl -f /opt/poky/1.1/sysroots/ppce500mc-enea-linux/etc/opkg.conf 
--offline-root /opt/poky/1.1/sysroots/ppce500mc-enea-linux/ install 
libsqlite3-dev





More information about the poky mailing list