diff options
| author | Ross Burton <ross@openedhand.com> | 2008-01-21 16:56:08 +0000 |
|---|---|---|
| committer | Ross Burton <ross@openedhand.com> | 2008-01-21 16:56:08 +0000 |
| commit | 5bf734fe498713097c887960dd566a57f43cab68 (patch) | |
| tree | 0511e64c5b981131f5232e3f9e5922c4e7e09ba7 | |
| parent | 77c6b60b301e2f1092064d6f62064dcd2ebfeb17 (diff) | |
| download | poky-5bf734fe498713097c887960dd566a57f43cab68.tar.gz | |
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
| -rw-r--r-- | meta/packages/powertop/powertop_1.9.bb | 17 | ||||
| -rw-r--r-- | meta/packages/tasks/task-poky.bb | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/packages/powertop/powertop_1.9.bb b/meta/packages/powertop/powertop_1.9.bb new file mode 100644 index 0000000000..ab84161ddc --- /dev/null +++ b/meta/packages/powertop/powertop_1.9.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power." | ||
| 2 | HOMEPAGE = "http://www.linuxpowertop.org/" | ||
| 3 | LICENSE = "GPLv2" | ||
| 4 | DEPENDS = "ncurses" | ||
| 5 | |||
| 6 | SRC_URI = "http://www.linuxpowertop.org/download/powertop-${PV}.tar.gz" | ||
| 7 | |||
| 8 | CFLAGS += "${LDFLAGS}" | ||
| 9 | |||
| 10 | do_configure() { | ||
| 11 | # We do not build ncurses with wide char support | ||
| 12 | sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile | ||
| 13 | } | ||
| 14 | |||
| 15 | do_install() { | ||
| 16 | oe_runmake install DESTDIR=${D} | ||
| 17 | } | ||
diff --git a/meta/packages/tasks/task-poky.bb b/meta/packages/tasks/task-poky.bb index f001f577e2..e208b79a77 100644 --- a/meta/packages/tasks/task-poky.bb +++ b/meta/packages/tasks/task-poky.bb | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Tasks for OpenedHand Poky" | 5 | DESCRIPTION = "Tasks for OpenedHand Poky" |
| 6 | PR = "r15" | 6 | PR = "r16" |
| 7 | 7 | ||
| 8 | PACKAGES = "\ | 8 | PACKAGES = "\ |
| 9 | task-poky-apps-console \ | 9 | task-poky-apps-console \ |
| @@ -115,6 +115,7 @@ RDEPENDS_task-poky-tools-profile = "\ | |||
| 115 | exmap-server \ | 115 | exmap-server \ |
| 116 | oprofile \ | 116 | oprofile \ |
| 117 | oprofileui-server \ | 117 | oprofileui-server \ |
| 118 | powertop \ | ||
| 118 | lttng-control \ | 119 | lttng-control \ |
| 119 | lttng-viewer" | 120 | lttng-viewer" |
| 120 | 121 | ||
