Re: [PATCH] tools/power/cpupower: fix compilation with STATIC=true

From: Thomas Renninger
Date: Tue Oct 16 2018 - 07:40:03 EST


On Tuesday, October 16, 2018 10:56:26 AM CEST Konstantin Khlebnikov wrote:
> Rename duplicate sysfs_read_file into cpupower_read_sysfs and fix linking.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>

Acked-by: Thomas Renninger <trenn@xxxxxxx>

Thanks!

> - $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/sysfs.o
> + $(OUTPUT)../lib/cpufreq.o $(OUTPUT)../lib/cpupower.o

I also looked at this and would only have fixed half of it (overseeing above
old leftover from cpupower lib introduction).
I guess, this patch from Konstantin is better and the correct solution.