]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: allow custom KERNEL_IMAGEDEST
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>
Mon, 22 Oct 2018 15:53:04 +0000 (18:53 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2018 13:36:34 +0000 (14:36 +0100)
Some distros want to install the kernel in a custom location other
than /boot and have it properly packaged, so it's useful to use a
weaker assignment.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass

index d0fbbd19899b8d626f6122f6a01dca1cd2be4854..e04d2fe004340b0c6984ad4a52370851baaa2c9b 100644 (file)
@@ -164,7 +164,7 @@ KERNEL_RELEASE ?= "${KERNEL_VERSION}"
 
 # The directory where built kernel lies in the kernel tree
 KERNEL_OUTPUT_DIR ?= "arch/${ARCH}/boot"
-KERNEL_IMAGEDEST = "boot"
+KERNEL_IMAGEDEST ?= "boot"
 
 #
 # configuration