diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-05 15:01:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-07 12:15:59 +0100 |
commit | 25c8903f6a471e93d30f51cb5eb09c87c6c9f786 (patch) | |
tree | e9510bfab5525ca99c30a42459187c43c6138859 /meta/recipes-kernel | |
parent | 40584e8719b33db0621aecb070cbd21f525325fa (diff) | |
download | poky-25c8903f6a471e93d30f51cb5eb09c87c6c9f786.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: bcd6475928dba0a46d196d905cfd449ba7a3ada5)
Signed-off-by: Alexander Kanavin <alex.kanavin@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_2.10.bb | 13 |
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" | |||
6 | LICENSE = "GPLv2" | 6 | LICENSE = "GPLv2" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" |
8 | 8 | ||
9 | SRC_URI = "https://01.org/sites/default/files/downloads/powertop-v${PV}.tar.gz \ | 9 | SRC_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 | " |
12 | SRCREV = "e8765b5475b22b7a2b6e9e8a031c68a268a0b0b3" | ||
12 | 13 | ||
13 | SRC_URI[md5sum] = "a69bd55901cf919cc564187402ea2c9c" | 14 | S = "${WORKDIR}/git" |
14 | SRC_URI[sha256sum] = "d3b7459eaba7d01c8841dd33a3b4d369416c01e9bd8951b0d88234cf18fe4a75" | ||
15 | |||
16 | UPSTREAM_CHECK_URI = "https://01.org/powertop/downloads" | ||
17 | UPSTREAM_CHECK_REGEX = "powertop-[v]?(?P<pver>\d+(\.\d+)+)\.tar" | ||
18 | 15 | ||
19 | inherit autotools gettext pkgconfig | 16 | inherit autotools gettext pkgconfig |
20 | 17 | ||
21 | S = "${WORKDIR}/${BPN}-v${PV}" | ||
22 | |||
23 | # we do not want libncursesw if we can | 18 | # we do not want libncursesw if we can |
24 | do_configure_prepend() { | 19 | do_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 | ||
30 | inherit update-alternatives | 27 | inherit update-alternatives |