From 0f13965bc75847655495ce475bc9743d448742b2 Mon Sep 17 00:00:00 2001 From: Justin M. Forbes Date: May 06 2021 19:48:33 +0000 Subject: Build and package intel-speed-select (rhbz 1882427) Signed-off-by: Justin M. Forbes --- diff --git a/kernel-tools.spec b/kernel-tools.spec index 2c1c538..8e4f1e5 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -269,6 +269,9 @@ chmod +x tools/power/cpupower/utils/version-gen.sh pushd tools/power/x86/turbostat %{tools_make} popd + pushd tools/power/x86/intel-speed-select + %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" + popd %endif #turbostat/x86_energy_perf_policy pushd tools/thermal/tmon/ %{tools_make} @@ -359,6 +362,9 @@ install -m644 %{SOURCE2001} %{buildroot}%{_sysconfdir}/sysconfig/cpupower pushd tools/power/x86/turbostat %{tools_make} DESTDIR=%{buildroot} install popd + pushd tools/power/x86/intel-speed-select + %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" DESTDIR=%{buildroot} install + popd %endif #turbostat/x86_energy_perf_policy pushd tools/thermal/tmon %{tools_make} INSTALL_ROOT=%{buildroot} install @@ -431,6 +437,7 @@ popd %{_mandir}/man8/x86_energy_perf_policy* %{_bindir}/turbostat %{_mandir}/man8/turbostat* +%{_bindir}/intel-speed-select %endif %{_bindir}/tmon %{_bindir}/iio_event_monitor @@ -520,6 +527,9 @@ popd %license linux-%{kversion}/COPYING %changelog +* Thu May 06 2021 Justin M. Forbes +- Build and package intel-speed-select (rhbz 1882427) + * Tue Apr 27 2021 Justin M. Forbes - 5.12.0-1 - Linux v5.12