From 8e9ff93f54b30ee2cf316737c896398ecf8631c0 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 6 Apr 2009 10:29:40 +0000
Subject: ixp4xx: don't leave zImage on the rootfs for images other than the
 freecom one

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15117 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ixp4xx/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile
index 82f2e96d5..b1c715a64 100644
--- a/target/linux/ixp4xx/image/Makefile
+++ b/target/linux/ixp4xx/image/Makefile
@@ -30,6 +30,7 @@ define Image/Build/Freecom
 	$(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
-- 
cgit v1.2.3