diff options
Diffstat (limited to 'scripts/contrib/python/generate-manifest-2.6.py')
-rwxr-xr-x | scripts/contrib/python/generate-manifest-2.6.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.6.py b/scripts/contrib/python/generate-manifest-2.6.py index 1b11266edf..0cc06b053e 100755 --- a/scripts/contrib/python/generate-manifest-2.6.py +++ b/scripts/contrib/python/generate-manifest-2.6.py | |||
@@ -4,6 +4,11 @@ | |||
4 | # (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> | 4 | # (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de> |
5 | # (C) 2007 Jeremy Laine | 5 | # (C) 2007 Jeremy Laine |
6 | # licensed under MIT, see COPYING.MIT | 6 | # licensed under MIT, see COPYING.MIT |
7 | # | ||
8 | # June 22, 2011 -- Mark Hatle <mark.hatle@windriver.com> | ||
9 | # * Updated to no longer generate special -dbg package, instead use the | ||
10 | # single system -dbg | ||
11 | # * Update version with ".1" to indicate this change | ||
7 | 12 | ||
8 | import os | 13 | import os |
9 | import sys | 14 | import sys |
@@ -12,7 +17,7 @@ import time | |||
12 | VERSION = "2.6.6" | 17 | VERSION = "2.6.6" |
13 | 18 | ||
14 | __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" | 19 | __author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" |
15 | __version__ = "20110222" | 20 | __version__ = "20110222.1" |
16 | 21 | ||
17 | class MakefileMaker: | 22 | class MakefileMaker: |
18 | 23 | ||
@@ -76,9 +81,9 @@ class MakefileMaker: | |||
76 | # generate package line | 81 | # generate package line |
77 | # | 82 | # |
78 | 83 | ||
79 | packageLine = 'PACKAGES="${PN}-core-dbg ' | 84 | packageLine = 'PACKAGES="${PN}-dbg ' |
80 | for name in sorted(self.packages): | 85 | for name in sorted(self.packages): |
81 | if name != '${PN}-core-dbg': | 86 | if name != '${PN}-dbg': |
82 | packageLine += "%s " % name | 87 | packageLine += "%s " % name |
83 | packageLine += '${PN}-modules"' | 88 | packageLine += '${PN}-modules"' |
84 | 89 | ||
@@ -123,7 +128,7 @@ class MakefileMaker: | |||
123 | line = 'RDEPENDS_${PN}-modules="' | 128 | line = 'RDEPENDS_${PN}-modules="' |
124 | 129 | ||
125 | for name, data in sorted(self.packages.iteritems()): | 130 | for name, data in sorted(self.packages.iteritems()): |
126 | if name not in ['${PN}-core-dbg', '${PN}-dev']: | 131 | if name not in ['${PN}-dev']: |
127 | line += "%s " % name | 132 | line += "%s " % name |
128 | 133 | ||
129 | self.out( "%s \"" % line ) | 134 | self.out( "%s \"" % line ) |
@@ -161,9 +166,6 @@ if __name__ == "__main__": | |||
161 | "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + | 166 | "lib-dynload/binascii.so lib-dynload/_struct.so lib-dynload/time.so " + |
162 | "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python*" ) | 167 | "lib-dynload/xreadlines.so types.* platform.* ${bindir}/python*" ) |
163 | 168 | ||
164 | m.addPackage( "${PN}-core-dbg", "Python core module debug information", "${PN}-core", | ||
165 | "config/.debug lib-dynload/.debug ${bindir}/.debug ${libdir}/.debug" ) | ||
166 | |||
167 | m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", | 169 | m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core", |
168 | "${includedir} ${libdir}/libpython2.6.so" ) # package | 170 | "${includedir} ${libdir}/libpython2.6.so" ) # package |
169 | 171 | ||