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

View File

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