python: Switch to using the default -dbg package

Python was missing a lot of debug information.  Switch to use the default
-dbg package.  Also add some additional debug information to the -dbg package.

(From OE-Core rev: 63f4e1b469046753009d0cef498ef09c87c54912)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle
2011-06-20 13:14:21 -05:00
committed by Richard Purdie
parent 35e622d415
commit d1557562a5
4 changed files with 13 additions and 15 deletions

View File

@@ -4,6 +4,11 @@
# (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
# (C) 2007 Jeremy Laine
# licensed under MIT, see COPYING.MIT
#
# June 22, 2011 -- Mark Hatle <mark.hatle@windriver.com>
# * Updated to no longer generate special -dbg package, instead use the
# single system -dbg
# * Update version with ".1" to indicate this change
import os
import sys
@@ -12,7 +17,7 @@ import time
VERSION = "2.6.6"
__author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
__version__ = "20110222"
__version__ = "20110222.1"
class MakefileMaker:
@@ -76,9 +81,9 @@ class MakefileMaker:
# generate package line
#
packageLine = 'PACKAGES="${PN}-core-dbg '
packageLine = 'PACKAGES="${PN}-dbg '
for name in sorted(self.packages):
if name != '${PN}-core-dbg':
if name != '${PN}-dbg':
packageLine += "%s " % name
packageLine += '${PN}-modules"'
@@ -123,7 +128,7 @@ class MakefileMaker:
line = 'RDEPENDS_${PN}-modules="'
for name, data in sorted(self.packages.iteritems()):
if name not in ['${PN}-core-dbg', '${PN}-dev']:
if name not in ['${PN}-dev']:
line += "%s " % name
self.out( "%s \"" % line )
@@ -161,9 +166,6 @@ if __name__ == "__main__":
"lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " +
"lib-dynload/xreadlines.so types.* platform.* ${bindir}/python*" )
m.addPackage( "${PN}-core-dbg", "Python core module debug information", "${PN}-core",
"config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" )
m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core",
"${includedir} ${libdir}/libpython2.6.so" ) # package