Application.mk: Correct an error in PATH usage. Use of toolchain path causes make errors.

This commit is contained in:
Gregory Nutt 2019-10-04 09:53:53 -06:00
parent c51b923b79
commit ddd5a18b0c

@ -83,12 +83,13 @@ endif
# Module install directory
BIN ?= $(APPDIR)$(DELIM)libapps$(LIBEXT)
INSTALL_DIR = $(BIN)
ifeq ($(WINTOOL),y)
BIN ?= "${shell cygpath -w $(APPDIR)$(DELIM)libapps$(LIBEXT)}"
INSTALL_DIR = "${shell cygpath -w $(BINDIR)}"
TOOLBIN ?= "${shell cygpath -w $(BIN)}"
else
BIN ?= $(APPDIR)$(DELIM)libapps$(LIBEXT)
INSTALL_DIR = $(BINDIR)
TOOLBIN ?= $(BIN)
endif
ROOTDEPPATH += --dep-path .
@ -172,7 +173,7 @@ endif
endif
.built: $(OBJS)
$(call ARCHIVE, $(BIN), $(OBJS))
$(call ARCHIVE, $(TOOLBIN), $(OBJS))
$(Q) touch $@
ifeq ($(BUILD_MODULE), y)