diff options
-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" | |||
9 | SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \ | 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 = "184cee06b2d64679bae5f806fe0a218827fdde99" | 12 | SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | 15 | ||
16 | inherit autotools gettext pkgconfig bash-completion | 16 | LDFLAGS_append = " -pthread" |
17 | 17 | ||
18 | # we do not want libncursesw if we can | 18 | inherit autotools gettext pkgconfig bash-completion |
19 | do_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 | ||
28 | inherit update-alternatives | 20 | inherit update-alternatives |
29 | ALTERNATIVE_${PN} = "powertop" | 21 | ALTERNATIVE_${PN} = "powertop" |