- Quote TARGET_PATH. Closes #1107.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 8 Dec 2006 12:45:45 +0000 (12:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 8 Dec 2006 12:45:45 +0000 (12:45 -0000)
package/Makefile.in

index b8be395ee8ead0d220fee469a80e39bd5369c470..aeb56d737af394c448a6244ad78bab84066a6dc0 100644 (file)
@@ -54,7 +54,8 @@ GNU_TARGET_SUFFIX:=-$(strip $(subst ",, $(BR2_GNU_TARGET_SUFFIX)))
 STAGING_DIR:=$(strip $(subst ",, $(BR2_STAGING_DIR)))
 #"))
 
-TARGET_PATH=$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:$(PATH)
+# Quotes are needed for spaces et al in path components.
+TARGET_PATH="$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:$(PATH)"
 IMAGE:=$(BASE_DIR)/rootfs.$(ARCH)$(ARCH_FPU_SUFFIX)
 REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
 GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux