From f2031692d8286dcee8e007796358211b55d6facb Mon Sep 17 00:00:00 2001 From: ArchontPL Date: Tue, 25 Oct 2016 19:43:44 +0200 Subject: [PATCH] Makefile: Changes in PATH for Windows environments. Added quotation marks when setting PATH - without it compilation on Cygwin, etc. may lead to an error. PATH on Windows can contain spaces e.g. 'C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common' which causes problems. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 07a2cb1..2608c15 100644 --- a/Makefile +++ b/Makefile @@ -165,9 +165,9 @@ $(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr/lib/libhal.a: $(TOOLCHAIN)/bin/xtensa- _libhal: autoreconf -i - PATH=$(TOOLCHAIN)/bin:$(PATH) ./configure --host=xtensa-lx106-elf --prefix=$(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr - PATH=$(TOOLCHAIN)/bin:$(PATH) make - PATH=$(TOOLCHAIN)/bin:$(PATH) make install + PATH="$(TOOLCHAIN)/bin:$(PATH)" ./configure --host=xtensa-lx106-elf --prefix=$(TOOLCHAIN)/xtensa-lx106-elf/sysroot/usr + PATH="$(TOOLCHAIN)/bin:$(PATH)" make + PATH="$(TOOLCHAIN)/bin:$(PATH)" make install