summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-08 20:36:58 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-08 20:36:58 +0000
commit1cbf64c83c741a0712335e62b5b008fadef70a5a (patch)
treefede60010f7b5a114f753afcaf71ea8e87af8774
parent27353b65dcd97e51d7a47144708d6b649c3181f8 (diff)
Make the directory before touching files in it...
-rw-r--r--make/gcc_target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index f78e0bfc7..ff2da63c4 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -164,10 +164,10 @@ $(GCC_BUILD_DIR3)/.gcc_build_hacks:
$(STAGING_DIR)/usr/include,;" $(GCC_DIR)/gcc/Makefile.in;
perl -i -p -e "s,^#define.*STANDARD_INCLUDE_DIR.*,#define STANDARD_INCLUDE_DIR \
\"/usr/include\",;" $(GCC_DIR)/gcc/cppdefault.h;
+ mkdir -p $(GCC_BUILD_DIR3)
touch $(GCC_BUILD_DIR3)/.gcc_build_hacks
$(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc_build_hacks
- mkdir -p $(GCC_BUILD_DIR3)
(cd $(GCC_BUILD_DIR3); PATH=$(STAGING_DIR)/bin:$$PATH AR=$(TARGET_CROSS)ar \
RANLIB=$(TARGET_CROSS)ranlib LD=$(TARGET_CROSS)ld CC=$(TARGET_CROSS)gcc \
$(GCC_DIR)/configure \