[poky] Extending meta-toolchain-sdk

Saul Wold saul.wold at intel.com
Tue Nov 2 20:47:17 PDT 2010


On 11/02/2010 06:36 PM, Cui, Dexuan wrote:
> Mike Detwiler wrote:
>> I have run 'bitbake meta-toolchain-sdk' and installed the tarball that
>> it generates. However, I found that the sdk did not contain all the
>> third-party libraries that I would like it to have. For example, the
>> application I'm developing has a dependency on libgmp. I notice that
>> there are bitbake files for gmp in meta/recipes-support/gmp. Is there
>> a simple way (e.g. in build/conf/local.conf) to have this added to the
>> list of libraries that are included in the sdk?
>> -Mike
>
> Hi Mike,
> Can you please try the patch below?
>
Mike, Dexuan:

A better way to do this is to define SDK-EXTRAs in the local.conf file:

SDK-EXTRAS += "libgmp"

That should do the trick.

Sau!


> Thanks,
> -- Dexuan
>
> ------------------------------------------------------------------------
>
> diff --git a/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb b/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
> index b853ffc..3acb3ec 100644
> --- a/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
> +++ b/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
> @@ -4,7 +4,7 @@
>
>   DESCRIPTON = "Gnome Mobile And Embedded Software Development Kit for OpenedHand Poky"
>   LICENSE = "MIT"
> -PR = "r8"
> +PR = "r9"
>
>   ALLOW_EMPTY = "1"
>
> diff --git a/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb b/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
> index 005d33b..70f5040 100644
> --- a/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
> +++ b/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
> @@ -4,7 +4,7 @@
>
>   DESCRIPTON = "Gnome Mobile And Embedded Software Development Kit for OpenedHand Poky"
>   LICENSE = "MIT"
> -PR = "r11"
> +PR = "r12"
>
>   ALLOW_EMPTY = "1"
>
> diff --git a/meta/recipes-gnome/tasks/task-sdk-gmae.inc b/meta/recipes-gnome/tasks/task-sdk-gmae.inc
> index 11505ce..32ad49c 100644
> --- a/meta/recipes-gnome/tasks/task-sdk-gmae.inc
> +++ b/meta/recipes-gnome/tasks/task-sdk-gmae.inc
> @@ -12,6 +12,7 @@ SDK-GMAE = " \
>       libebook-dev \
>       libxi-dev \
>       libsqlite3-dev \
> +    gmp-dev \
>       "
>
>   # TODO: gvfs-dev, mission-control
> _______________________________________________
> poky mailing list
> poky at pokylinux.org
> https://lists.pokylinux.org/listinfo/poky
>




More information about the poky mailing list