ARM: 9189/1: decompressor: fix unneeded rebuilds of library objects
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 31 Mar 2022 08:47:09 +0000 (09:47 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 31 Mar 2022 13:33:40 +0000 (14:33 +0100)
commit9c6d6652e950fb34295f446676a811f6df5b8561
tree44eb2d0c8929ae7d65a189f8c657dbb4655c5df8
parent9bc19d473014f5b79ae6d4f99150c535781eb19f
ARM: 9189/1: decompressor: fix unneeded rebuilds of library objects

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@armlinux.org.uk>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/Makefile