Commit 2bf22ae0 authored by Juan Manuel Cruz Alcaraz's avatar Juan Manuel Cruz Alcaraz Committed by Anas Nashif
Browse files

win-build: Fixes an issue supporting quotes



Jira: ZEP-517

Change-Id: Ic63df69e3df83d90343ac5d1f88a1c496a8f6e09
Signed-off-by: default avatarJuan Manuel Cruz <juan.m.cruz.alcaraz@intel.com>
parent 78ce02f8
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
# vim: filetype=make
#

DQUOTE = "
# "

ARCH ?= x86

UNAME := $(shell uname)
ifeq (MINGW, $(findstring MINGW, $(UNAME)))
DQUOTE = '
# '
PROJECT_BASE ?= $(shell sh -c "pwd -W")
else
DQUOTE = "
# "
PROJECT_BASE ?= $(CURDIR)
endif

@@ -64,7 +65,7 @@ endif
export CFLAGS

zephyrmake	= +$(MAKE) -C $(ZEPHYR_BASE)  O=$(1) \
			PROJECT=$(PROJECT_BASE) SOURCE_DIR="$(SOURCE_DIR)" $(2)
			PROJECT=$(PROJECT_BASE) SOURCE_DIR=$(DQUOTE)$(SOURCE_DIR)$(DQUOTE) $(2)

BOARDCONFIG = $(O)/.board_$(BOARD)