diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-12-01 00:36:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 17:21:44 +0000 |
commit | b3484ab7f6add332f40d533e478724230b86fdb1 (patch) | |
tree | 72623384409fb3f85b46a135837f0e3c42cc9bb2 | |
parent | 45c87f4b4b96de5181821337583fe907cb3d5f4d (diff) | |
download | poky-b3484ab7f6add332f40d533e478724230b86fdb1.tar.gz |
kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips
The target directory didn't exist.
(From OE-Core rev: bd62851dc236a0279c735b290782602e275de5c1)
(From OE-Core rev: a7c49e98cff402b5400643ae2a04ae3f345c5bce)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 1 |
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() { | |||
264 | oe_runmake ${typeformake} CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} $use_alternate_initrd | 264 | oe_runmake ${typeformake} CC="${KERNEL_CC}" LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} $use_alternate_initrd |
265 | for type in ${KERNEL_IMAGETYPES} ; do | 265 | for type in ${KERNEL_IMAGETYPES} ; do |
266 | if test "${typeformake}.gz" = "${type}"; then | 266 | if test "${typeformake}.gz" = "${type}"; then |
267 | mkdir -p "${KERNEL_OUTPUT_DIR}" | ||
267 | gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}" | 268 | gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}" |
268 | break; | 269 | break; |
269 | fi | 270 | fi |