diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-05-10 15:01:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-12 23:05:17 +0100 |
commit | c4982ddd71ac652f9d3b879bf31bb087500fb611 (patch) | |
tree | 8f690c6094cb129c13eff8644e2022b5a9003a9b | |
parent | cee436d1eb94663f3604c80b6ad87292f6901498 (diff) | |
download | openembedded-core-contrib-c4982ddd71ac652f9d3b879bf31bb087500fb611.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.
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" SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \ file://0001-wakeup_xxx.h-include-limits.h.patch \ " -SRCREV = "184cee06b2d64679bae5f806fe0a218827fdde99" +SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba" S = "${WORKDIR}/git" -inherit autotools gettext pkgconfig bash-completion +LDFLAGS_append = " -pthread" -# we do not want libncursesw if we can -do_configure_prepend() { - # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one - sed -i -e "s/ncursesw//g" ${S}/configure.ac - mkdir -p ${B}/src/tuning/ - echo "${PV}" > ${S}/version-long - echo "${PV}" > ${S}/version-short - cp ${STAGING_DATADIR}/aclocal/ax_require_defined.m4 ${S}/m4/ -} +inherit autotools gettext pkgconfig bash-completion inherit update-alternatives ALTERNATIVE_${PN} = "powertop" |