From 92f67a923ae9852913a26afe952d662d8d311139 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 27 May 2015 19:54:46 +0200 Subject: [PATCH] Make sure the build directory exists --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d2ca5255fd..20badf8806 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ endif GIT_DESC_SHORT := $(shell echo $(GIT_DESC) | cut -c1-16) +$(shell mkdir -p $(BUILD_DIR)) $(shell echo "#include " > $(BUILD_DIR)git_version.c) $(shell echo "const char* px4_git_version = \"$(GIT_DESC)\";" >> $(BUILD_DIR)git_version.c) $(shell echo "const uint64_t px4_git_version_binary = 0x$(GIT_DESC_SHORT);" >> $(BUILD_DIR)git_version.c)