diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2016-12-01 00:36:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 10:26:12 +0000 |
commit | bd62851dc236a0279c735b290782602e275de5c1 (patch) | |
tree | c01eba4aa043588ffbf962a8db052ce8d48755f1 /meta/classes/kernel.bbclass | |
parent | a49569e3a7534779bbe3f01a0647fd076c95798d (diff) | |
download | openembedded-core-bd62851dc236a0279c735b290782602e275de5c1.tar.gz openembedded-core-bd62851dc236a0279c735b290782602e275de5c1.tar.bz2 openembedded-core-bd62851dc236a0279c735b290782602e275de5c1.zip |
kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips
The target directory didn't exist.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-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 5587346767..b779a767d3 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 |