add BOARD and KERNEL to tgz image file name
authorNicolas Thill <nico@openwrt.org>
Sun, 24 Sep 2006 02:14:47 +0000 (02:14 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 24 Sep 2006 02:14:47 +0000 (02:14 +0000)
SVN-Revision: 4850

openwrt/include/image.mk

index 903c27b..0651679 100644 (file)
@@ -41,7 +41,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
     
   ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
     define Image/mkfs/tgz
     
   ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y)
     define Image/mkfs/tgz
-               tar -zcf $(BIN_DIR)/openwrt-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
+               tar -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
     endef
   endif
   
     endef
   endif