fix initial root dirs creation when empty cvs dirs are not pruned

SVN-Revision: 247
This commit is contained in:
Nicolas Thill 2005-02-17 06:36:48 +00:00
parent 1914c16f25
commit b3aeb6d579

View File

@ -107,7 +107,7 @@ $(STAGING_DIR):
$(TARGET_DIR): $(TARGET_DIR):
@mkdir -p $(TARGET_DIR) @mkdir -p $(TARGET_DIR)
cp -a target/default/target_skeleton/* $(TARGET_DIR)/ cp -a target/default/target_skeleton/* $(TARGET_DIR)/
mkdir $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin} mkdir -p $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin}
chmod 1777 $(TARGET_DIR)/tmp chmod 1777 $(TARGET_DIR)/tmp
-find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1 -find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1