summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-23 14:36:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-07 08:58:41 +0200
commitdafda4b7f8852ba85d0235c180eb7790d5a1a531 (patch)
treed718563e81812402cdc2533d3ea89b1d7acda66c /include
parentb50dfd56221695b7a1b5d9a965a5b447d2c597ea (diff)
downloadopenwrt-dafda4b7f8852ba85d0235c180eb7790d5a1a531.tar.gz
openwrt-dafda4b7f8852ba85d0235c180eb7790d5a1a531.tar.bz2
openwrt-dafda4b7f8852ba85d0235c180eb7790d5a1a531.zip
image.mk: change the default of the kernel suffix
Make it more suitable for installing into bin/ Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 2164d1195d..4e78fc9042 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -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)