[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f727eb90-4ed9-4d8d-856c-2de526d97795@linuxfoundation.org>
Date: Tue, 7 Jan 2025 13:38:42 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Florian Fainelli <florian.fainelli@...adcom.com>,
"Peng Fan (OSS)" <peng.fan@....nxp.com>, Thomas Renninger <trenn@...e.com>,
Shuah Khan <shuah@...nel.org>, "John B. Wyatt IV" <jwyatt@...hat.com>,
John Kacur <jkacur@...hat.com>, Peng Fan <peng.fan@....com>,
"open list:CPU POWER MONITORING SUBSYSTEM" <linux-pm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] pm: cpupower: Makefile: Fix cross compilation
On 1/7/25 11:56, Florian Fainelli wrote:
> On 12/9/24 16:58, Shuah Khan wrote:
>> On 12/2/24 10:12, Florian Fainelli wrote:
>>> On 11/28/24 17:20, Peng Fan (OSS) wrote:
>>>> From: Peng Fan <peng.fan@....com>
>>>>
>>>> After commit f79473ed9220 ("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: f79473ed9220 ("pm: cpupower: Makefile: Allow overriding cross- compiling env params")
>>>> Reported-by: Florian Fainelli <florian.fainelli@...adcom.com>
>>>> Closes: https://lore.kernel.org/all/2bbabd2c-24ef-493c- a199-594e5dada3da@...adcom.com/
>>>> Signed-off-by: Peng Fan <peng.fan@....com>
>>>
>>> Tested-by: Florian Fainelli <florian.fainelli@...adcom.com>
>>>
>>> Thanks!
>>
>> Thank you. Applied to linux-cpupower for my next full request to
>> Rafael.
>
> Since this is a bug fix, any chance you can fast track that change so we can keep on building that tool in various environments?
>
I am planning to send pull request to Rafael later on today.
It will be available in linux-next once Rafael pulls it in.
I don't think if it can be fast tracked with the vacations
and holidays for the past 3 weeks or so. The best I can do
is getting this into linux-next
thanks,
-- Shuah
Powered by blists - more mailing lists