[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3592/8267] kernel.bbclass: fix kernel_do_compile for KERNEL_IMAGETYPE = "vmlinux.gz" on mips



commit c03d02f918256eab51e13b7237e2964e8004acc9
Author: Andreas Oberritter <obi opendreambox org>
Date:   Thu Dec 1 00:36:51 2016 +0100

    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>

 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 5587346..b779a76 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]