ixp4xx: do not delete /var, /jffs, /rom - it breaks non-freecom images
authorFelix Fietkau <nbd@openwrt.org>
Mon, 6 Apr 2009 11:03:38 +0000 (11:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 6 Apr 2009 11:03:38 +0000 (11:03 +0000)
SVN-Revision: 15118

target/linux/ixp4xx/image/Makefile

index b1c715a640073d5f56c524c210d2510c5b5554c7..f4fe4cae15fa7fb28db2ef3b5f4fd08624c2ec21 100644 (file)
@@ -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