Skip to content
Snippets Groups Projects
  • Masahiro Yamada's avatar
    7fe859ee
    sh: boot: avoid unneeded rebuilds under arch/sh/boot/compressed/ · 7fe859ee
    Masahiro Yamada authored
    
    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: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Tested-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    Signed-off-by: default avatarRich Felker <dalias@libc.org>
    7fe859ee
    History
    sh: boot: avoid unneeded rebuilds under arch/sh/boot/compressed/
    Masahiro Yamada authored
    
    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: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Tested-by: default avatarJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
    Signed-off-by: default avatarRich Felker <dalias@libc.org>
lshrsi3.S 75 B
/* SPDX-License-Identifier: GPL-2.0-only */
#include "../../lib/lshrsi3.S"