From: Eric Andersen Date: Sat, 11 Dec 2004 10:35:18 +0000 (-0000) Subject: Don't fail for existing dirs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf38723fceda7fa1cf588147d810343514e8b7ff;p=buildroot.git Don't fail for existing dirs --- diff --git a/Makefile b/Makefile index c044a742cb..47708aa360 100644 --- a/Makefile +++ b/Makefile @@ -92,19 +92,19 @@ include target/*/*.mk # ############################################################# $(DL_DIR): - mkdir $(DL_DIR) + @mkdir -p $(DL_DIR) $(BUILD_DIR): - mkdir $(BUILD_DIR) + @mkdir -p $(BUILD_DIR) $(TOOL_BUILD_DIR): - mkdir $(TOOL_BUILD_DIR) + @mkdir -p $(TOOL_BUILD_DIR) $(STAGING_DIR): - mkdir -p $(STAGING_DIR)/lib - mkdir -p $(STAGING_DIR)/include - mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) - ln -sf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib + @mkdir -p $(STAGING_DIR)/lib + @mkdir -p $(STAGING_DIR)/include + @mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) + @ln -sf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib $(TARGET_DIR): zcat target/default/skel.tar.gz | tar -C $(BUILD_DIR) -xf -