From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9F821E009D8; Mon, 18 May 2015 10:55:06 -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.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C9971E0094C for ; Mon, 18 May 2015 10:55:02 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t4IHt16J017721 for ; Mon, 18 May 2015 12:55:01 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4IHt0pE016190 for ; Mon, 18 May 2015 12:55:00 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 18 May 2015 12:55:00 -0500 Received: from [10.218.109.201] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4IHspDN021044; Mon, 18 May 2015 12:54:55 -0500 Message-ID: <555A276B.3020209@ti.com> Date: Mon, 18 May 2015 13:54:51 -0400 From: Jacob Stiffler User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Denys Dmytriyenko References: <1431970376-24163-1-git-send-email-j-stiffler@ti.com> <1431970376-24163-2-git-send-email-j-stiffler@ti.com> <20150518174028.GD31845@edge> In-Reply-To: <20150518174028.GD31845@edge> Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH 1/3] gdbserverproxy-module-drv: 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: Mon, 18 May 2015 17:55:06 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 5/18/2015 1:40 PM, Denys Dmytriyenko wrote: > On Mon, May 18, 2015 at 01:32:54PM -0400, Jacob Stiffler wrote: >> Signed-off-by: Jacob Stiffler >> --- >> recipes-devtools/gdbc6x/gdbc6x.inc | 9 ++++++ >> .../gdbc6x/gdbserverproxy-module-drv_git.bb | 31 ++++++++++++++++++++ >> 2 files changed, 40 insertions(+) >> create mode 100644 recipes-devtools/gdbc6x/gdbc6x.inc >> create mode 100644 recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb >> >> diff --git a/recipes-devtools/gdbc6x/gdbc6x.inc b/recipes-devtools/gdbc6x/gdbc6x.inc >> new file mode 100644 >> index 0000000..ecdc11e >> --- /dev/null >> +++ b/recipes-devtools/gdbc6x/gdbc6x.inc >> @@ -0,0 +1,9 @@ >> +BRANCH = "master" >> + >> +PV = "1.1.0" >> +INC_PR = "r0" >> + >> +# This corresponds to version 1.1.0 >> +SRCREV = "1ab06f8bcfe7540754558bac331a0312c4b59142" >> + >> +SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}" >> diff --git a/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb b/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb >> new file mode 100644 >> index 0000000..2b02236 >> --- /dev/null >> +++ b/recipes-devtools/gdbc6x/gdbserverproxy-module-drv_git.bb >> @@ -0,0 +1,31 @@ >> +DESCRIPTION="Interface for GDB to commincate witha TI C66X DSP" >> + >> +LICENSE = "GPLv2" >> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e" >> + >> +include gdbc6x.inc >> + >> +COMPATIBLE_MACHINE = "dra7xx" >> +PACKAGE_ARCH = "${MACHINE_ARCH}" >> + >> +# This package builds a kernel module, use kernel PR as base and append a local >> +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" >> +PR = "${MACHINE_KERNEL_PR}" >> + >> +PLATFORM = "" >> +PLATFORM_dra7xx = "DRA7xx_PLATFORM" >> + >> +EXTRA_OEMAKE = "PLATFORM=${PLATFORM}" >> + >> +S = "${WORKDIR}/git/kernel_module/gdbproxy-mod" >> + >> +module_autoload_gdbserverproxy = "gdbserverproxy" >> + >> +inherit module >> + >> +do_configure[noexec] = "1" >> +do_qa_configure[noexec] = "1" > What's the need for the above? > All three of these gdbc6x recipes use the same source. Without this there is a QA error due to the file "git/gdbc6x/intl/configure.ac", which is outside of the ${S} directory. The error is the following: ERROR: virtual/gettext required but not in DEPENDS for file /media/hdd-1TB/jake/git/oe-layersetup_patches/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/gdbserver-c6x/1.1.0-r0.1/git/gdbc6x/intl/configure.ac. Missing inherit gettext? ERROR: Function failed: do_qa_configure Is there a better way to handle this? >> +CREATE_SRCIPK = "1" >> +SRCIPK_INSTALL_DIR = "board-support/extra-drivers/${PN}-${PV}" >> +SRCIPK_PACKAGE_ARCH = "${MACHINE_ARCH}" > This is not the right place for these^^ either. > This was an oversight, and I'll remove in the next version.