From: Saul Wold <sgw@linux.intel.com>
To: Jens Rottmann <Jens.Rottmann@ADLINKtech.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2nd resend] powertop: Fix build for !uclibc - kindly respond
Date: Tue, 12 May 2015 07:58:47 -0700 [thread overview]
Message-ID: <55521527.6020509@linux.intel.com> (raw)
In-Reply-To: <5551DA96.2090006@ADLINKtech.com>
I am working on getting a 1.6.3 release finalized, this will be pulled
into that release and it should be going to QA this week.
Sau!
On 05/12/2015 03:48 AM, Jens Rottmann wrote:
> From: Martin Jansa <martin.jansa@gmail.com>
> Date: Thu, 18 Dec 2014 15:54:14 +0100
> Subject: powertop: Fix build for !uclibc
>
> * EXTRA_LDFLAGS isn't defined for !uclibc and configure fails
> when it reads it unexpanded, see config.log snippet:
>
> configure:4177: checking whether the C compiler works
> configure:4199: i586-oe-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ${EXTRA_LDFLAGS} conftest.c >&5
> i586-oe-linux-gcc: error: ${EXTRA_LDFLAGS}: No such file or directory
> configure:4203: $? = 1
> configure:4241: result: no
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
>
> Backported from OpenEmbedded Dizzy branch, commit
> c8f9b5c9a8e5179c2013f25decd6a5483df9c716.
>
> Signed-off-by: Jens Rottmann <Jens.Rottmann@ADLINKtech.com>
> ---
>
> Hi Saul,
>
> as I said, attached patch was taken/ported from OE-Core Dizzy, commit c8f9b5c9a8e5179c2013f25decd6a5483df9c716.
>
> Please apply it to OE-Core _Daisy_ branch, which is affected, too.
>
> Is there anything else I should do, any additional information I need to provide, anything I did wrong? Kindly respond.
>
> Thanks & best regards,
> Jens
>
> diff --git a/meta/recipes-kernel/powertop/powertop_2.5.bb b/met/recipes-kernel/powertop/powertop_2.5.bb
> index f37d7a7..84cca25 100644
> --- a/meta/recipes-kernel/powertop/powertop_2.5.bb
> +++ b/meta/recipes-kernel/powertop/powertop_2.5.bb
> @@ -14,8 +14,9 @@ SRC_URI[sha256sum] = "8b2c08a555d79e1c428863470c41cb023971d74ba4801d80a05e35adee
> inherit autotools gettext
>
> # we need to explicitly link with libintl in uClibc systems
> -LDFLAGS += "${EXTRA_LDFLAGS}"
> +EXTRA_LDFLAGS ?= ""
> EXTRA_LDFLAGS_libc-uclibc = "-lintl"
> +LDFLAGS += "${EXTRA_LDFLAGS}"
>
> # we do not want libncursesw if we can
> do_configure_prepend() {
>
prev parent reply other threads:[~2015-05-12 14:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5540CCFD.1050604@ADLINKtech.com>
[not found] ` <5551DA96.2090006@ADLINKtech.com>
2015-05-12 14:54 ` [PATCH 2nd resend] powertop: Fix build for !uclibc - kindly respond Burton, Ross
2015-05-12 14:58 ` Saul Wold [this message]
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=55521527.6020509@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=Jens.Rottmann@ADLINKtech.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox