From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 2/3] gdbserver-c6x: Add version 1.1.0
Date: Tue, 19 May 2015 09:30:11 -0400 [thread overview]
Message-ID: <20150519133011.GQ31845@edge> (raw)
In-Reply-To: <555B28BB.9060709@ti.com>
On Tue, May 19, 2015 at 08:12:43AM -0400, Jacob Stiffler wrote:
>
>
> On 5/18/2015 3:07 PM, Denys Dmytriyenko wrote:
> >On Mon, May 18, 2015 at 03:00:37PM -0400, Jacob Stiffler wrote:
> >>
> >>On 5/18/2015 1:41 PM, Denys Dmytriyenko wrote:
> >>>On Mon, May 18, 2015 at 01:32:55PM -0400, Jacob Stiffler wrote:
> >>>>* c6x DSP development files required to support remote gdb debugging.
> >>>>
> >>>>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>>>---
> >>>> recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 46 ++++++++++++++++++++++++++
> >>>> 1 file changed, 46 insertions(+)
> >>>> create mode 100644 recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
> >>>>
> >>>>diff --git a/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb b/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
> >>>>new file mode 100644
> >>>>index 0000000..d21f03f
> >>>>--- /dev/null
> >>>>+++ b/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb
> >>>>@@ -0,0 +1,46 @@
> >>>>+DESCRIPTION="TI gdb-server to be used with c6xgdb."
> >>>>+
> >>>>+LICENSE = "BSD"
> >>>>+LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
> >>>>+
> >>>>+include gdbc6x.inc
> >>>>+
> >>>>+COMPATIBLE_MACHINE = "dra7xx"
> >>>>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>>>+
> >>>>+PR = "${INC_PR}.0"
> >>>>+
> >>>>+require recipes-ti/includes/ti-paths.inc
> >>>>+
> >>>>+DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools"
> >>>>+
> >>>>+export XDAIS_DIR = "${XDAIS_INSTALL_DIR}"
> >>>>+export FC_DIR = "${FC_INSTALL_DIR}"
> >>>>+export TI_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
> >>>>+export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}"
> >>>>+export XDC_DIR = "${XDC_INSTALL_DIR}"
> >>>>+
> >>>>+PLATFORM = ""
> >>>>+PLATFORM_dra7xx = "DRA7xx_PLATFORM"
> >>>>+
> >>>>+EXTRA_OEMAKE = "PLATFORM=${PLATFORM}"
> >>>>+
> >>>>+PARALLEL_MAKE = ""
> >>>>+
> >>>>+S = "${WORKDIR}/git/gdbserver-c6x/src"
> >>>>+
> >>>>+do_install() {
> >>>>+ install -d ${D}${datadir}/ti/gdbc6x/include
> >>>>+ install -d ${D}${datadir}/ti/gdbc6x/lib
> >>>>+ cp -f ../include/* ${D}${datadir}/ti/gdbc6x/include
> >>>>+ cp -f ../lib/* ${D}${datadir}/ti/gdbc6x/lib
> >>>>+}
> >>>>+
> >>>>+ALLOW_EMPTY_${PN} = "1"
> >>>Why?
> >>>
> >>This recipes only popultaes the -dev and -staticdev packages.
> >So, why do you need an empty package then? If you only need -dev and
> >-staticdev added as a dependency for the devkit, this shouldn't be required.
> >Unless there's a need to depend on the main package someplace, in which case
> >you would create an empty one...
> >
>
> Without this, I am seeing an error when populating the devkit:
>
> Collected errors:
> * satisfy_dependencies_for: Cannot satisfy the following
> dependencies for packagegroup-arago-toolchain-tisdk-target:
> * libulm (= 1.2.0-r0.1) * gdbserver-c6x (= 1.1.0-r0.1) *
> * opkg_install_cmd: Cannot install package
> packagegroup-arago-toolchain-tisdk-target.
I guess we could break the default dependency between -dev and the main
package, but an empty package would be fine in this case too.
> >>>>+FILES_${PN}-dev += "\
> >>>>+ ${datadir}/ti/gdbc6x \
> >>>>+"
> >>>>+
> >>>>+do_configure[noexec] = "1"
> >>>>+do_qa_configure[noexec] = "1"
> >>>Why?
> >>>
> >>>
> >>>>--
> >>>>1.7.9.5
> >>>>
> >>>>--
> >>>>_______________________________________________
> >>>>meta-ti mailing list
> >>>>meta-ti@yoctoproject.org
> >>>>https://lists.yoctoproject.org/listinfo/meta-ti
>
next prev parent reply other threads:[~2015-05-19 13:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-18 17:32 [PATCH 0/3] gdbc6x 1.1.0 Jacob Stiffler
2015-05-18 17:32 ` [PATCH 1/3] gdbserverproxy-module-drv: Add version 1.1.0 Jacob Stiffler
2015-05-18 17:40 ` Denys Dmytriyenko
2015-05-18 17:54 ` Jacob Stiffler
2015-05-18 18:23 ` Denys Dmytriyenko
2015-05-18 17:32 ` [PATCH 2/3] gdbserver-c6x: " Jacob Stiffler
2015-05-18 17:41 ` Denys Dmytriyenko
2015-05-18 19:00 ` Jacob Stiffler
2015-05-18 19:07 ` Denys Dmytriyenko
2015-05-19 12:12 ` Jacob Stiffler
2015-05-19 13:30 ` Denys Dmytriyenko [this message]
2015-05-18 17:32 ` [PATCH 3/3] gdbc6x: " Jacob Stiffler
2015-05-18 17:54 ` Denys Dmytriyenko
2015-05-18 18:59 ` Jacob Stiffler
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=20150519133011.GQ31845@edge \
--to=denys@ti.com \
--cc=j-stiffler@ti.com \
--cc=meta-ti@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.