On Thu, Aug 20, 2020 at 8:51 AM Bjarne Michelsen via
lists.openembedded.org
<bjarne_michelsen=hotmail....@lists.openembedded.org> wrote:
>
> Allows usage of asio for native packages

Comment should explain why.

> Signed-off-by: Bjarne Michelsen <bjarne_michel...@hotmail.com>
> ---
>  meta-oe/recipes-support/asio/asio_1.16.1.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta-oe/recipes-support/asio/asio_1.16.1.bb 
> b/meta-oe/recipes-support/asio/asio_1.16.1.bb
> index f381d12fb..dfc3b798d 100644
> --- a/meta-oe/recipes-support/asio/asio_1.16.1.bb
> +++ b/meta-oe/recipes-support/asio/asio_1.16.1.bb
> @@ -25,3 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
>  PACKAGECONFIG ??= "boost"
>
>  PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
> +
> +BBCLASSEXTEND += "native nativesdk"

By convention BBCLASSEXTEND should go at the end of the recipe and
assignment should be = rather than +=.

> +
> +EXTRA_OECONF_class-native += "--with-boost=${STAGING_LIBDIR_NATIVE}"

Don't use += with an override. It doesn't do what you expect.

If you want to append to a variable under the control of an override
then use _append.

> --
> 2.25.1
>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141676): 
https://lists.openembedded.org/g/openembedded-core/message/141676
Mute This Topic: https://lists.openembedded.org/mt/76310921/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to