mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-14 02:44:45 +00:00
image.mk: add support for specifying a different suffix for the initramfs kernel
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
febc6cc5bf
commit
b50dfd5622
@ -309,9 +309,10 @@ define Device/Init
|
|||||||
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
|
||||||
KERNEL_PREFIX = $(1)
|
KERNEL_PREFIX = $(1)
|
||||||
KERNEL_SUFFIX := -kernel.bin
|
KERNEL_SUFFIX := -kernel.bin
|
||||||
|
KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX)
|
||||||
KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX)
|
KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX)
|
||||||
KERNEL_INITRAMFS_PREFIX = $$(IMAGE_PREFIX)-initramfs
|
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_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs
|
||||||
KERNEL_INSTALL :=
|
KERNEL_INSTALL :=
|
||||||
KERNEL_NAME := vmlinux
|
KERNEL_NAME := vmlinux
|
||||||
|
Loading…
Reference in New Issue
Block a user