summaryrefslogtreecommitdiff
path: root/scripts/contrib/python
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-14 13:02:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-14 13:02:57 +0000
commit0030644f4890ca25894916189470317650ec8246 (patch)
tree3796ef9bdfcb9fb6249132bf8be9ef7525429912 /scripts/contrib/python
parentd90eadccdb5a2f0fddc79dbdcec80b5f3f7908c8 (diff)
downloadopenembedded-core-0030644f4890ca25894916189470317650ec8246.tar.gz
openembedded-core-0030644f4890ca25894916189470317650ec8246.tar.bz2
openembedded-core-0030644f4890ca25894916189470317650ec8246.zip
scripts/contrib/python/generate-manifest-2.7.py: Catch up with staticdev fixes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/python')
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index e0171f9e3e..85ca353285 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -83,7 +83,10 @@ class MakefileMaker:
packageLine = 'PACKAGES="${PN}-dbg '
for name in sorted(self.packages):
- if name != '${PN}-dbg':
+ if name.startswith("${PN}-distutils"):
+ if name == "${PN}-distutils":
+ packageLine += "%s-staticdev %s " % (name, name)
+ elif name != '${PN}-dbg':
packageLine += "%s " % name
packageLine += '${PN}-modules"'
@@ -128,7 +131,7 @@ class MakefileMaker:
line = 'RDEPENDS_${PN}-modules="'
for name, data in sorted(self.packages.iteritems()):
- if name not in ['${PN}-dev']:
+ if name not in ['${PN}-dev', '${PN}-distutils-staticdev']:
line += "%s " % name
self.out( "%s \"" % line )
@@ -235,6 +238,9 @@ if __name__ == "__main__":
m.addPackage( "${PN}-difflib", "Python helpers for computing deltas between objects.", "${PN}-lang ${PN}-re",
"difflib.*" )
+ m.addPackage( "${PN}-distutils-staticdev", "Python Distribution Utilities (Static Libraries)", "${PN}-distutils",
+ "config/lib*.a" ) # package
+
m.addPackage( "${PN}-distutils", "Python Distribution Utilities", "${PN}-core",
"config distutils" ) # package