mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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 <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Fixes: 4d90f6cd98
("tools: Avoid creating symbolic links for tools/version.h")
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f523400f60
commit
fb013eee68
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -1889,6 +1889,7 @@ checkarmreloc: u-boot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tools/version.h: include/version.h
|
tools/version.h: include/version.h
|
||||||
|
$(Q)mkdir -p $(dir $@)
|
||||||
$(call if_changed,copy)
|
$(call if_changed,copy)
|
||||||
|
|
||||||
envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
|
envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
|
||||||
|
|
Loading…
Reference in a new issue