From 5ac037e4f65075f270ebf942d9d5bd90e416ca9b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 4 Sep 2018 10:05:55 -0600 Subject: [PATCH] Makefile: platform/Makefile must have BIN_DIR defined on command line even though it is not used. This is because in the Cygwin build, the value of 'BIN_DIR' is passed to 'cygpath'. 'cygpath will fail if BIN_DIR is not defined. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1a68a3ac8..60a9e2327 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ import: $(Q) $(MAKE) .import TOPDIR="$(APPDIR)$(DELIM)import" dirlinks: - $(Q) $(MAKE) -C platform dirlinks TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" + $(Q) $(MAKE) -C platform dirlinks TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)" context_rest: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_context) @@ -154,7 +154,7 @@ preconfig: Kconfig depend: .depend clean_context: - $(Q) $(MAKE) -C platform clean_context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" + $(Q) $(MAKE) -C platform clean_context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" BIN_DIR="$(BIN_DIR)" clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean) $(call DELFILE, $(SYMTABSRC))