]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: allow --allnoconfig and --alldefconfig as KCONFIG_MODES
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 8 Sep 2016 01:08:46 +0000 (21:08 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Sep 2016 07:25:03 +0000 (08:25 +0100)
Previously merge_config.sh was wrapped by the configme script, configme
took the different KCONFIG_MODES as options, and used --allnoconfig
or --alldefconfig.

With the switch to merge_config.sh no longer being wrapped, the new
processing wasn't matching the existing values and only supported
allnoconfig or alldefconfig.

To avoid breaking existing layers, and also keep any working that
have already switched, we can make the case statement match both.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass

index f991f0219b1fb4e1340ba15c0012d3137fdc9f6b..82b9210b0f5832cd393c4f48c7ca20130cc550dd 100644 (file)
@@ -239,10 +239,10 @@ do_kernel_configme() {
        # translate the kconfig_mode into something that merge_config.sh
        # understands
        case ${KCONFIG_MODE} in
-               allnoconfig)
+               *allnoconfig)
                        config_flags="-n"
                        ;;
-               alldefconfig)
+               *alldefconfig)
                        config_flags=""
                        ;;
            *)