create some empty missing directories here
[openwrt.git] / openwrt / Makefile
index dc52dfd..81ecc43 100644 (file)
@@ -105,8 +105,10 @@ $(STAGING_DIR):
        @ln -sf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib
 
 $(TARGET_DIR):
-       zcat target/default/skel.tar.gz | tar -C $(BUILD_DIR) -xf -
+       @mkdir -p $(TARGET_DIR)
        cp -a target/default/target_skeleton/* $(TARGET_DIR)/
+       mkdir $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin}
+       chmod 1777 $(TARGET_DIR)/tmp
        -find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1
 
 source: $(TARGETS_SOURCE)
This page took 0.018109 seconds and 4 git commands to generate.