4 Commits

Author SHA1 Message Date
Nicolas Dechesne d4f9ff8c7e cpupower: remove LIC_FILES_CHKSUM
cpupower is a 'special' recipe since it does "inherit kernelsrc" ,
which essentially means that it doesn't have its own sources, but
reuse the kernel source tree, from virtual/kernel recipe. As such,
checking the license file in cpupower recipe does not seem relevant,
since it does not fetch anything (kernelsrc has "deltask do_fetch")
and the fetching is deferred to the virtual/kernel recipe.

so we are basically checking the COPYING file twice. If there was any
license issue, it would have been caught by virtual/kernel recipe
already.

Hence we remove LIC_FILES_CHKSUM like it is done for perf recipe in
OE-core in meta/recipes-kernel/perf/perf.bb.

It has the nice side effect that BSP layers can use different kernel
versions without worrying about any LICENSE checksum changes in
between kernel versions.

Reported-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7142f09407)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2019-05-20 21:01:55 -07:00
Mingli Yu 7023d0f117 cpupower: Update LIC_FILES_CHKSUM
Update LIC_FILES_CHKSUM for cpupower as
the COPYING file which is used for LIC_FILES_CHKSUM
has been changed in below commit:
commit bf02d491237eea10290bd379bf7fc8c37ac6c3b4
Author: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Date:   Fri Mar 23 06:51:06 2018 -0300

    COPYING: use the new text with points to the license files

    Now that we have a new COPYING file with points to the
    Linux license files, replace it with the old content.

    This patch does:
     1 file changed, 0 insertions(+), 0 deletions(-)
     rename COPYING.new => COPYING (100%)

    Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
    Signed-off-by: Jonathan Corbet <corbet@lwn.net>

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-16 06:47:45 -07:00
Liwei Song a060d55f86 cpupower: add gettext-native to DEPENDS
Add gettext-native to DEPENDS to fix the following build error:

MSGFMT  cpupower/1.0-r0/cpupower-1.0/po/fr.gmo
make: msgfmt: Command not found

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-16 19:14:25 -07:00
Fathi Boudra 9de8ce7f3a cpupower: add a new recipe
cpupower is a tool to show and set processor power related values.
In addition, it allows to run in-kernel selftests intel_pstate test.

The recipe is based on the initial work from Roy Li <rongqing.li@windriver.com>:
https://patchwork.openembedded.org/patch/118911/

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:48 +00:00