Commit fb013eee authored by Tom Rini's avatar Tom Rini

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: Tom Rini's avatarTom Rini <>
Reviewed-by: Bin Meng's avatarBin Meng <>
Reviewed-by: Simon Glass's 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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment