Add powertop recipe, and add to profiling task

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3564 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton 2008-01-21 16:56:08 +00:00
parent 77c6b60b30
commit 5bf734fe49
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power."
HOMEPAGE = "http://www.linuxpowertop.org/"
LICENSE = "GPLv2"
DEPENDS = "ncurses"
SRC_URI = "http://www.linuxpowertop.org/download/powertop-${PV}.tar.gz"
CFLAGS += "${LDFLAGS}"
do_configure() {
# We do not build ncurses with wide char support
sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile
}
do_install() {
oe_runmake install DESTDIR=${D}
}

View File

@ -3,7 +3,7 @@
#
DESCRIPTION = "Tasks for OpenedHand Poky"
PR = "r15"
PR = "r16"
PACKAGES = "\
task-poky-apps-console \
@ -115,6 +115,7 @@ RDEPENDS_task-poky-tools-profile = "\
exmap-server \
oprofile \
oprofileui-server \
powertop \
lttng-control \
lttng-viewer"