[gnome-continuous-yocto/gnomeostree-3.28-rocko: 38/218] kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG



commit a74725bc8d2664b8c3629022623d9ebbbfb9c43a
Author: Saul Wold <sgw linux intel com>
Date:   Mon Dec 4 10:39:23 2017 -0500

    kernel-yocto: ensure sccs variable is set when using KBUILD_DEFCONFIG
    
    When using KBUILD_DEFCONFIG, $sccs should be set to the $WORKDIR/defconfig
    regardless if it compares or is copied. Otherwise $sccs is not set and the
    defconfig is not found correctly.
    
    Part of
    [YOCTO #12162]
    
    (From OE-Core rev: 19c49d8d19341b377640af99c98e8f9d45cefb1b)
    
    Signed-off-by: Saul Wold <sgw linux intel com>
    Signed-off-by: Bruce Ashfield <bruce ashfield windriver com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
    (cherry picked from commit b63cc051f1eb58c768f49db2c04843336e62d3df)
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel-yocto.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 1d44795..98ec78f 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -110,8 +110,8 @@ do_kernel_metadata() {
                                fi
                        else
                                cp -f ${S}/arch/${ARCH}/configs/${KBUILD_DEFCONFIG} ${WORKDIR}/defconfig
-                               sccs="${WORKDIR}/defconfig"
                        fi
+                       sccs="${WORKDIR}/defconfig"
                else
                        bbfatal "A KBUILD_DEFCONFIG '${KBUILD_DEFCONFIG}' was specified, but not present in 
the source tree"
                fi


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