Commit Graph

12 Commits

Author SHA1 Message Date
Khem Raj a8b76a2641 cpufrequtils: Create proper symlinks to versioned library
Currently it produces duplicated .so files for .so.0 and .so.0.0.0
this is also noticed by opkg upgrade

Configuring libxcb-randr0.
/sbin/ldconfig: /usr/lib/libcpufreq.so.0 is not a symbolic link

Additionally helps in some code size savings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-08 14:15:25 +02:00
Ash Charles 89b48fdf7c cpufrequtils: Don't preserve host user permissions
The makefile installs the generated libcpufreq with 'cp -fpR'
preserving the user and group of the builder on the host system yielding
errors like this:

  WARNING: log_check: warning: group pulse does not exist - using root

Really, this library should be installed with root user and group
ownership so override the meaning of 'CP' to simply 'cp'.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12 19:33:24 +01:00
Martin Jansa e4d36ed0d6 cpufrequtils: inherit gettext
* build without gettext-native fails with:
  | Building ccdv
  | /bin/sh: 1: xgettext: not found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa 57001b5b52 cpufrequtils: remove trailing backslash from comments
* http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-December/003954.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:10:58 +01:00
Martin Ertsaas 697b369635 cpufrequtils: Use CC, LD etc. that comes from OE.
The problem with just setting CROSS, is that it will unset all the flags
that OE sets in CC, like float-abi=hard.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-07 12:23:28 +02:00
Khem Raj a64ec2dcbe cpufrequtils: Fix build without NLS
uclibc disables NLS and we need to pass the right
define to inform the build system about NLS support
cpufrequtils-nls.patch is applied upstream so lets
remove it from metadata

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-07-09 18:40:21 +02:00
Steve Sakoman a9fae144f4 cpufrequtils: update to current git head
Otherwise cpufreq-info stats print "nan%" for omap3

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-27 00:00:56 +01:00
Ulf Samuelsson ae8e159041 cpufrequtils: Replace non-existant kernel.org git source
git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git
no longer exists so build fails, unless it is already present in
downloads directory.

Source has been retrieved from a mirror:
(http://mirror.nexcess.net/kernel.org/scm/utils/kernel/cpufreq/cpufrequtils.git)
and a new git source has been established on github.

kernel.org link kept in a comment to allow the old
link to be easily reestablished once it is available.

Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-15 09:29:16 +01:00
Khem Raj e4aef8aaae cpufrequtils: Fix compilation on uclibc
We make nls optional

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 19:35:53 +02:00
Koen Kooi af3382bf37 cpufrequtils: update to 008
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-09 21:26:33 +02:00
Koen Kooi 1c3faf1794 cpufrequtils: import from OE .dev revision c7c2ebead10c5553d17a3d0f900d24713dafbfd5
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-22 17:56:56 +02:00