summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-09-27 19:08:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 14:58:53 +0100
commit6f6863a2581b434390c0729cd9915306ffbf6924 (patch)
treebc0e17ab11dca8cba8413ba5c6ccf6bcec81c195
parent9184d807f776ca3c9ef315050fb2a9e139fedc8b (diff)
downloadpoky-6f6863a2581b434390c0729cd9915306ffbf6924.tar.gz
multilib: remove the multilib handling to allarch
currently we have allarch type of recipes, which may still have architecture dependency, like x11-common. So we need to drop the handling to allarch in multilib case. Also remove the PV postfix in python-pygobject DEPENDS, since multilib code will treat a native package multilib capable. [YOCTO #1497] [YOCTO #1498] (From OE-Core rev: 64c0279e6b0d2325a326058476228360898550f3) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/multilib.bbclass2
-rw-r--r--meta/classes/multilib_global.bbclass2
-rw-r--r--meta/conf/multilib.conf7
-rw-r--r--meta/recipes-devtools/python/python-pygobject_2.27.91.bb2
4 files changed, 10 insertions, 3 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 0ea1038de9..6c0dd37930 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -8,7 +8,7 @@ python multilib_virtclass_handler () {
8 return 8 return
9 9
10 # There should only be one kernel in multilib configs 10 # There should only be one kernel in multilib configs
11 if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data) or bb.data.inherits_class('allarch', e.data): 11 if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data):
12 raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel") 12 raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel")
13 13
14 if bb.data.inherits_class('image', e.data): 14 if bb.data.inherits_class('image', e.data):
diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass
index cd22163894..2da66a5e6e 100644
--- a/meta/classes/multilib_global.bbclass
+++ b/meta/classes/multilib_global.bbclass
@@ -5,7 +5,7 @@ python multilib_virtclass_handler_global () {
5 variant = e.data.getVar("BBEXTENDVARIANT", True) 5 variant = e.data.getVar("BBEXTENDVARIANT", True)
6 6
7 if isinstance(e, bb.event.RecipeParsed) and not variant: 7 if isinstance(e, bb.event.RecipeParsed) and not variant:
8 if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data) or bb.data.inherits_class('allarch', e.data): 8 if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data):
9 variants = (e.data.getVar("MULTILIB_VARIANTS", True) or "").split() 9 variants = (e.data.getVar("MULTILIB_VARIANTS", True) or "").split()
10 10
11 # Process PROVIDES 11 # Process PROVIDES
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
index 3133bf1831..b9da33ae4a 100644
--- a/meta/conf/multilib.conf
+++ b/meta/conf/multilib.conf
@@ -452,3 +452,10 @@ BBCLASSEXTEND_append_pn-zip = " ${MULTILIBS}"
452BBCLASSEXTEND_append_pn-zlib = " ${MULTILIBS}" 452BBCLASSEXTEND_append_pn-zlib = " ${MULTILIBS}"
453BBCLASSEXTEND_append_pn-zypper = " ${MULTILIBS}" 453BBCLASSEXTEND_append_pn-zypper = " ${MULTILIBS}"
454BBCLASSEXTEND_append_pn-libsdl = " ${MULTILIBS}" 454BBCLASSEXTEND_append_pn-libsdl = " ${MULTILIBS}"
455BBCLASSEXTEND_append_pn-qemu-config = " ${MULTILIBS}"
456BBCLASSEXTEND_append_pn-x11-common = " ${MULTILIBS}"
457BBCLASSEXTEND_append_pn-update-rc.d = " ${MULTILIBS}"
458BBCLASSEXTEND_append_pn-avahi-ui = " ${MULTILIBS}"
459BBCLASSEXTEND_append_pn-python-pycairo = " ${MULTILIBS}"
460BBCLASSEXTEND_append_pn-python-pygtk = " ${MULTILIBS}"
461BBCLASSEXTEND_append_pn-python-pygobject = " ${MULTILIBS}"
diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
index 9ff2fe7ddb..fd696a5515 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.27.91.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Python GObject bindings"
2SECTION = "devel/python" 2SECTION = "devel/python"
3LICENSE = "LGPLv2.1" 3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 4LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
5DEPENDS = "python python-pygobject-native-${PV} glib-2.0" 5DEPENDS = "python python-pygobject-native glib-2.0"
6DEPENDS_virtclass-native = "glib-2.0-native" 6DEPENDS_virtclass-native = "glib-2.0-native"
7RDEPENDS_virtclass-native = "" 7RDEPENDS_virtclass-native = ""
8PR = "r2" 8PR = "r2"