summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-05 15:01:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-26 18:26:48 +0100
commit673b0b570f10fb7689ee3b905f0fdceff83daaa5 (patch)
tree276687b4f61360e5f86e4f3eb74f06ea04a7cee4 /meta/recipes-kernel
parent21665ee4f0a87aa0239d1508dff2db7735fe6c75 (diff)
downloadpoky-673b0b570f10fb7689ee3b905f0fdceff83daaa5.tar.gz
powertop: switch to Arjan's git
01.org seems unmaintained; while the tarball is still there, the page to download it from is gone. (From OE-Core rev: ca815f2d6f354bd025f25abe2b28a57f7a3363d7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bcd6475928dba0a46d196d905cfd449ba7a3ada5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.10.bb13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_2.10.bb b/meta/recipes-kernel/powertop/powertop_2.10.bb
index 7b7b3929b3..f1b0e92b2b 100644
--- a/meta/recipes-kernel/powertop/powertop_2.10.bb
+++ b/meta/recipes-kernel/powertop/powertop_2.10.bb
@@ -6,25 +6,22 @@ DEPENDS = "ncurses libnl pciutils"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
8 8
9SRC_URI = "https://01.org/sites/default/files/downloads/powertop-v${PV}.tar.gz \ 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 = "e8765b5475b22b7a2b6e9e8a031c68a268a0b0b3"
12 13
13SRC_URI[md5sum] = "a69bd55901cf919cc564187402ea2c9c" 14S = "${WORKDIR}/git"
14SRC_URI[sha256sum] = "d3b7459eaba7d01c8841dd33a3b4d369416c01e9bd8951b0d88234cf18fe4a75"
15
16UPSTREAM_CHECK_URI = "https://01.org/powertop/downloads"
17UPSTREAM_CHECK_REGEX = "powertop-[v]?(?P<pver>\d+(\.\d+)+)\.tar"
18 15
19inherit autotools gettext pkgconfig 16inherit autotools gettext pkgconfig
20 17
21S = "${WORKDIR}/${BPN}-v${PV}"
22
23# we do not want libncursesw if we can 18# we do not want libncursesw if we can
24do_configure_prepend() { 19do_configure_prepend() {
25 # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one 20 # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one
26 sed -i -e "s/ncursesw//g" ${S}/configure.ac 21 sed -i -e "s/ncursesw//g" ${S}/configure.ac
27 mkdir -p ${B}/src/tuning/ 22 mkdir -p ${B}/src/tuning/
23 echo "${PV}" > ${S}/version-long
24 echo "${PV}" > ${S}/version-short
28} 25}
29 26
30inherit update-alternatives 27inherit update-alternatives