]> git.sur5r.net Git - u-boot/blobdiff - arch/blackfin/cpu/Makefile
ARM: dts: uniphier: fix interrupt number of USB core for PH1-Pro4
[u-boot] / arch / blackfin / cpu / Makefile
index 426292f988d9511b3573086adfd3c929bd06fe8d..7cd0bbf24e1e322cc2c6c27a5c7915da21daca4a 100644 (file)
@@ -6,7 +6,7 @@
 # (C) Copyright 2000-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 #
-# Licensed under the GPL-2 or later.
+# SPDX-License-Identifier:     GPL-2.0+
 #
 
 extra-y := init.elf
@@ -37,5 +37,9 @@ ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
 endif
 
 CPPFLAGS_init.lds := -ansi
+
+quiet_cmd_link_init = LD      $@
+      cmd_link_init = $(LD) $(LDFLAGS) -T $^ -o $@
 $(obj)/init.elf: $(obj)/init.lds $(obj)/init.o $(obj)/initcode.o
-       $(LD) $(LDFLAGS) -T $^ -o $@
+       $(call if_changed,link_init)
+targets += init.lds init.o