Commit 8e9a6cb169ff21132ef4b56b6399419e1034da4c
Committed by
Tom Rini
1 parent
9aed5a2777
Exists in
master
and in
50 other branches
Makefile: delete a make rule of $(LDSCRIPT)
$(LDSCRIPT) is a source file, not a generated file. We do not need a make rule of $(LDSCRIPT). And one more trivial fix: $(obj)/u-boot should not dierectly depend on $(LDSCRIPTS). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Showing 1 changed file with 2 additions and 5 deletions Side-by-side Diff
Makefile
... | ... | @@ -528,7 +528,7 @@ |
528 | 528 | endif |
529 | 529 | |
530 | 530 | $(obj)u-boot: depend \ |
531 | - $(SUBDIR_TOOLS) $(OBJS) $(LIBS) $(LDSCRIPT) $(obj)u-boot.lds | |
531 | + $(SUBDIR_TOOLS) $(OBJS) $(LIBS) $(obj)u-boot.lds | |
532 | 532 | $(GEN_UBOOT) |
533 | 533 | ifeq ($(CONFIG_KALLSYMS),y) |
534 | 534 | smap=`$(call SYSTEM_MAP,$(obj)u-boot) | \ |
... | ... | @@ -549,10 +549,7 @@ |
549 | 549 | |
550 | 550 | $(SUBDIR_EXAMPLES-y): $(obj)u-boot |
551 | 551 | |
552 | -$(LDSCRIPT): depend | |
553 | - $(MAKE) -C $(dir $@) $(notdir $@) | |
554 | - | |
555 | -$(obj)u-boot.lds: $(LDSCRIPT) | |
552 | +$(obj)u-boot.lds: $(LDSCRIPT) depend | |
556 | 553 | $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$< >$@ |
557 | 554 | |
558 | 555 | nand_spl: $(TIMESTAMP_FILE) $(VERSION_FILE) depend |