All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Jonathan Liu <net147@gmail.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] gdb-cross-canadian: use PACKAGECONFIG for python and readline
Date: Sat, 26 Mar 2016 22:46:51 +0000	[thread overview]
Message-ID: <1459032411.21672.1.camel@linuxfoundation.org> (raw)
In-Reply-To: <1458905600-21185-1-git-send-email-net147@gmail.com>

On Fri, 2016-03-25 at 22:33 +1100, Jonathan Liu wrote:
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
>  meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> index ae97759..6e42af1 100644
> --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
> @@ -5,15 +5,17 @@ SUMMARY = "GNU debugger (cross-canadian gdb for
> ${TARGET_ARCH} target)"
>  PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>  BPN = "gdb"
>  
> -DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext
> nativesdk-readline nativesdk-python \
> +DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \
>             virtual/${HOST_PREFIX}gcc-crosssdk
> virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk
> -${HOST_PREFIX}libc-for-gcc"
>  
> -RDEPENDS_${PN} += "nativesdk-python-core nativesdk-python-lang
> nativesdk-python-re \
> -                   nativesdk-python-codecs nativesdk-python
> -netclient"
> -
>  GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
>  
> -EXTRA_OECONF_append = " --with-python=${WORKDIR}/python"
> +# Overrides PACKAGECONFIG variables in gdb-common.inc
> +PACKAGECONFIG ??= "python readline"
> +PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without
> -python,nativesdk-python, \
> +                         nativesdk-python-core nativesdk-python-lang
> nativesdk-python-re \
> +                         nativesdk-python-codecs nativesdk-python
> -netclient"
> +PACKAGECONFIG[readline] = "--with-system-readline,--without-system
> -readline,nativesdk-readline"
>  
>  SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb"

Sadly this breaks multilib tests on the autobuilder:

https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/bui
lds/719/steps/BuildImages/logs/stdio

I'll have to remove this from the queue until we can figure out a
fix...

Cheers,

Richard


  reply	other threads:[~2016-03-26 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 11:33 [PATCH] gdb-cross-canadian: use PACKAGECONFIG for python and readline Jonathan Liu
2016-03-26 22:46 ` Richard Purdie [this message]
2016-03-27  0:45   ` Jonathan Liu

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=1459032411.21672.1.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=net147@gmail.com \
    --cc=openembedded-core@lists.openembedded.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.