[oe-commits] [openembedded-core] 02/05: kernel-yocto: allow --allnoconfig and --alldefconfig as KCONFIG_MODES
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 8 07:26:02 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 614227f28a023fe148307e0d85a5e9b8d9b74372
Author: Bruce Ashfield <bruce.ashfield at windriver.com>
AuthorDate: Wed Sep 7 21:08:46 2016 -0400
kernel-yocto: allow --allnoconfig and --alldefconfig as KCONFIG_MODES
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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/kernel-yocto.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index f991f02..82b9210 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -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=""
;;
*)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list