From cd99451ff421a3aaf77b7c5bc8fd3968af45766d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 31 May 2010 17:30:14 +0200 Subject: quote PATH, some people use strange directory names --- toolchain/gcc/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'toolchain') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index bd1c69678..c74c841fe 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -51,7 +51,7 @@ GCC_BUILD_DIR_FINAL:= $(WRKBUILD)-final $(GCC_BUILD_DIR_MINIMAL)/.configured: mkdir -p $(GCC_BUILD_DIR_MINIMAL) (cd $(GCC_BUILD_DIR_MINIMAL); rm -f config.cache; \ - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=c \ @@ -62,12 +62,12 @@ $(GCC_BUILD_DIR_MINIMAL)/.configured: touch $@ $(GCC_BUILD_DIR_MINIMAL)/.compiled: $(GCC_BUILD_DIR_MINIMAL)/.configured - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) ${GCC_MAKEOPTS} -C $(GCC_BUILD_DIR_MINIMAL) all-gcc touch $@ $(WRKBUILD)/.headers: $(GCC_BUILD_DIR_MINIMAL)/.compiled - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) -C $(GCC_BUILD_DIR_MINIMAL) install-gcc touch $@ @@ -78,7 +78,7 @@ $(GCC_BUILD_DIR_INITIAL)/.configured: ln -sf ${STAGING_DIR}/lib $(STAGING_TOOLS)/$(REAL_GNU_TARGET_NAME)/lib mkdir -p $(GCC_BUILD_DIR_INITIAL) (cd $(GCC_BUILD_DIR_INITIAL); rm -f config.cache; \ - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=c \ @@ -91,19 +91,19 @@ $(GCC_BUILD_DIR_INITIAL)/.configured: $(GCC_BUILD_DIR_INITIAL)/.compiled: $(GCC_BUILD_DIR_INITIAL)/.configured - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) ${GCC_MAKEOPTS} -C $(GCC_BUILD_DIR_INITIAL) all-gcc all-target-libgcc touch $@ $(WRKBUILD)/.configured: $(GCC_BUILD_DIR_INITIAL)/.compiled - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) -C $(GCC_BUILD_DIR_INITIAL) install-gcc install-target-libgcc touch $@ $(GCC_BUILD_DIR_FINAL)/.configured: mkdir -p $(GCC_BUILD_DIR_FINAL) (cd $(GCC_BUILD_DIR_FINAL); rm -f config.cache; \ - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=c,c++ \ @@ -114,12 +114,12 @@ $(GCC_BUILD_DIR_FINAL)/.configured: touch $@ $(WRKBUILD)/.compiled: $(GCC_BUILD_DIR_FINAL)/.configured - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) ${GCC_MAKEOPTS} -C $(GCC_BUILD_DIR_FINAL) all touch $@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled - PATH=$(TARGET_PATH) \ + PATH='$(TARGET_PATH)' \ $(MAKE) -C $(GCC_BUILD_DIR_FINAL) install # workaround if you cross-compile binutils @-rm $(STAGING_DIR)/lib/libiberty.a -- cgit v1.2.3