Re: [PATCH] ARM: decompressor: fix unneeded rebuilds of library objects

From: Nicolas Schier
Date: Fri Apr 01 2022 - 07:09:25 EST


On Thu, Mar 31, 2022 at 05:47:09PM +0900, Masahiro Yamada wrote:
> Since commit 251cc826be7d ("ARM: 9154/1: decompressor: do not copy source
> files while building"), the following three are rebuilt every time.
>
> AS arch/arm/boot/compressed/lib1funcs.o
> AS arch/arm/boot/compressed/ashldi3.o
> AS arch/arm/boot/compressed/bswapsdi2.o
>
> Move the "OBJS += ..." line up so these objects are added to 'targets'.
>
> Fixes: 251cc826be7d ("ARM: 9154/1: decompressor: do not copy source files while building")
> Reported-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---

Tested-by: Nicolas Schier <n.schier@xxxxxx>