From: Denys Dmytriyenko <denys@ti.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH] meta-toolchain-arago: special case for gdb to be built as part of canadian-cross-sdk
Date: Tue, 13 Nov 2012 23:23:11 -0500 [thread overview]
Message-ID: <20121114042310.GG13096@edge> (raw)
In-Reply-To: <20121114041930.GA27733@denix.org>
BTW, you'll get bitbake complaining about 2 recipes providing the same gdb,
but still building everything up - we can clean that up later...
On Tue, Nov 13, 2012 at 11:19:30PM -0500, Denys Dmytriyenko wrote:
> Attached.
>
>
> On Wed, Nov 14, 2012 at 04:17:34AM +0000, Cooper Jr., Franklin wrote:
> > Please send this patch as an attachment so I can download it and test it out if you do not want to commit this. I am not setup to grab patches via email.
> >
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Maupin, Chase
> > Sent: Tuesday, November 13, 2012 10:09 PM
> > To: Dmytriyenko, Denys; meta-arago@arago-project.org
> > Subject: Re: [meta-arago] [PATCH] meta-toolchain-arago: special case for gdb to be built as part of canadian-cross-sdk
> >
> > Thank you denys. We will check for compatibility. Thanks for the quick response on this.
> >
> > Sent from my cell phone
> > ----- Reply message -----
> > From: "Dmytriyenko, Denys" <denys@ti.com<mailto:denys@ti.com>>
> > Date: Tue, Nov 13, 2012 9:59 pm
> > Subject: [meta-arago] [PATCH] meta-toolchain-arago: special case for gdb to be built as part of canadian-cross-sdk
> > To: "meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>" <meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>>
> > This provides the bare minimum to get the Python-enabled gdb-7.4 into the
> > devkit and set it up properly. We would need to test it with gdbserver-7.2 and
> > run it through OSRB...
> >
> > --
> > Denys
> >
> >
> > On Tue, Nov 13, 2012 at 10:50:12PM -0500, Denys Dmytriyenko wrote:
> > > Signed-off-by: Denys Dmytriyenko <denys@ti.com<mailto:denys@ti.com>>
> > > ---
> > > meta-arago-extras/conf/distro/include/tcmode-external-arago.inc | 4 ++++
> > > meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb | 9 ++++++++-
> > > 2 files changed, 12 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc b/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> > > index 2ed3df2..3bc0fed 100644
> > > --- a/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> > > +++ b/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> > > @@ -30,6 +30,10 @@ PREFERRED_PROVIDER_glibc-thread-db = "external-arago-toolchain"
> > > PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-arago-sdk-toolchain"
> > > PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-arago-sdk-toolchain"
> > >
> > > +# Special case for gdb to be built as part of canadian-cross-sdk
> > > +bindir_pn-gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "${exec_prefix}/bin"
> > > +PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> > > +
> > > GCCVERSION ?= "4.5%"
> > > SDKGCCVERSION ?= "4.5%"
> > > BINUVERSION ?= "2.20%"
> > > diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> > > index 1683c1f..f780385 100644
> > > --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> > > +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> > > @@ -4,7 +4,7 @@ TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}"
> > >
> > > require recipes-core/meta/meta-toolchain.bb
> > >
> > > -PR = "r7"
> > > +PR = "r8"
> > >
> > > SDKTARGETSYSROOT = "${SDKPATH}/${ARAGO_TARGET_SYS}"
> > >
> > > @@ -54,6 +54,8 @@ toolchain_create_sdk_env_script () {
> > > echo 'export OECORE_ACLOCAL_OPTS="-I $SDK_PATH/usr/share/aclocal"' >> $script
> > > echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
> > > echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
> > > + echo 'export PYTHONHOME=$SDK_PATH' >> $script
> > > + echo 'export PYTHONPATH=lib/python2.7' >> $script
> > > }
> > >
> > > populate_sdk_ipk_append () {
> > > @@ -64,4 +66,9 @@ populate_sdk_ipk_append () {
> > > printf "#!/bin/sh\nLD_LIBRARY_PATH=\x24SDK_PATH/lib:\x24LD_LIBRARY_PATH \x24SDK_PATH/lib/ld-linux.so.2 \x24SDK_PATH/bin/$i.real \x24\x2a\n" > $i
> > > chmod +x $i
> > > done
> > > +
> > > + # Special case for gdb, which is built as part of canadian-cross-sdk
> > > + mv ${ARAGO_TARGET_SYS}-gdb ${ARAGO_TARGET_SYS}-gdb.real
> > > + printf "#!/bin/sh\nLD_LIBRARY_PATH=\x24SDK_PATH/lib:\x24LD_LIBRARY_PATH \x24SDK_PATH/lib/ld-linux.so.2 \x24SDK_PATH/bin/${ARAGO_TARGET_SYS}-gdb.real \x24\x2a\n" > ${ARAGO_TARGET_SYS}-gdb
> > > + chmod +x ${ARAGO_TARGET_SYS}-gdb
> > > }
> > > --
> > > 1.8.0
> > >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org<mailto:meta-arago@arago-project.org>
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
> From c1dc0ecaa8665910459a60192eb16071624478b4 Mon Sep 17 00:00:00 2001
> From: Denys Dmytriyenko <denys@ti.com>
> Date: Tue, 13 Nov 2012 22:44:45 -0500
> Subject: [PATCH] meta-toolchain-arago: special case for gdb to be built as
> part of canadian-cross-sdk
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> meta-arago-extras/conf/distro/include/tcmode-external-arago.inc | 4 ++++
> meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb | 9 ++++++++-
> 2 files changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc b/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> index 2ed3df2..3bc0fed 100644
> --- a/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> +++ b/meta-arago-extras/conf/distro/include/tcmode-external-arago.inc
> @@ -30,6 +30,10 @@ PREFERRED_PROVIDER_glibc-thread-db = "external-arago-toolchain"
> PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-arago-sdk-toolchain"
> PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-arago-sdk-toolchain"
>
> +# Special case for gdb to be built as part of canadian-cross-sdk
> +bindir_pn-gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "${exec_prefix}/bin"
> +PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> +
> GCCVERSION ?= "4.5%"
> SDKGCCVERSION ?= "4.5%"
> BINUVERSION ?= "2.20%"
> diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> index 1683c1f..f780385 100644
> --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago.bb
> @@ -4,7 +4,7 @@ TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}"
>
> require recipes-core/meta/meta-toolchain.bb
>
> -PR = "r7"
> +PR = "r8"
>
> SDKTARGETSYSROOT = "${SDKPATH}/${ARAGO_TARGET_SYS}"
>
> @@ -54,6 +54,8 @@ toolchain_create_sdk_env_script () {
> echo 'export OECORE_ACLOCAL_OPTS="-I $SDK_PATH/usr/share/aclocal"' >> $script
> echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
> echo 'export OECORE_SDK_VERSION="${SDK_VERSION}"' >> $script
> + echo 'export PYTHONHOME=$SDK_PATH' >> $script
> + echo 'export PYTHONPATH=lib/python2.7' >> $script
> }
>
> populate_sdk_ipk_append () {
> @@ -64,4 +66,9 @@ populate_sdk_ipk_append () {
> printf "#!/bin/sh\nLD_LIBRARY_PATH=\x24SDK_PATH/lib:\x24LD_LIBRARY_PATH \x24SDK_PATH/lib/ld-linux.so.2 \x24SDK_PATH/bin/$i.real \x24\x2a\n" > $i
> chmod +x $i
> done
> +
> + # Special case for gdb, which is built as part of canadian-cross-sdk
> + mv ${ARAGO_TARGET_SYS}-gdb ${ARAGO_TARGET_SYS}-gdb.real
> + printf "#!/bin/sh\nLD_LIBRARY_PATH=\x24SDK_PATH/lib:\x24LD_LIBRARY_PATH \x24SDK_PATH/lib/ld-linux.so.2 \x24SDK_PATH/bin/${ARAGO_TARGET_SYS}-gdb.real \x24\x2a\n" > ${ARAGO_TARGET_SYS}-gdb
> + chmod +x ${ARAGO_TARGET_SYS}-gdb
> }
> --
> 1.8.0
>
next prev parent reply other threads:[~2012-11-14 4:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-14 3:50 [PATCH] meta-toolchain-arago: special case for gdb to be built as part of canadian-cross-sdk Denys Dmytriyenko
2012-11-14 3:58 ` Denys Dmytriyenko
2012-11-14 4:08 ` Maupin, Chase
2012-11-14 4:17 ` Cooper Jr., Franklin
2012-11-14 4:19 ` Denys Dmytriyenko
2012-11-14 4:23 ` Denys Dmytriyenko [this message]
2012-11-14 19:09 ` Denys Dmytriyenko
2012-11-14 22:26 ` Maupin, Chase
2012-11-14 22:36 ` Denys Dmytriyenko
2012-11-14 23:11 ` Maupin, Chase
2012-11-14 23:29 ` Cooper Jr., Franklin
2012-11-15 0:49 ` Cooper Jr., Franklin
2012-11-15 1:02 ` Denys Dmytriyenko
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=20121114042310.GG13096@edge \
--to=denys@ti.com \
--cc=fcooper@ti.com \
--cc=meta-arago@arago-project.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.