aboutsummaryrefslogtreecommitdiffstats
path: root/classes/cpan-base.bbclass
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-05-04 02:09:42 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-05-04 02:09:42 +0000
commitbafa9b3ec1bd91cd710d587a31b58db4c1e2a503 (patch)
treed076800221bf8f9b9875e9c36b828852e2498ace /classes/cpan-base.bbclass
parent470e37be6f885f4980583cf0b99b23858d40b2f8 (diff)
downloadopenembedded-bafa9b3ec1bd91cd710d587a31b58db4c1e2a503.tar.gz
perl: Add the .debug directories that to FILES_${PN}-dbg in the
cpan-base.bbclass, and then update the cpan modules to no longer manually specify this. Also remove references to the new removed .packlist files.
Diffstat (limited to 'classes/cpan-base.bbclass')
-rw-r--r--classes/cpan-base.bbclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
index e10148aba8..a5fdb33895 100644
--- a/classes/cpan-base.bbclass
+++ b/classes/cpan-base.bbclass
@@ -1,8 +1,8 @@
#
-# This is for perl modules that use the old Makefile.PL build system
+# cpan-base providers various perl related information needed for building
+# cpan modules
#
-FILES_${PN} += '${libdir}/perl5 ${datadir}/perl5'
-EXTRA_CPANFLAGS ?= ""
+FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5"
DEPENDS += "perl perl-native"
RDEPENDS += "perl"
@@ -49,3 +49,7 @@ def is_target(d):
IS_NEW_PERL = "${@is_new_perl(d)}"
PERLLIBDIRS = "${@perl_get_libdirs(d)}"
+
+FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
+ ${PERLLIBDIRS}/auto/*/*/.debug \
+ ${PERLLIBDIRS}/auto/*/*/*/.debug"