summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2018-10-22 18:53:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-25 14:36:34 +0100
commitcadd91655a336eb6d65ca43dc1231bbe5271e1cf (patch)
treea6df2ece15383fe58d719937f498bdf96b504a72
parent735430db632bcb1a1a5e7fe85b56408396881894 (diff)
downloadopenembedded-core-contrib-cadd91655a336eb6d65ca43dc1231bbe5271e1cf.tar.gz
openembedded-core-contrib-cadd91655a336eb6d65ca43dc1231bbe5271e1cf.tar.bz2
openembedded-core-contrib-cadd91655a336eb6d65ca43dc1231bbe5271e1cf.zip
kernel.bbclass: allow custom KERNEL_IMAGEDEST
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>
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index d0fbbd1989..e04d2fe004 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -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