add BOARD and KERNEL to tgz image file name

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4850 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill
2006-09-24 02:14:47 +00:00
parent 0a084f64dc
commit 71dcfb2a3e

View File

@@ -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