summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-18 15:52:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:27:38 +0100
commit59da55b9f1103980c9c38b9de6c928eb41d939cd (patch)
tree16f56cfe3f4241db6e40f31ee9567aa84a296e6a /meta/recipes-kernel
parent08bfdf909a9d5843b63ceb3b2851d41541e69343 (diff)
downloadpoky-59da55b9f1103980c9c38b9de6c928eb41d939cd.tar.gz
powertop: Add lintl to linker commandline on uclibc
intl support is not inbuilt into libc like glibc so we have to link it explicitly (From OE-Core rev: 2c0dab3fc508b4b80a61b8ce0f6292ba66ad86d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/powertop/powertop_1.13.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_1.13.bb b/meta/recipes-kernel/powertop/powertop_1.13.bb
index 472a2bbcff..b08f65c684 100644
--- a/meta/recipes-kernel/powertop/powertop_1.13.bb
+++ b/meta/recipes-kernel/powertop/powertop_1.13.bb
@@ -11,16 +11,19 @@ DEPENDS = "virtual/libintl ncurses"
11# powertop 1.13 needs lspci 11# powertop 1.13 needs lspci
12RDEPENDS_${PN} = "pciutils" 12RDEPENDS_${PN} = "pciutils"
13 13
14PR = "r1" 14PR = "r2"
15 15
16SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \ 16SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
17 file://stub_out_the_ncurses_calls_in_dump_mode.patch" 17 file://stub_out_the_ncurses_calls_in_dump_mode.patch \
18 "
18 19
19SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e" 20SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e"
20SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98" 21SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98"
21 22
22CFLAGS += "${LDFLAGS}" 23CFLAGS += "${LDFLAGS}"
23EXTRA_OEMAKE = "VERSION=\"${PV}\"" 24EXTRA_OEMAKE = "VERSION=\"${PV}\" EXTRA_LIBS=${EXTRA_LIBS}"
25
26EXTRA_LIBS_libc-uclibc = "-lintl"
24 27
25inherit update-alternatives 28inherit update-alternatives
26ALTERNATIVE_NAME = "powertop" 29ALTERNATIVE_NAME = "powertop"
@@ -30,7 +33,7 @@ ALTERNATIVE_PRIORITY = "100"
30 33
31do_configure() { 34do_configure() {
32 # We do not build ncurses with wide char support 35 # We do not build ncurses with wide char support
33 sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile 36 sed -i -e 's:lncursesw:lncurses ${EXTRA_LIBS}:g' ${S}/Makefile
34} 37}
35 38
36do_install() { 39do_install() {