Skip to content
Commit 3075476a authored by Peng Fan's avatar Peng Fan Committed by Shuah Khan
Browse files

pm: cpupower: Makefile: Fix cross compilation

After commit f79473ed ("pm: cpupower: Makefile: Allow overriding
cross-compiling env params") we would fail to cross compile cpupower in
buildroot which uses the recipe at [1] where only the CROSS variable is
being set.

The issue here is the use of the lazy evaluation for all variables: CC,
LD, AR, STRIP, RANLIB, rather than just CROSS.

[1]:
https://git.buildroot.net/buildroot/tree/package/linux-tools/linux-tool-cpupower.mk.in



Fixes: f79473ed ("pm: cpupower: Makefile: Allow overriding cross-compiling env params")
Reported-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Closes: https://lore.kernel.org/all/2bbabd2c-24ef-493c-a199-594e5dada3da@broadcom.com/


Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Tested-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 694389cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment