mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
3127ef1b43
commit
c4473061f7
@@ -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"
|
||||
Reference in New Issue
Block a user