add BOARD and KERNEL to tgz image file name

SVN-Revision: 4850
master
Nicolas Thill 18 years ago
parent ff06a061f1
commit c57cfeab0b
  1. 2
      openwrt/include/image.mk

@ -41,7 +41,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
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

Loading…
Cancel
Save