From: Tom Rini Date: Wed, 4 Dec 2019 23:54:30 +0000 (-0500) Subject: Makefile: Ensure tools directory exists in output prior to use X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=fb013eee68d08403572ef3c579f6688bbe33fd47;p=u-boot.git Makefile: Ensure tools directory exists in output prior to use With the change to make tools/version.h a file we need to make sure that the output directory exists first otherwise we will get a build failure. Reported-by: Peter Robinson Tested-by: Peter Robinson Fixes: 4d90f6cd9813 ("tools: Avoid creating symbolic links for tools/version.h") Signed-off-by: Tom Rini Reviewed-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/Makefile b/Makefile index b6a091a7d2..0766f78dcb 100644 --- a/Makefile +++ b/Makefile @@ -1889,6 +1889,7 @@ checkarmreloc: u-boot fi tools/version.h: include/version.h + $(Q)mkdir -p $(dir $@) $(call if_changed,copy) envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h