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 2164d11..4e78fc9 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)