diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-22 02:39:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-22 02:39:34 +0000 |
commit | 77a06aff994efd1f01e509be3e78fc6d41554083 (patch) | |
tree | d002415e49d8eb0f8d72e596e0e75d138f779a75 /misc/buildroot/toolchain/gcc | |
parent | 041873bc2c46627bd89970ed81a8e6719be51570 (diff) | |
download | nuttx-77a06aff994efd1f01e509be3e78fc6d41554083.tar.gz nuttx-77a06aff994efd1f01e509be3e78fc6d41554083.tar.bz2 nuttx-77a06aff994efd1f01e509be3e78fc6d41554083.zip |
cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1720 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc')
-rw-r--r-- | misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk index a33a04a18..5c088a9ff 100644 --- a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk +++ b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk @@ -66,6 +66,7 @@ endif # build the gcc compiler # ############################################################# +GCC_BUILD_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-build $(DL_DIR)/$(GCC_SOURCE): mkdir -p $(DL_DIR) @@ -102,12 +103,11 @@ endif endif touch $@ -GCC_BUILD_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final $(GCC_BUILD_DIR)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ) mkdir -p $(GCC_BUILD_DIR) # Important! Required for limits.h to be fixed. ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include - (cd $(GCC_BUILD_DIR); PATH=$(TARGET_PATH) \ + (cd $(GCC_BUILD_DIR); rm -rf config.cache; PATH=$(TARGET_PATH) \ CC="$(HOSTCC)" \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ |