[PATCH] RFE: tools: fix parallel build of tools-all

Peter Robinson pbrobinson at gmail.com
Wed Dec 4 12:11:34 CET 2019


Commit 4d90f6cd9813 breaks parallel builds in 2020.01-rc series. This
fixes the issue, reverting it also fixes it. Not sure which is the best
route.

Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 8024baaddf..4330c2f3a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1895,14 +1895,14 @@ checkarmreloc: u-boot
 		false; \
 	fi
 
-tools/version.h: include/version.h
+version.h: include/version.h
 	$(call if_changed,copy)
 
-envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
+envtools: scripts_basic $(version_h) $(timestamp_h) version.h
 	$(Q)$(MAKE) $(build)=tools/env
 
 tools-only: export TOOLS_ONLY=y
-tools-only: scripts_basic $(version_h) $(timestamp_h) tools/version.h
+tools-only: scripts_basic $(version_h) $(timestamp_h) version.h
 	$(Q)$(MAKE) $(build)=tools
 
 tools-all: export HOST_TOOLS_ALL=y
-- 
2.23.0



More information about the U-Boot mailing list