aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2004-12-11 10:31:14 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2004-12-11 10:31:14 +0000
commita22bafc958f4a3a3ae6fbb739744f87f41425c22 (patch)
tree4946bf16800dd13bed55c1f87a91096c8ca93b3e /Makefile
parentba7c48f3063a65e4158c98e2eef03c4946d2557d (diff)
downloadbuildroot-a22bafc958f4a3a3ae6fbb739744f87f41425c22.tar.gz
buildroot-a22bafc958f4a3a3ae6fbb739744f87f41425c22.tar.bz2
Don't nuke STAGING_DIR and TARGET_DIR
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
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