summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/powertop
Commit message (Collapse)AuthorAgeFilesLines
* native/nativesdk: Stop overriding unprefixed *FLAGS variablesRichard Purdie2024-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | We're currently encouraging an "arms race" with the FLAGS variables since a recipe might want to set a specific flag for all variants but to do so, += won't work due to the assignment in the native/nativesdk class files. This means recipes are using append. Since the default variables are constructed out of TARGET_XXX variables and we redefine these, there is no need to re-define the un-prefixed variables. If we drop that, the += appends and similar work and recipes don't have to resort to append. Change the classes and cleanup a number of recipes to adapt to the change. This change will result in some flags appearing to some native/nativesdk variants but that is probably what was originally expected anyway. (From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-05-221-1/+1
| | | | | | | | | | | | | | | | | | 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>
* powertop: upgrade 2.14 -> 2.15wangmy2022-10-262-54/+1
| | | | | | | | | | | 0001-src-fix-compatibility-with-ncurses-6.3.patch removed since it's included in new version. (From OE-Core rev: da1bb4ac5d3643e0917eb40eb4829557fd63b5d8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: address ncurses 6.3 compatibilityAlexander Kanavin2021-10-282-2/+55
| | | | | | | | (From OE-Core rev: 0b6e9db98b69d931f965d32a57ca67afea8f4f11) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-2/+2
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update 2.13 -> 2.14Alexander Kanavin2021-05-121-11/+3
| | | | | | | | | | | | | Drop configure() tweaks, none of them are needed anymore, and particularly the ncurses tweak was changing the build in a way that is not clear (and no one remembers why it was there in the first place). Adjust LDFLAGS as somehow -pthread isn't there --> link failures. (From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: upgrade 2.12 -> 2.13Wang Mingyu2020-06-231-1/+1
| | | | | | | | ?Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> (From OE-Core rev: 0d8fd1d44c932073021ef0786e40e43f4f1e330b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: upgrade 2.10 -> 2.12Alexander Kanavin2020-06-041-3/+4
| | | | | | | (From OE-Core rev: f1cb1f5b29ac25b75c0872c91e36bb16b69afc76) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: switch to Arjan's gitAlexander Kanavin2020-05-071-8/+5
| | | | | | | | | | 01.org seems unmaintained; while the tarball is still there, the page to download it from is gone. (From OE-Core rev: bcd6475928dba0a46d196d905cfd449ba7a3ada5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: change SRC_URI to use httpsStefan Müller-Klieser2019-12-061-3/+3
| | | | | | | | | Change all recipes to https where we get an http 301 permanent redirect. (From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: import a fix from buildrootMartin Jansa2019-08-132-0/+56
| | | | | | | (From OE-Core rev: 1c86f513041ad3a6c05ed600de9e80d076f1149d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update to 2.10Alexander Kanavin2019-01-181-3/+3
| | | | | | | (From OE-Core rev: d93292c1cc491e43ed5af853b269889ea996c4f9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update to v2.9Tim Orling2017-11-052-51/+6
| | | | | | | | | | | | | | | | * Upstream filename added "v" before version: - Add UPSTREAM_CHECK_REGEX - Update SRC_URI to include the "v" - Point ${S} to proper directory * Patch for required headers no longer needed in current upstream * Tested on qemux86-64 core-image-full-cmdline image with multilib (From OE-Core rev: c12f7f7492c33134ad6dde65fe119d53301dca2f) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop further remnants of uclibc supportRichard Purdie2017-06-221-5/+0
| | | | | | | | | | | | | | uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. (From OE-Core rev: ec03023d2165b49a52b83bac1ea2f0bfded7b852) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: Include right headers for timval structKhem Raj2016-01-242-1/+50
| | | | | | | (From OE-Core rev: ec5cf3ab4160cace676b0d5530476f899c6cf55d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update to 2.8Alexander Kanavin2015-12-161-2/+2
| | | | | | | | (From OE-Core rev: 7763b318e8c5f117aabe57e451879734ac2b81e4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin2015-12-081-0/+2
| | | | | | | | (From OE-Core rev: 73e2555cc7d529a93362b3fcfea3fbc7a4c60ca1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: Fix build for !uclibcMartin Jansa2014-12-191-1/+2
| | | | | | | | | | | | | | | | | * EXTRA_LDFLAGS isn't defined for !uclibc and configure fails when it reads it unexpanded, see config.log snippet: configure:4177: checking whether the C compiler works configure:4199: i586-oe-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed ${EXTRA_LDFLAGS} conftest.c >&5 i586-oe-linux-gcc: error: ${EXTRA_LDFLAGS}: No such file or directory configure:4203: $? = 1 configure:4241: result: no (From OE-Core rev: a3e9b391e1024d6d2e256b75c214d34e6693e332) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: update version number from 2.6.1 to 2.7Ezra Savard2014-12-051-3/+3
| | | | | | | | | | | | | | The v2.7 release of powertop fixes devfreq support for ARM, along with other bug fixes. v2: deletes old file v3: fixed SRC_URI and checksums (From OE-Core rev: 4bc65feb8f90180fdb8ff23ece2a9f30c3346832) Signed-off-by: Ezra Savard <ezra.savard@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: Upgrade 2.5 -> 2.6.1Richard Purdie2014-07-171-2/+3
| | | | | | | | Needed to create the directory to avoid B != S build issues. (From OE-Core rev: 6612c5e48c94fcfcd2c3ed48f7d8f2650e5b6abe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig class inheritsRichard Purdie2014-06-031-1/+1
| | | | | | | | | These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. (From OE-Core rev: 2543b14dd0ca13005be0df027543431fc8e882ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: upgrade to 2.5Laurentiu Palcu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: 879cb228e4ad4a8901caf8eda630bc9355fd8dfa) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: upgrade to 2.4Laurentiu Palcu2013-08-031-2/+2
| | | | | | | | (From OE-Core rev: af7214b7a24e283f7a17c63021e0c50904115f41) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: fix update-alternatives linkSergey Matyukevich2013-07-131-1/+1
| | | | | | | | | | | | | | | In the new stable busybox_1.21.1 default location of symbolic link for powertop has been changed: /usr/sbin instead of /bin. This update breaks creation of alternative links when both busybox and powertop packages are installed on the system. Fix: modification of ALTERNATIVE_LINK_NAME in powertop recipe. (From OE-Core rev: d49cbc1e1aa65d759a5dcb0ab20b6fd5b233183b) Signed-off-by: Sergey Matyukevich <sergey_matyukevich@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: inherit gettextSaul Wold2013-05-091-2/+2
| | | | | | | | | | | | powertop uses gettext during config time and at build time to generate the messages, so really should inherit gettext [YOCTO #4470] (From OE-Core rev: 9eb94ba3d98bf6196eb779590f2fb842ec664177) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: add 2.3Marcin Juszkiewicz2013-04-223-74/+30
| | | | | | | | | | | | | | | With all tweaks from 1.13: - uclibc buildable - libncurses instead of libncursesw Changes from v3: - proper update-alternatives path (From OE-Core rev: 188862de64bc2b61f8510082c8a6e5929d2b79d1) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: cleanup update-alternatives deprecated codeSaul Wold2012-08-151-7/+6
| | | | | | | (From OE-Core rev: 443473a88dd94a5fe0d6bc7a5d14d45ea5bbdec5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR bump for all recipes that DEPEND on ncursesScott Garman2012-03-151-1/+1
| | | | | | | | | | The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. (From OE-Core rev: be92256917c157284ef8370bb93bbf443849b2e1) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: Add lintl to linker commandline on uclibcKhem Raj2011-07-201-4/+7
| | | | | | | | | | intl support is not inbuilt into libc like glibc so we have to link it explicitly (From OE-Core rev: 2c0dab3fc508b4b80a61b8ce0f6292ba66ad86d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* powertop: inherit update-alternatives and use a higher priority than busyboxDexuan Cui2011-07-071-1/+7
| | | | | | | | | | | | | | | | | busybox-1.18.4 installs /bin/powertop and the powertop recipe installs /usr/bin/powertop. So, in PATH, if /bin appears before /usr/bin, we would run the version offered by busybox, which has a very limited function (e.g., no parameter is accepted) and this causes trouble to eclipse plugin. We can use update-alternatives for powertop with higher priority to resolve the issue. Fixes [YOCTO #1208] (From OE-Core rev: e4102c3d2205371db4da7db7bca1a5853bb3c23e) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recpies: add Upstream-Status for multiple recipes' patchesDexuan Cui2011-05-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tcf-agent: update its patch's Upstream-Status screen: update its patch's Upstream-Status which (GPLv2): update its patch's Upstream-Status gnome-vfs: update its patch's Upstream-Status libart-lgpl: update its patch's Upstream-Status librsvg: update its patch's Upstream-Status fontconfig: update its patch's Upstream-Status freetype: update its patch's Upstream-Status libxsettings-client: update its patch's Upstream-Status libxcb: update its patch's Upstream-Status libx11: update its patch's Upstream-Status - remove 2 unused xim.patch. libx11-trim: update its patch's Upstream-Status libxcalibrate: update its patch's Upstream-Status libxcomposite: update its patch's Upstream-Status libxfont: update its patch's Upstream-Status xtrans: update its patch's Upstream-Status - remove abstract_socket_fix.patch as it's not used at all for long. calibrateproto: update its patch's Upstream-Status latencytop: update its patch's Upstream-Status powertop: update its patch's Upstream-Status settings-daemon: update its patch's Upstream-Status gnome-settings-daemon: update its patch's Upstream-Status libxklavier: update its patch's Upstream-Status liblbxutil: update its patch's Upstream-Status oprofile: update its patch's Upstream-Status and remove an unused patch - delete xml_callgraph_details.patch as it's not used at all. (From OE-Core rev: 94991fb73586887bfc740eacf190032dfb206a65) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: Update SUMMARY and DESCRIPTIONMark Hatle2010-12-161-0/+1
| | | | | | Add missing SUMMARY and updated DESCRIPTION fields if necessary Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* powertop: fix a typo: REPENDS ==> RDEPENDSDexuan Cui2010-09-081-1/+1
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* powertop: fix segfault in dump modeDexuan Cui2010-09-022-1/+33
| | | | | | | | | | | | | | | | | The cause is: in dump mode, setup_windows() is not invoked so the *_window variables, like cstate_window, are still NULL; later in main() -> show_cstates(), the functions, like wrefresh(), will trigger segfault. After discussing in PowerTop mailling list, I think the right solution is we should stub out the ncurses calls in dump mode. (The patch was also sent to upstream PowerTop mailling list.) This fixes [BUGID #195]: Bug 195 - [sdk] powertop segfault when running with dump option Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* powertop: upgrade from 1.11 to the latest version 1.13Dexuan Cui2010-09-021-4/+9
| | | | | | | | | | | | update HOMEPAGE; add RRECOMMENDS_${PN} = "pciutils" as powertop 1.13 needs lspci; add EXTRA_OEMAKE = "VERSION=\"${PV}\" to make the build succeed; fix coding style: 4 SPACEs --> 1 TAB. fix RRECOMMENDS to RDEPENDS Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-271-0/+23
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>