diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-kernel/powertop | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/powertop')
| -rw-r--r-- | meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch | 55 | ||||
| -rw-r--r-- | meta/recipes-kernel/powertop/powertop_2.15.bb | 22 |
2 files changed, 0 insertions, 77 deletions
diff --git a/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch b/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch deleted file mode 100644 index 7bfca8abfd..0000000000 --- a/meta/recipes-kernel/powertop/powertop/0001-wakeup_xxx.h-include-limits.h.patch +++ /dev/null | |||
| @@ -1,55 +0,0 @@ | |||
| 1 | From 4c24fdd8e0a42359df7308155b2d43c28a5e02fd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Fabrice Fontaine <fontaine.fabrice@gmail.com> | ||
| 3 | Date: Mon, 20 May 2019 20:25:00 +0200 | ||
| 4 | Subject: [PATCH] wakeup_xxx.h: include limits.h | ||
| 5 | |||
| 6 | limits.h must be included to define PATH_MAX otherwise build will fail | ||
| 7 | on: | ||
| 8 | |||
| 9 | In file included from wakeup/wakeup_ethernet.cpp:45:0: | ||
| 10 | wakeup/wakeup_ethernet.h:35:16: error: 'PATH_MAX' was not declared in this scope | ||
| 11 | char eth_path[PATH_MAX]; | ||
| 12 | |||
| 13 | In file included from wakeup/wakeup_usb.cpp:45:0: | ||
| 14 | wakeup/wakeup_usb.h:35:16: error: 'PATH_MAX' was not declared in this scope | ||
| 15 | char usb_path[PATH_MAX]; | ||
| 16 | |||
| 17 | Fixes: | ||
| 18 | - http://autobuild.buildroot.org/results/a0b3337cf4a827e6566f8b15b6bb180f0dcef7a3 | ||
| 19 | |||
| 20 | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> | ||
| 21 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 22 | |||
| 23 | Upstream-Status: Submitted [https://lists.01.org/pipermail/powertop/2019-May/002052.html] | ||
| 24 | --- | ||
| 25 | src/wakeup/wakeup_ethernet.h | 1 + | ||
| 26 | src/wakeup/wakeup_usb.h | 1 + | ||
| 27 | 2 files changed, 2 insertions(+) | ||
| 28 | |||
| 29 | diff --git a/src/wakeup/wakeup_ethernet.h b/src/wakeup/wakeup_ethernet.h | ||
| 30 | index 682bf95..e0fa628 100644 | ||
| 31 | --- a/src/wakeup/wakeup_ethernet.h | ||
| 32 | +++ b/src/wakeup/wakeup_ethernet.h | ||
| 33 | @@ -25,6 +25,7 @@ | ||
| 34 | #ifndef _INCLUDE_GUARD_ETHERNET_WAKEUP_H | ||
| 35 | #define _INCLUDE_GUARD_ETHERNET_WAKEUP_H | ||
| 36 | |||
| 37 | +#include <limits.h> | ||
| 38 | #include <vector> | ||
| 39 | |||
| 40 | #include "wakeup.h" | ||
| 41 | diff --git a/src/wakeup/wakeup_usb.h b/src/wakeup/wakeup_usb.h | ||
| 42 | index f7a1f7e..15898e3 100644 | ||
| 43 | --- a/src/wakeup/wakeup_usb.h | ||
| 44 | +++ b/src/wakeup/wakeup_usb.h | ||
| 45 | @@ -25,6 +25,7 @@ | ||
| 46 | #ifndef _INCLUDE_GUARD_USB_WAKEUP_H | ||
| 47 | #define _INCLUDE_GUARD_USB_WAKEUP_H | ||
| 48 | |||
| 49 | +#include <limits.h> | ||
| 50 | #include <vector> | ||
| 51 | |||
| 52 | #include "wakeup.h" | ||
| 53 | -- | ||
| 54 | 2.20.1 | ||
| 55 | |||
diff --git a/meta/recipes-kernel/powertop/powertop_2.15.bb b/meta/recipes-kernel/powertop/powertop_2.15.bb deleted file mode 100644 index a9008b4074..0000000000 --- a/meta/recipes-kernel/powertop/powertop_2.15.bb +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | SUMMARY = "Power usage tool" | ||
| 2 | DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." | ||
| 3 | HOMEPAGE = "https://01.org/powertop/" | ||
| 4 | BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla" | ||
| 5 | DEPENDS = "ncurses libnl pciutils autoconf-archive-native" | ||
| 6 | LICENSE = "GPL-2.0-only" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \ | ||
| 10 | file://0001-wakeup_xxx.h-include-limits.h.patch \ | ||
| 11 | " | ||
| 12 | SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651" | ||
| 13 | |||
| 14 | LDFLAGS += "-pthread" | ||
| 15 | |||
| 16 | inherit autotools gettext pkgconfig bash-completion | ||
| 17 | |||
| 18 | inherit update-alternatives | ||
| 19 | ALTERNATIVE:${PN} = "powertop" | ||
| 20 | ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" | ||
| 21 | ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" | ||
| 22 | ALTERNATIVE_PRIORITY = "100" | ||
