summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-22 12:05:19 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-22 12:05:19 +0000
commite7d0f3d57c11183a584c1e1cca955b849c9de9c3 (patch)
treea79034af9d3c94fbeec153ee5f628ea8aa877d5b
parent2af3b213e554d34d7f17e41cd9f5abfe842f6a08 (diff)
downloadopenembedded-core-e7d0f3d57c11183a584c1e1cca955b849c9de9c3.tar.gz
openembedded-core-e7d0f3d57c11183a584c1e1cca955b849c9de9c3.tar.bz2
openembedded-core-e7d0f3d57c11183a584c1e1cca955b849c9de9c3.tar.xz
openembedded-core-e7d0f3d57c11183a584c1e1cca955b849c9de9c3.zip
perl: Fix .debug file packaging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@811 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/perl/perl.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/packages/perl/perl.inc b/meta/packages/perl/perl.inc
index a9a3d6b65..9824e0739 100644
--- a/meta/packages/perl/perl.inc
+++ b/meta/packages/perl/perl.inc
@@ -62,7 +62,7 @@ PACKAGES_DYNAMIC = "perl-module-*"
python populate_packages_prepend () {
libdir = bb.data.expand('${libdir}/perl5/${PV}', d)
archlibdir = bb.data.expand('${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}', d)
- do_split_packages(d, archlibdir, 'auto/(.*)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
+ do_split_packages(d, archlibdir, 'auto/(.*)(?!\.debug)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
do_split_packages(d, archlibdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
do_split_packages(d, libdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
}
@@ -73,3 +73,7 @@ FILES_${PN}-lib = "/usr/lib/libperl.so*"
FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/"
FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod"
FILES_perl-misc = "/usr/bin/*"
+FILES_${PN}-dbg += " \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/.debug \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/*/.debug \
+ ${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/auto/*/*/*/.debug"