mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
fc78d37ff0
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
39 lines
1.0 KiB
BlitzBasic
39 lines
1.0 KiB
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 = "GPL-2.0-only"
|
|
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;branch=master;protocol=https \
|
|
file://0001-dont-unset-cflags.patch \
|
|
"
|
|
|
|
# Upstream repo does not tag
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
EXTRA_OEMAKE:append = " ${@['', 'NLS=false']['${USE_NLS}' == 'no']} "
|
|
|
|
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} STRIPCMD=echo 'CP=cp'"
|
|
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake -e install DESTDIR=${D}
|
|
rm -f ${D}${libdir}/libcpufreq.so.0 ${D}${libdir}/libcpufreq.so
|
|
ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so.0
|
|
ln -s libcpufreq.so.0.0.0 ${D}${libdir}/libcpufreq.so
|
|
}
|
|
|