From: Eric Andersen Date: Sat, 11 Dec 2004 10:31:14 +0000 (-0000) Subject: Don't nuke STAGING_DIR and TARGET_DIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a22bafc958f4a3a3ae6fbb739744f87f41425c22;p=buildroot.git Don't nuke STAGING_DIR and TARGET_DIR --- diff --git a/Makefile b/Makefile index 4891adfbfb..9fadf23a0a 100644 --- a/Makefile +++ b/Makefile @@ -100,14 +100,12 @@ $(TOOL_BUILD_DIR): mkdir $(TOOL_BUILD_DIR) $(STAGING_DIR): - rm -rf $(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 $(TARGET_DIR): - rm -rf $(TARGET_DIR) zcat target/default/skel.tar.gz | tar -C $(BUILD_DIR) -xf - cp -a target/default/target_skeleton/* $(TARGET_DIR)/ -find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1