summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 00:36:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-11 11:46:48 +0000
commita7c49e98cff402b5400643ae2a04ae3f345c5bce (patch)
treeeb9b8de0bb6254bbd7840b6ecec2122a32180676 /meta/classes
parent6a4e09b295d760654fd43897841c014d50f109ab (diff)
downloadopenembedded-core-a7c49e98cff402b5400643ae2a04ae3f345c5bce.tar.gz
openembedded-core-a7c49e98cff402b5400643ae2a04ae3f345c5bce.tar.bz2
openembedded-core-a7c49e98cff402b5400643ae2a04ae3f345c5bce.zip
kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips
The target directory didn't exist. (From OE-Core rev: bd62851dc236a0279c735b290782602e275de5c1) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b21cdbccb7..d07f69c5ce 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -264,6 +264,7 @@ kernel_do_compile() {
oe_runmake ${typeformake} CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
for type in ${KERNEL_IMAGETYPES} ; do
if test "${typeformake}.gz" = "${type}"; then
+ mkdir -p "${KERNEL_OUTPUT_DIR}"
gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}"
break;
fi