summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-09-07 16:33:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-07 22:54:16 +0100
commit8d5c35bf999bdd565ab1d8753a5c0e2d194619ac (patch)
tree9b2baacad3ba7a1a31076e9613aa7323c321893f /meta
parent84760050ab5b2fc185782b05ef5b746fffad2e0c (diff)
downloadpoky-8d5c35bf999bdd565ab1d8753a5c0e2d194619ac.tar.gz
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] (From OE-Core rev: 30ac343888dc801614922045b374537c6c54f312) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/multilib_global.bbclass2
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 () {
17addhandler multilib_virtclass_handler_global 17addhandler multilib_virtclass_handler_global
18 18
19def multilib_extend_name(variant, name): 19def multilib_extend_name(variant, name):
20 if name.startswith("kernel-module"):
21 return name
20 if name.startswith("virtual/"): 22 if name.startswith("virtual/"):
21 subs = name.split("/", 1)[1] 23 subs = name.split("/", 1)[1]
22 if not subs.startswith(variant): 24 if not subs.startswith(variant):