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>
This commit is contained in:
parent
fffc641a10
commit
c03d02f918
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue