mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 04:57:15 +00:00
python3: add python3-modules-native to RPROVIDES for python3-native
Also clean up the logic in the script to be more Pythonic. (From OE-Core rev: fae66dd3633aa8a6aa633fcfd7c4b9a728dee7a4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
b39d1c6842
commit
f1333958dd
2 files changed
+6
-8
No files matched your search
@@ -87,13 +87,11 @@ class MakefileMaker:
|
||||
#
|
||||
|
||||
if self.isNative:
|
||||
rprovideLine = 'RPROVIDES+="'
|
||||
for name in sorted(self.packages):
|
||||
rprovideLine += "%s-native " % name.replace( '${PN}', 'python3' )
|
||||
rprovideLine += '"'
|
||||
pkglist = []
|
||||
for name in ['${PN}-modules'] + sorted(self.packages):
|
||||
pkglist.append('%s-native' % name.replace('${PN}', 'python3'))
|
||||
|
||||
self.out( rprovideLine )
|
||||
self.out( "" )
|
||||
self.out('RPROVIDES += "%s"' % " ".join(pkglist))
|
||||
return
|
||||
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user