summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-06 11:03:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-06 11:03:38 +0000
commit7b6729e101f5ee99e71b7317a21c9c0bb417faf6 (patch)
tree7ac095750037bea8fe82f29c9ddf4dff4df20324 /target/linux
parenta24e3ece65dd8da411369d0a1bb04a44808f127c (diff)
downloadmtk-20170518-7b6729e101f5ee99e71b7317a21c9c0bb417faf6.zip
mtk-20170518-7b6729e101f5ee99e71b7317a21c9c0bb417faf6.tar.gz
mtk-20170518-7b6729e101f5ee99e71b7317a21c9c0bb417faf6.tar.bz2
ixp4xx: do not delete /var, /jffs, /rom - it breaks non-freecom images
SVN-Revision: 15118
Diffstat (limited to 'target/linux')
-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 b1c715a..f4fe4ca 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