Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CF34FE009EB; Tue, 19 May 2015 05:51:38 -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 * [192.94.94.40 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 95028E009DA for ; Tue, 19 May 2015 05:51:32 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t4JCpVo9010927 for ; Tue, 19 May 2015 07:51:31 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JCpV5N028268 for ; Tue, 19 May 2015 07:51:31 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Tue, 19 May 2015 07:51:30 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JCpTrK014421; Tue, 19 May 2015 07:51:30 -0500 From: Jacob Stiffler To: Date: Tue, 19 May 2015 08:51:21 -0400 Message-ID: <1432039882-22705-2-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1432039882-22705-1-git-send-email-j-stiffler@ti.com> References: <1432039882-22705-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [PATCH v2 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 12:51:38 -0000 Content-Type: text/plain * c6x DSP development files required to support remote gdb debugging. Signed-off-by: Jacob Stiffler --- * v2 changes: - Add support for k2hk-evm - Reorganize file based on oe-stylize. - Fix do_qa_configure check. recipes-devtools/gdbc6x/gdbserver-c6x_git.bb | 50 ++++++++++++++++++++++++++ 1 file changed, 50 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..92bfa19 --- /dev/null +++ b/recipes-devtools/gdbc6x/gdbserver-c6x_git.bb @@ -0,0 +1,50 @@ +DESCRIPTION = "TI gdb-server to be used with c6xgdb." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495" + +DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools" + +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/gdbserver-c6x/src" + +PLATFORM = "" +PLATFORM_dra7xx = "DRA7xx_PLATFORM" +PLATFORM_k2hk-evm = "KEYSTONE_PLATFORM" + +EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" + +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}" + +# The following is to prevent an unused configure.ac from erroneously +# triggering the QA check for gettext. +EXTRA_OECONF = "--disable-nls" +do_configure() { + : +} + +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 +} + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES_${PN}-dev += "\ + ${datadir}/ti/gdbc6x \ +" + +include gdbc6x.inc + +require recipes-ti/includes/ti-paths.inc + +ALLOW_EMPTY_${PN} = "1" + +PARALLEL_MAKE = "" -- 1.7.9.5