Makefile: Ensure tools directory exists in output prior to use
authorTom Rini <trini@konsulko.com>
Wed, 4 Dec 2019 23:54:30 +0000 (18:54 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 6 Dec 2019 21:45:32 +0000 (16:45 -0500)
commitfb013eee68d08403572ef3c579f6688bbe33fd47
treeef06de49134213591e529ece83d4cec3095e893e
parentf523400f607881db19bdab901b6fa2b976eebc98
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: 4d90f6cd9813 ("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>
Makefile