Commit fb013eee authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarPeter Robinson <>
Tested-by: default avatarPeter Robinson <>
Fixes: 4d90f6cd

 ("tools: Avoid creating symbolic links for tools/version.h")
Signed-off-by: default avatarTom Rini <>
Reviewed-by: default avatarBin Meng <>
Reviewed-by: default avatarSimon Glass <>
parent f523400f
......@@ -1889,6 +1889,7 @@ checkarmreloc: u-boot
tools/version.h: include/version.h
$(Q)mkdir -p $(dir $@)
$(call if_changed,copy)
envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment