Re: [PATCH] cpupower: change binding's makefile to use -lcpupower

From: Shuah Khan
Date: Fri May 02 2025 - 15:56:31 EST


On 4/29/25 14:47, John B. Wyatt IV wrote:
Originally I believed I needed the .o files to make the bindings. The
linking failed due to a missing .so link in Fedora or by using make
install-lib from the cpupower directory. Amend the makefile and the
README.

Big thanks to Wander Lairson Costa <wander@xxxxxxxxxx> for the help.

Signed-off-by: "John B. Wyatt IV" <jwyatt@xxxxxxxxxx>
Signed-off-by: "John B. Wyatt IV" <sageofredondo@xxxxxxxxx>
---
tools/power/cpupower/bindings/python/Makefile | 8 +++-----
tools/power/cpupower/bindings/python/README | 13 ++++++++-----
2 files changed, 11 insertions(+), 10 deletions(-)

Applied now for Linux 6.16-rc1 - will be included in pull request to
PM maintainer.

https://web.git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=cpupower

thanks,
-- Shuah