From: Felix Fietkau Date: Mon, 23 May 2016 12:35:57 +0000 (+0200) Subject: image.mk: add support for specifying a different suffix for the initramfs kernel X-Git-Tag: v17.01.0-rc1~2504 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b50dfd56221695b7a1b5d9a965a5b447d2c597ea;p=openwrt%2Fstaging%2Fxback.git image.mk: add support for specifying a different suffix for the initramfs kernel Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index 57e6300e15..2164d1195d 100644 --- a/include/image.mk +++ b/include/image.mk @@ -309,9 +309,10 @@ define Device/Init IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2) KERNEL_PREFIX = $(1) KERNEL_SUFFIX := -kernel.bin + KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX) KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX) KERNEL_INITRAMFS_PREFIX = $$(IMAGE_PREFIX)-initramfs - KERNEL_INITRAMFS_IMAGE = $$(KERNEL_INITRAMFS_PREFIX)$$(KERNEL_SUFFIX) + KERNEL_INITRAMFS_IMAGE = $$(KERNEL_INITRAMFS_PREFIX)$$(KERNEL_INITRAMFS_SUFFIX) KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs KERNEL_INSTALL := KERNEL_NAME := vmlinux