summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-23 14:35:57 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-07 08:58:40 +0200
commitb50dfd56221695b7a1b5d9a965a5b447d2c597ea (patch)
tree365984e1a89e9cba82c883ac3307317e7528e475 /include
parentfebc6cc5bf4b9523842097e917e0ba9addf18193 (diff)
downloadopenwrt-b50dfd56221695b7a1b5d9a965a5b447d2c597ea.tar.gz
openwrt-b50dfd56221695b7a1b5d9a965a5b447d2c597ea.tar.bz2
openwrt-b50dfd56221695b7a1b5d9a965a5b447d2c597ea.zip
image.mk: add support for specifying a different suffix for the initramfs kernel
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/image.mk3
1 files changed, 2 insertions, 1 deletions
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