From: "David Nyström" <david.nystrom@enea.com>
To: <poky@yoctoproject.org>
Subject: Re: Re : Re : Building sysroot for SDK
Date: Thu, 16 Feb 2012 15:13:36 +0100 [thread overview]
Message-ID: <4F3D0F10.3070902@enea.com> (raw)
In-Reply-To: <1329214323.96557.YahooMailNeo@web29011.mail.ird.yahoo.com>
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@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
prev parent reply other threads:[~2012-02-16 14:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 8:46 Building sysroot for SDK Patrick
2012-02-14 9:29 ` Lu, Lianhao
2012-02-14 10:01 ` Re : " Patrick
2012-02-14 10:12 ` Re : " Patrick
2012-02-16 14:13 ` David Nyström [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F3D0F10.3070902@enea.com \
--to=david.nystrom@enea.com \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.