All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpan-base: Add more debug paths to FILES
@ 2012-10-18 22:19 Phil Blundell
  2012-10-18 22:28 ` Martin Jansa
  2012-10-23 19:02 ` Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Blundell @ 2012-10-18 22:19 UTC (permalink / raw)
  To: oe-core

We seem to be mostly installing modules into vendor_perl nowadays.
Make sure that the .debug data from there is captured appropriately.

Also, expand ${PERLLIBDIRS} at the point of assignment so we don't
call the python again and again.

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/classes/cpan-base.bbclass |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass
index 660c15f..cf697f1 100644
--- a/meta/classes/cpan-base.bbclass
+++ b/meta/classes/cpan-base.bbclass
@@ -39,8 +39,13 @@ def is_target(d):
         return "yes"
     return "no"
 
-PERLLIBDIRS = "${@perl_get_libdirs(d)}"
+PERLLIBDIRS := "${@perl_get_libdirs(d)}"
+PERLVERSION := "${@get_perl_version(d)}"
 
 FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
                     ${PERLLIBDIRS}/auto/*/*/.debug \
-                    ${PERLLIBDIRS}/auto/*/*/*/.debug"
+                    ${PERLLIBDIRS}/auto/*/*/*/.debug \
+		    ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/.debug \
+		    ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/.debug \
+		    ${PERLLIBDIRS}/vendor_perl/${PERLVERSION}/auto/*/*/*/.debug \
+		    "
-- 
1.7.9






^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-23 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 22:19 [PATCH] cpan-base: Add more debug paths to FILES Phil Blundell
2012-10-18 22:28 ` Martin Jansa
2012-10-23 19:02 ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.