summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/image
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-06 11:03:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-06 11:03:38 +0000
commit4b55233a08bc2c60096c08bca35bd7d9db9663ed (patch)
treebe0c5242b5dd4733ec35e4dfd43201cbb2692673 /target/linux/ixp4xx/image
parent8e9ff93f54b30ee2cf316737c896398ecf8631c0 (diff)
ixp4xx: do not delete /var, /jffs, /rom - it breaks non-freecom images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15118 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/image')
-rw-r--r--target/linux/ixp4xx/image/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile
index b1c715a64..f4fe4cae1 100644
--- a/target/linux/ixp4xx/image/Makefile
+++ b/target/linux/ixp4xx/image/Makefile
@@ -26,8 +26,6 @@ define Image/Build/Freecom
$(INSTALL_DIR) $(TARGET_DIR)/boot
# TODO: Add special CMDLINE shim for webupgrade image here
$(CP) $(BIN_DIR)/openwrt-$(2)-zImage $(TARGET_DIR)/zImage
- rm -rf $(TARGET_DIR)/{var,jffs,rom}
- $(INSTALL_DIR) $(TARGET_DIR)/var
$(TAR) cfj $(BIN_DIR)/openwrt-$(2)-$(1).img --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
$(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img
rm -f $(TARGET_DIR)/zImage