[PATCH v2 0/2] tools: power: cpupower: Allow overriding cross-compiling envs
From: Peng Fan (OSS)
Date: Thu Sep 19 2024 - 07:59:38 EST
Two minor patches:
Patch 1 is not relevant for cross-compiling, but done when I playing
with cpupower on ARM64 boards.
Patch 2 is to make it easier for Yocto users to cross-compiling cpupower
tools.
Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
V2:
subject update, commit log update in patch 1, 2
Use strerror in patch 1
without patch 2, need update Makefile with 'CROSS =
[cross toolchain path]/aarch64-poky-linux-'
---
Peng Fan (2):
pm: cpupower: bench: print config file path when open cpufreq-bench.conf fails
pm: cpupower: Makefile: Allow overriding cross-compiling env params
tools/power/cpupower/Makefile | 12 ++++++------
tools/power/cpupower/bench/parse.c | 5 +++--
2 files changed, 9 insertions(+), 8 deletions(-)
---
base-commit: 6708132e80a2ced620bde9b9c36e426183544a23
change-id: 20240917-pm-08147f104e70
Best regards,
--
Peng Fan <peng.fan@xxxxxxx>