summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2008-01-29 00:11:25 +0100
committerWolfgang Denk <wd@denx.de>2008-02-14 01:18:17 +0100
commit88f72527f5b89c0905ad5c36cc2ef8d29dd6bbf0 (patch)
tree2680d16f974fb5c1f2506f29a5da64e367163554
parent6d1b6f9f89c815eaca44acff8e73ece7181f61b6 (diff)
downloadu-boot-imx-88f72527f5b89c0905ad5c36cc2ef8d29dd6bbf0.zip
u-boot-imx-88f72527f5b89c0905ad5c36cc2ef8d29dd6bbf0.tar.gz
u-boot-imx-88f72527f5b89c0905ad5c36cc2ef8d29dd6bbf0.tar.bz2
Add dependencies to avoid race conditions with parallel make.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 852dca8..3b339ad 100644
--- a/Makefile
+++ b/Makefile
@@ -312,13 +312,13 @@ $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
--start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
-Map u-boot.map -o u-boot
-$(OBJS): $(obj)include/autoconf.mk
+$(OBJS): depend $(obj)include/autoconf.mk
$(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
-$(LIBS): $(obj)include/autoconf.mk
+$(LIBS): depend $(obj)include/autoconf.mk
$(MAKE) -C $(dir $(subst $(obj),,$@))
-$(SUBDIRS): $(obj)include/autoconf.mk
+$(SUBDIRS): depend $(obj)include/autoconf.mk
$(MAKE) -C $@ all
$(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk