[U-Boot] [PATCH 01/38] binman: Pass the toolpath to binman from the main Makefile

Simon Glass sjg at chromium.org
Mon Aug 26 15:59:06 UTC 2019


Pass in the toolpath in case binman needs to use tools compiled in the
U-Boot tools/ directory.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index df4a54e204..4413605175 100644
--- a/Makefile
+++ b/Makefile
@@ -1190,6 +1190,7 @@ u-boot.ldr:	u-boot
 # Use 'make BINMAN_DEBUG=1' to enable debugging
 quiet_cmd_binman = BINMAN  $@
 cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
+                --toolpath $(objtree)/tools \
                 build -u -d u-boot.dtb -O . -m \
 		-I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \
 		$(BINMAN_$(@F))
-- 
2.23.0.187.g17f5b7556c-goog



More information about the U-Boot mailing list