mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
883 B
BlitzBasic
25 lines
883 B
BlitzBasic
SUMMARY = "Power usage tool"
|
|
DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
|
|
HOMEPAGE = "https://01.org/powertop/"
|
|
BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla"
|
|
DEPENDS = "ncurses libnl pciutils autoconf-archive-native"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
|
|
|
SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
|
|
file://0001-wakeup_xxx.h-include-limits.h.patch \
|
|
"
|
|
SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
LDFLAGS:append = " -pthread"
|
|
|
|
inherit autotools gettext pkgconfig bash-completion
|
|
|
|
inherit update-alternatives
|
|
ALTERNATIVE:${PN} = "powertop"
|
|
ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_PRIORITY = "100"
|