summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-05-10 15:01:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-12 23:06:04 +0100
commitc4473061f76bd1d930caaf9a6122d7a7a91c3c89 (patch)
tree44c97a59379d4e1e671d5f36dd1c8cb0de890bdf
parent3127ef1b43926ae7276b19c80eca69ebabf883ec (diff)
downloadpoky-c4473061f76bd1d930caaf9a6122d7a7a91c3c89.tar.gz
powertop: update 2.13 -> 2.14
Drop configure() tweaks, none of them are needed anymore, and particularly the ncurses tweak was changing the build in a way that is not clear (and no one remembers why it was there in the first place). Adjust LDFLAGS as somehow -pthread isn't there --> link failures. (From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.14.bb (renamed from meta/recipes-kernel/powertop/powertop_2.13.bb)14
1 files changed, 3 insertions, 11 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_2.13.bb b/meta/recipes-kernel/powertop/powertop_2.14.bb
index 8c7e78fd94..cb7f3c4dc1 100644
--- a/meta/recipes-kernel/powertop/powertop_2.13.bb
+++ b/meta/recipes-kernel/powertop/powertop_2.14.bb
@@ -9,21 +9,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
9SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \ 9SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \
10 file://0001-wakeup_xxx.h-include-limits.h.patch \ 10 file://0001-wakeup_xxx.h-include-limits.h.patch \
11" 11"
12SRCREV = "184cee06b2d64679bae5f806fe0a218827fdde99" 12SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit autotools gettext pkgconfig bash-completion 16LDFLAGS_append = " -pthread"
17 17
18# we do not want libncursesw if we can 18inherit autotools gettext pkgconfig bash-completion
19do_configure_prepend() {
20 # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one
21 sed -i -e "s/ncursesw//g" ${S}/configure.ac
22 mkdir -p ${B}/src/tuning/
23 echo "${PV}" > ${S}/version-long
24 echo "${PV}" > ${S}/version-short
25 cp ${STAGING_DATADIR}/aclocal/ax_require_defined.m4 ${S}/m4/
26}
27 19
28inherit update-alternatives 20inherit update-alternatives
29ALTERNATIVE_${PN} = "powertop" 21ALTERNATIVE_${PN} = "powertop"