summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-05-31 17:30:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-05-31 17:30:14 +0200
commitcd99451ff421a3aaf77b7c5bc8fd3968af45766d (patch)
tree00c9ead804d76a10fbecb5b13b1a08a28134e2a4 /toolchain/gcc
parentd1336177b7215b7a638231bb1ec5fd22a87d9adb (diff)
quote PATH, some people use strange directory names
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile18
1 files changed, 9 insertions, 9 deletions
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