From 77a06aff994efd1f01e509be3e78fc6d41554083 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 22 Apr 2009 02:39:34 +0000 Subject: cosmetic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1720 42af7a65-404d-4744-a932-0658087f49c3 --- misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/buildroot/toolchain') 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) \ -- cgit v1.2.3