]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sh: boot: avoid unneeded rebuilds under arch/sh/boot/compressed/
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 17 Jan 2021 11:16:32 +0000 (20:16 +0900)
committerRich Felker <dalias@libc.org>
Tue, 23 Feb 2021 22:06:44 +0000 (17:06 -0500)
commit7ec713058f2191d7632d9f49b6ca290ab5cbf1ed
tree08eca1946cd2dcd516f505ff757ce4b424b3c234
parent97709ef0221729c91a175f76ae3d11c8e31c48fa
sh: boot: avoid unneeded rebuilds under arch/sh/boot/compressed/

Even if none of source code is updated, the following are every time
rebuilt:

  CC      arch/sh/boot/compressed/cache.o
  SHIPPED arch/sh/boot/compressed/ashiftrt.S
  AS      arch/sh/boot/compressed/ashiftrt.o
  SHIPPED arch/sh/boot/compressed/ashldi3.c
  CC      arch/sh/boot/compressed/ashldi3.o
  SHIPPED arch/sh/boot/compressed/ashrsi3.S
  AS      arch/sh/boot/compressed/ashrsi3.o
  SHIPPED arch/sh/boot/compressed/ashlsi3.S
  AS      arch/sh/boot/compressed/ashlsi3.o
  SHIPPED arch/sh/boot/compressed/lshrsi3.S
  AS      arch/sh/boot/compressed/lshrsi3.o
  LD      arch/sh/boot/compressed/vmlinux
  OBJCOPY arch/sh/boot/zImage

Add build artifacts to 'targets' as needed.

I turned the library files to check-in files. It is simpler than
copying from arch/sh/lib/ at build-time.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/boot/compressed/.gitignore
arch/sh/boot/compressed/Makefile
arch/sh/boot/compressed/ashiftrt.S [new file with mode: 0644]
arch/sh/boot/compressed/ashldi3.c [new file with mode: 0644]
arch/sh/boot/compressed/ashlsi3.S [new file with mode: 0644]
arch/sh/boot/compressed/ashrsi3.S [new file with mode: 0644]
arch/sh/boot/compressed/lshrsi3.S [new file with mode: 0644]