All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 1/3] gdbserverproxy-module-drv: Add version 1.1.0
Date: Mon, 18 May 2015 14:23:04 -0400	[thread overview]
Message-ID: <20150518182303.GH31845@edge> (raw)
In-Reply-To: <555A276B.3020209@ti.com>

On Mon, May 18, 2015 at 01:54:51PM -0400, Jacob Stiffler wrote:
> 
> 
> 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 <j-stiffler@ti.com>
> >>---
> >>  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?

Looks like there's no INSANE_SKIP for this check, but there's a way to bypass 
it w/o disabling all other QA checks:

EXTRA_OECONF = "--disable-nls"
do_configure() {
	:
}

Just add some comment above that block explaining why it's needed, something 
about erroneously tripping QA check for gettext due to unused configure.ac 
file...


> >>+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.
> 


  reply	other threads:[~2015-05-18 18:23 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 [this message]
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
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=20150518182303.GH31845@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.