diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-09-07 21:08:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-08 08:25:11 +0100 |
commit | 50c4c79315e5e9373e42ec5d3bc08fd799f54f58 (patch) | |
tree | 4e1ff86509e02e45e8dd87f97b8a420a96912f0b /meta | |
parent | 81297ee22dbe3e8b6fa81cb6f67260e34fc657e2 (diff) | |
download | poky-50c4c79315e5e9373e42ec5d3bc08fd799f54f58.tar.gz |
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.
(From OE-Core rev: 614227f28a023fe148307e0d85a5e9b8d9b74372)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index f991f0219b..82b9210b0f 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -239,10 +239,10 @@ do_kernel_configme() { | |||
239 | # translate the kconfig_mode into something that merge_config.sh | 239 | # translate the kconfig_mode into something that merge_config.sh |
240 | # understands | 240 | # understands |
241 | case ${KCONFIG_MODE} in | 241 | case ${KCONFIG_MODE} in |
242 | allnoconfig) | 242 | *allnoconfig) |
243 | config_flags="-n" | 243 | config_flags="-n" |
244 | ;; | 244 | ;; |
245 | alldefconfig) | 245 | *alldefconfig) |
246 | config_flags="" | 246 | config_flags="" |
247 | ;; | 247 | ;; |
248 | *) | 248 | *) |