image.mk: change the default of the kernel suffix
authorFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 12:36:15 +0000 (14:36 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 7 Jun 2016 06:58:41 +0000 (08:58 +0200)
Make it more suitable for installing into bin/

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image.mk

index 2164d1195d4f29b275c1f4b3c256c9fb3a6c0b89..4e78fc90423ac4848804563a3a648bd620605fcf 100644 (file)
@@ -307,7 +307,7 @@ define Device/Init
 
   IMAGE_PREFIX := $(IMG_PREFIX)-$(1)
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
-  KERNEL_PREFIX = $(1)
+  KERNEL_PREFIX = $$(IMAGE_PREFIX)
   KERNEL_SUFFIX := -kernel.bin
   KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX)
   KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX)