summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-12-18 15:54:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-12 15:46:59 +0100
commit0fb598c6b93780efe0eb549ef031761b9a472fdc (patch)
tree52ff798e40891495854693de6e8127559b60a7f7
parentb0c18202615849fc7a35d6f23afc0696dd0e952f (diff)
downloadpoky-0fb598c6b93780efe0eb549ef031761b9a472fdc.tar.gz
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 (From OE-Core rev: fd6418949249be252e4831ecf88f84297f81eaeb) 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> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.5.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_2.5.bb b/meta/recipes-kernel/powertop/powertop_2.5.bb
index f37d7a76e0..84cca25ba2 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
14inherit autotools gettext 14inherit autotools gettext
15 15
16# we need to explicitly link with libintl in uClibc systems 16# we need to explicitly link with libintl in uClibc systems
17LDFLAGS += "${EXTRA_LDFLAGS}" 17EXTRA_LDFLAGS ?= ""
18EXTRA_LDFLAGS_libc-uclibc = "-lintl" 18EXTRA_LDFLAGS_libc-uclibc = "-lintl"
19LDFLAGS += "${EXTRA_LDFLAGS}"
19 20
20# we do not want libncursesw if we can 21# we do not want libncursesw if we can
21do_configure_prepend() { 22do_configure_prepend() {