cpufrequtils: fetch from git.kernel.org, mark PV as post-release

SRC_URI pointed at github.com/emagii/cpufrequtils. The canonical upstream
repository is still live and its master HEAD is exactly the SRCREV pinned
here, a2f0c39d, so the source is unchanged. The kernel.org URL was already
in the recipe, commented out and malformed (unterminated quote). Both git://
and https:// serve it today, so there was no technical reason for the
mirror; https is used per the usual preference.

The pinned revision is 8 commits past the 008 release that the tarball at
kernel.org/pub/linux/utils/kernel/cpufreq/ contains - removal of the /proc
interface, Catalan translations, MAX_LINE_LEN, two x86 aperf fixes, and the
"make NLS optional" commit that introduces the NLS switch this recipe
relies on. PV gains +git so it stops claiming to be the 2010 release.

Shell function bodies are reindented to tabs. No functional change.

AI-Generated: Claude Opus 5 (Claude Code)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Alex Kiernan
2026-08-14 14:38:24 -07:00
committed by Khem Raj
parent ae8e15b117
commit 8c89494cca
@@ -8,9 +8,9 @@ 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
PV .= "+git"
SRC_URI = "git://github.com/emagii/cpufrequtils.git;branch=master;protocol=https \
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git;branch=master;protocol=https \
file://0001-dont-unset-cflags.patch \
"
@@ -26,13 +26,13 @@ TARGET_CC_ARCH += "${LDFLAGS}"
EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} STRIPCMD=echo 'CP=cp'"
do_compile() {
oe_runmake
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
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
}