Files
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

35 lines
865 B
BlitzBasic

DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq userspace tools, a cpufrequtils package was created"
inherit gettext
DEPENDS = "libtool-cross"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRCREV = "a2f0c39d5f21596bb9f5223e895c0ff210b265d0"
# SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git
SRC_URI = "git://github.com/emagii/cpufrequtils.git \
file://0001-dont-unset-cflags.patch \
"
CFLAGS_append_libc-uclibc = " ${@['-DNLS', '-UNLS']['${USE_NLS}' == 'no']} "
PR = "r5"
S = "${WORKDIR}/git"
TARGET_CC_ARCH += "${LDFLAGS}"
EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} LIBTOOL='${HOST_SYS}-libtool --tag cc' STRIPCMD=echo 'CP=cp'"
do_compile() {
oe_runmake
}
do_install() {
oe_runmake -e install DESTDIR=${D}
}