From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 5 Mar 2021 13:31:45 +0100 Subject: [RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51) In-Reply-To: References: <20210303041211.26945-1-marek.behun@nic.cz> <20210303161159.GF1310@bill-the-cat> <20210303174157.280e7179@nic.cz> <20210303213605.GR1310@bill-the-cat> <20210304114327.357167d8@nic.cz> <20210304145823.GU1310@bill-the-cat> <20210304165956.1c310300@nic.cz> <20210304233321.589bce49@nic.cz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05.03.21 12:25, Adam Ford wrote: > On Thu, Mar 4, 2021 at 4:33 PM Marek Behun wrote: >> >> On Thu, 4 Mar 2021 16:18:03 -0600 >> Adam Ford 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