Files
poky/meta/recipes-devtools
Hongxu Jia a477bc9088 perl_5.14.2.bb: fix dependecies
This patch fixes 2 problems.

The first one is that when run "perl -V" on target, it fails with lack
of some .pm files. So add these perl module files to package perl itself
to fix this failure.

The second problem is that package nativesdk-perl-modules doesn't depends
on the single perl modules.

In the .bb file, dependencies of perl-modules are set by:
RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"
The PACKAGES would be reset by do_split_packages since:

PACKAGES_DYNAMIC = "perl-module-*"
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"

Then:
1) The target perl-modules RRECOMMENDS on perl-module-*, this is what
   we expect.
2) But the nativesdk-perl-modules doesn't RRECOMMENDS on
   nativesdk-perl-module-*, this is not what we expect.
The value of PACKAGES after do_split_packages has been set correctly (it
contains the nativesdk-perl-module-* packages)

But the:RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"
doesn't work correctly for nativesdk, the
d.getVar('RRECOMMENDS_perl-modules', True)
doesn't get the new value of the PACKAGES, it gets the value of PACKAGES
before the do_split_packages.

Cherry-pick commit 51cbb5ae76

(From OE-Core rev: 4c2e03d9c078c72eb82cf9b9604cb7256387ccbe)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-23 13:00:51 +01:00
..
2012-09-28 15:19:39 +01:00
2012-07-28 09:20:51 +01:00
2012-01-03 12:14:31 +00:00
2012-09-02 05:52:07 -07:00
2012-10-03 10:04:56 +01:00
2012-09-02 05:52:10 -07:00
2012-02-28 12:27:46 +00:00
2012-09-28 15:19:39 +01:00
2012-09-21 11:10:21 +01:00
2012-02-26 22:51:58 +00:00
2011-07-20 15:27:36 +01:00
2011-11-29 11:22:04 +00:00
2012-05-08 14:49:15 +01:00
2013-04-23 13:00:51 +01:00
2013-03-01 15:38:47 +00:00
2013-04-23 13:00:48 +01:00
2012-07-17 10:54:01 +01:00
2012-09-24 12:13:49 +01:00
2011-12-08 15:24:32 +00:00
2012-08-19 10:46:39 +01:00