From 83ec81cd1c46c3637f2f86349223570e5719bb3d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 Nov 2026 22:12:27 -0800 Subject: [PATCH] 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 --- .../cpufrequtils/cpufrequtils_008.bb | 35 ------------------- .../packagegroups/packagegroup-basic.bb | 2 +- .../packagegroups/packagegroup-meta-oe.bb | 1 - 3 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb diff --git a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb deleted file mode 100644 index 0db24a82c3..0000000000 --- a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb +++ /dev/null @@ -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 -} - diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb index 324406c1ed..bdcfdf3c19 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb @@ -47,6 +47,6 @@ RRECOMMENDS:${PN} = "\ \ tzdata \ \ - cpufrequtils \ + cpupower \ htop \ " diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index ebd66425de..f13ae4f834 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb @@ -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 \