summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-28 11:06:03 +0900
committerTom Rini <trini@ti.com>2013-12-13 09:17:33 -0500
commit8e9a6cb169ff21132ef4b56b6399419e1034da4c (patch)
tree6b174ecb5e5f4f1090b9f90b768573aa11a3ba36 /Makefile
parent9aed5a277738d7427b1949d75afbf95505c09499 (diff)
downloadu-boot-8e9a6cb169ff21132ef4b56b6399419e1034da4c.tar.gz
u-boot-8e9a6cb169ff21132ef4b56b6399419e1034da4c.tar.xz
u-boot-8e9a6cb169ff21132ef4b56b6399419e1034da4c.zip
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a728176c68..b20a77a31f 100644
--- a/Makefile
+++ b/Makefile
@@ -528,7 +528,7 @@ GEN_UBOOT = \
endif
$(obj)u-boot: depend \
- $(SUBDIR_TOOLS) $(OBJS) $(LIBS) $(LDSCRIPT) $(obj)u-boot.lds
+ $(SUBDIR_TOOLS) $(OBJS) $(LIBS) $(obj)u-boot.lds
$(GEN_UBOOT)
ifeq ($(CONFIG_KALLSYMS),y)
smap=`$(call SYSTEM_MAP,$(obj)u-boot) | \
@@ -549,10 +549,7 @@ $(SUBDIRS): depend
$(SUBDIR_EXAMPLES-y): $(obj)u-boot
-$(LDSCRIPT): depend
- $(MAKE) -C $(dir $@) $(notdir $@)
-
-$(obj)u-boot.lds: $(LDSCRIPT)
+$(obj)u-boot.lds: $(LDSCRIPT) depend
$(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$< >$@
nand_spl: $(TIMESTAMP_FILE) $(VERSION_FILE) depend