diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-07 16:33:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-07 22:29:07 +0100 |
commit | 30ac343888dc801614922045b374537c6c54f312 (patch) | |
tree | bca2763448512cd50522fd0693ed3f8f42417eeb | |
parent | d84fd7c1e90f080ea0c702cba9a9f81a2c465ee6 (diff) | |
download | openembedded-core-30ac343888dc801614922045b374537c6c54f312.tar.gz openembedded-core-30ac343888dc801614922045b374537c6c54f312.tar.bz2 openembedded-core-30ac343888dc801614922045b374537c6c54f312.zip |
multilib_global.bbclass: handle kernel-module-* for multilib
bitbake would report failed dependency of kernel-module-* when testing
multilib. kernel-module-* are recommended by some other recipes.
Do not extend name for kernel-module-* related packages.
[YOCTO #1456]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/multilib_global.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index 217349b2d4..1263e4ea82 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass @@ -17,6 +17,8 @@ python multilib_virtclass_handler_global () { addhandler multilib_virtclass_handler_global def multilib_extend_name(variant, name): + if name.startswith("kernel-module"): + return name if name.startswith("virtual/"): subs = name.split("/", 1)[1] if not subs.startswith(variant): |