]> code.ossystems Code Review - openembedded-core.git/commit
do_split_packages: revise for multilib case
authorYu Ke <ke.yu@intel.com>
Sat, 16 Jul 2011 02:02:53 +0000 (10:02 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2011 15:15:48 +0000 (16:15 +0100)
commita4bc86713892502aeefbbdb3053e8cf1e1fc0bdb
tree87b7c78f4afed29975cd126a38e63ec966156eca
parent20dd241052afa5ff80b91ebf09b0b48765bc3412
do_split_packages: revise for multilib case

in multilib case, the PACKAGE_DYNAMIC is overrided with multilib
prefix. Take multilib:lib64-perl as example. the "perl-module-*"
will become "lib64-perl-module-*"

the output_pattern in do_split_packages is designed to work with
PACKAGE_DYNAMIC, so it should be applied with the same logic, i.e.
overriding with multilib prefix. otherwise the do_split_package will
split incorrect files

this patch implements the mulitlib override logic for do_split_packages

We also need to rename the extra_depends to support multilib case
(from Dongxaio Xu).

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com>
meta/classes/package.bbclass