From: Eric Andersen Date: Wed, 8 Jan 2003 20:36:58 +0000 (-0000) Subject: Make the directory before touching files in it... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cbf64c83c741a0712335e62b5b008fadef70a5a;p=buildroot.git Make the directory before touching files in it... --- diff --git a/make/gcc_target.mk b/make/gcc_target.mk index f78e0bfc71..ff2da63c45 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 \