[RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

Stefan Roese sr at denx.de
Fri Mar 5 13:31:45 CET 2021


On 05.03.21 12:25, Adam Ford wrote:
> On Thu, Mar 4, 2021 at 4:33 PM Marek Behun <marek.behun at nic.cz> wrote:
>>
>> On Thu, 4 Mar 2021 16:18:03 -0600
>> Adam Ford <aford173 at gmail.com> wrote:
>>
>>> diff --git a/arch/arm/mach-omap2/omap3/Makefile
>>> b/arch/arm/mach-omap2/omap3/Makefile
>>> index 91ed8ebc9f..a2cc21c6d2 100644
>>> --- a/arch/arm/mach-omap2/omap3/Makefile
>>> +++ b/arch/arm/mach-omap2/omap3/Makefile
>>> @@ -6,6 +6,8 @@
>>>   # If clock.c is compiled for Thumb2, then it fails on OMAP3530
>>>   CFLAGS_clock.o += -marm
>>>
>>> +CFLAGS_REMOVE_file.o := $(LTO_CFLAGS)
>>
>> Eh? There is no file.c in arch/arm/mach-omap2/omap3/ directory.
> 
> It must be from something else that had changed when I did a git pull
> pull on your repo. I guess that's better news.

It might be a misunderstanding. Marek means that you need to replace
"file" with your real filename, like:

driver_spi.c ->

+CFLAGS_REMOVE_driver_spi.o := $(LTO_CFLAGS)

HTH,
Stefan


More information about the U-Boot mailing list