kernel: update to 2.6.31.9 and 2.6.32.2, and refresh patches
[openwrt.git] / target / linux / ixp4xx / image / Makefile
index 82f2e96..f4fe4ca 100644 (file)
@@ -26,10 +26,9 @@ 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
 endef
 
 define Image/Prepare
This page took 0.0256 seconds and 4 git commands to generate.