summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2010-01-22 09:53:39 -0700
committerChris Larson <clarson@mvista.com>2010-01-22 09:53:39 -0700
commitccf4b50951463b7cb3e02f85ea1d366666721743 (patch)
tree59443c12e682413612f6998ef86ca8db5b496917
parentc6088e990601e67708bba32a45a92aecb7e43d5c (diff)
package_dbg: kill the explicit dir list
Signed-off-by: Chris Larson <clarson@mvista.com>
-rw-r--r--classes/package_dbg.bbclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/classes/package_dbg.bbclass b/classes/package_dbg.bbclass
index 39dceaf9b3..19ab04ff39 100644
--- a/classes/package_dbg.bbclass
+++ b/classes/package_dbg.bbclass
@@ -8,10 +8,6 @@
inherit package
-PACKAGE_DBG_DIRS = "${bindir} ${sbindir} \
- ${libexecdir} ${libdir} \
- ${base_bindir} ${base_sbindir} \
- ${base_libdir}"
PACKAGE_DBG_DESC = "Debugging files for %s"
PACKAGE_DBG_EXCLUDE = "${PN}-locale* ${PN}-doc ${PN}-dev *-dbg"
@@ -101,15 +97,13 @@ python package_do_dbg() {
add_dbg_packages(d)
packages = d.getVar("PACKAGES", True).split()
desc = d.getVar("PACKAGE_DBG_DESC", True)
- debug_dirs = d.getVar("PACKAGE_DBG_DIRS", True).split()
done = []
for pkgname in tuple(packages):
files = tuple(__package_get_files(pkgname, d))
dbg = [join(dirname(file), ".debug", basename(file))
for file in files
- if not file in done and
- any(file.startswith(dir) for dir in debug_dirs)]
+ if not file in done]
done.extend(files)
if dbg: