Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/3] oprofile: Define PACKAGE and PACKAGE_VERSION
Date: Wed, 28 Nov 2012 19:40:12 -0800	[thread overview]
Message-ID: <50B6D91C.2080106@linux.intel.com> (raw)
In-Reply-To: <8ec33689eaab4c3fa5099a8c461bd2b648e29481.1354116375.git.raj.khem@gmail.com>

On 11/28/2012 07:29 AM, Khem Raj wrote:
> oprofile uses bfd.h from binutils which expects
> that the package which is using it is also compiled
> using autotools and therefore tries to include
> config.h to get above defines. We specify them
> on commandline instead.
>

Khem,

This patch seems to be causing issues when I build it with 
stage/master_under_test.

I am seeing a configure failure on the Autobuilder.
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64/builds/735/steps/shell_28/logs/stdio

A number of failures like the above can be seen..

Thanks
	Sau!


> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta/recipes-kernel/oprofile/oprofile.inc |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
> index ac8ce10..3c1c3cd 100644
> --- a/meta/recipes-kernel/oprofile/oprofile.inc
> +++ b/meta/recipes-kernel/oprofile/oprofile.inc
> @@ -19,7 +19,7 @@ FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
>   FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
>   FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
>
> -INC_PR = "r1"
> +INC_PR = "r2"
>
>   SRC_URI = "file://opstart.patch \
>              file://oprofile-no-query-modules.patch \
> @@ -29,7 +29,7 @@ SRC_URI = "file://opstart.patch \
>   inherit autotools
>
>   EXTRA_OECONF = "--with-kernel-support --without-x"
> -
> +CFLAGS += '-DPACKAGE="${BPN}" -DPACKAGE_VERSION=${PV}'
>   do_configure () {
>   	cp ${WORKDIR}/acinclude.m4 ${S}/
>   	autotools_do_configure
>



  reply	other threads:[~2012-11-29  3:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 15:29 [PATCH 0/3] Upgrade binutils to 2.23.1 Khem Raj
2012-11-28 15:29 ` [PATCH 1/3] binutils-2.23.1: Add recipes Khem Raj
2012-11-28 15:57   ` Enrico Scholz
2012-11-28 17:42     ` Khem Raj
2012-11-28 15:29 ` [PATCH 2/3] oprofile: Define PACKAGE and PACKAGE_VERSION Khem Raj
2012-11-29  3:40   ` Saul Wold [this message]
2012-11-28 15:29 ` [PATCH 3/3] tcmode-default.inc: Use binutils 2.23.1 Khem Raj
2012-11-28 15:39 ` [PATCH 0/3] Upgrade binutils to 2.23.1 Marcin Juszkiewicz
2012-11-28 17:43   ` Khem Raj
2012-12-04  9:20     ` Marcin Juszkiewicz
2012-12-04 19:48       ` Khem Raj
2012-12-04 22:44         ` Marcin Juszkiewicz
2012-12-02 19:31 ` Khem Raj

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=50B6D91C.2080106@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox