summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-03-31 19:03:57 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-03-31 19:08:33 (GMT)
commit3d02062787041877b56c51b20cbc13af24264aa1 (patch)
tree7be7a9f4ee14204657f3a25aca768db8b86d2808
parent0bd23f0603954c6a1d3d6c6e6d25bd2511fd472b (diff)
downloadbuildroot-3d02062787041877b56c51b20cbc13af24264aa1.tar.gz
buildroot-3d02062787041877b56c51b20cbc13af24264aa1.tar.bz2
Makefile: Ensure BASE_TARGET_DIR exists, not TARGET_DIR
This was present in Yann's original patch, but got dropped when I rebased commit 7e9870ce32 (core: introduce intermediate BASE_TARGET_DIR variable) to fix the Makefile conflicts. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a3d038..71c77f4 100644
--- a/Makefile
+++ b/Makefile
@@ -945,7 +945,7 @@ savedefconfig: $(BUILD_DIR)/buildroot-config/conf prepare-kconfig
# staging and target directories do NOT list these as
# dependencies anywhere else
-$(BUILD_DIR) $(TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
+$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST):
@mkdir -p $@
# outputmakefile generates a Makefile in the output directory, if using a