From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2AF56E009E1; Tue, 19 May 2015 06:30:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E4B9DE009B8 for ; Tue, 19 May 2015 06:30:14 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t4JDUCsG000540 for ; Tue, 19 May 2015 08:30:12 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JDUCkB030997 for ; Tue, 19 May 2015 08:30:12 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Tue, 19 May 2015 08:30:12 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JDUCHx031532; Tue, 19 May 2015 08:30:12 -0500 Date: Tue, 19 May 2015 09:30:11 -0400 From: Denys Dmytriyenko To: Jacob Stiffler Message-ID: <20150519133011.GQ31845@edge> References: <1431970376-24163-1-git-send-email-j-stiffler@ti.com> <1431970376-24163-3-git-send-email-j-stiffler@ti.com> <20150518174145.GE31845@edge> <555A36D5.7000502@ti.com> <20150518190724.GM31845@edge> <555B28BB.9060709@ti.com> MIME-Version: 1.0 In-Reply-To: <555B28BB.9060709@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH 2/3] gdbserver-c6x: Add version 1.1.0 X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 13:30:18 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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 > >>>>--- > >>>> 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 >