]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba512d2e48585f2b399f759e6593d9e2b81ef172
tree44eb2d0c8929ae7d65a189f8c657dbb4655c5df8
parentebdbfc432be62fd5050e14270ed1b1583bec30df
ARM: 9189/1: decompressor: fix unneeded rebuilds of library objects

Since commit 0024346fb7e0 ("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: 0024346fb7e0 ("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