projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ti: dwc3: Enable clocks in enable_basic_clocks() in hw_data.c
[oweals/u-boot.git]
/
arch
/
blackfin
/
cpu
/
Makefile
diff --git
a/arch/blackfin/cpu/Makefile
b/arch/blackfin/cpu/Makefile
index 426292f988d9511b3573086adfd3c929bd06fe8d..cfbcd3124fd482a65058861e61d72249f91c2a5e 100644
(file)
--- a/
arch/blackfin/cpu/Makefile
+++ b/
arch/blackfin/cpu/Makefile
@@
-37,5
+37,9
@@
ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
endif
CPPFLAGS_init.lds := -ansi
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
$(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