mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 03:57:15 +00:00
cpufrequtils: Remove obsolete recipe
cpufrequtils has not been maintained for years and has been superseded by cpupower, which lives in the kernel tree under tools/power/cpupower and is already packaged in meta-oe. cpupower covers the same functionality (cpufreq-info -> cpupower frequency-info, cpufreq-set -> cpupower frequency-set) and is built from the running kernel's sources, so it stays in sync with the kernel's cpufreq interfaces. Switch packagegroup-basic to cpupower, and drop cpufrequtils from packagegroup-meta-oe-bsp, since packagegroup-meta-oe already pulls in cpupower. Users should install cpupower instead. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
3 files changed
+1
-37
No files matched your search
@@ -1,35 +0,0 @@
|
||||
DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq userspace tools, a cpufrequtils package was created"
|
||||
|
||||
inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'nls', 'gettext', '', d)}
|
||||
|
||||
DEPENDS = "libtool-cross"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
SRCREV = "a2f0c39d5f21596bb9f5223e895c0ff210b265d0"
|
||||
PV .= "+git"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git;branch=master;protocol=https"
|
||||
|
||||
# Upstream repo does not tag
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
PACKAGECONFIG ??= "${@oe.utils.conditional('USE_NLS', 'no', '', 'nls', d)}"
|
||||
PACKAGECONFIG[nls] = "NLS=true,NLS=false,gettext-native"
|
||||
|
||||
EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} CC='${CC}' STRIPCMD=echo 'CP=cp' ${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake 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
|
||||
}
|
||||
|
||||
@@ -47,6 +47,6 @@ RRECOMMENDS:${PN} = "\
|
||||
\
|
||||
tzdata \
|
||||
\
|
||||
cpufrequtils \
|
||||
cpupower \
|
||||
htop \
|
||||
"
|
||||
@@ -98,7 +98,6 @@ RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv32 = "libhugetlbfs"
|
||||
|
||||
RDEPENDS:packagegroup-meta-oe-bsp = "\
|
||||
acpitool \
|
||||
cpufrequtils \
|
||||
edac-utils \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "firmwared", "", d)} \
|
||||
flashrom \
|
||||
|
||||
Reference in new issue
Block a user