summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 0e699a9b9..c6e92a02c 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -201,8 +201,8 @@ HOST_CFLAGS:= -O0 -g0
HOST_CXXFLAGS:= -O0 -g0
HOST_LDFLAGS:= -L$(STAGING_HOST_DIR)/usr/lib -Wl,-rpath -Wl,${STAGING_HOST_DIR}/usr/lib
-PATCH= PATH=${HOST_PATH} ${BASH} $(SCRIPT_DIR)/patch.sh
-PATCHP0= PATH=${HOST_PATH} patch -p0
+PATCH= PATH='${HOST_PATH}' ${BASH} $(SCRIPT_DIR)/patch.sh
+PATCHP0= PATH='${HOST_PATH}' patch -p0
ifeq ($(ADK_STATIC_TOOLCHAIN),y)
HOST_STATIC_CFLAGS:= -static -Wl,-static
@@ -211,7 +211,7 @@ HOST_STATIC_LDFLAGS:= -Wl,-static
HOST_STATIC_LLDFLAGS:= -all-static
endif
-SED:= PATH=${HOST_PATH} sed -i -e
+SED:= PATH='${HOST_PATH}' sed -i -e
LINUX_DIR:= $(BUILD_DIR)/linux
KERNEL_MODULE_FLAGS:= ARCH=${ADK_TARGET_ARCH} \
PREFIX=/usr \