summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2016-12-01 00:36:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:31:30 +0000
commitc03d02f918256eab51e13b7237e2964e8004acc9 (patch)
tree4f2295a9c1591b7f64766042c10a1cab02b31a89
parentfffc641a103f5421caa83a820d1703bcfa7a940b (diff)
downloadpoky-c03d02f918256eab51e13b7237e2964e8004acc9.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) 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>
-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 5587346767..b779a767d3 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