mirror of
https://git.yoctoproject.org/poky
synced 2026-03-25 10:02:22 +01:00
python: package .pyo files too
The manifest parsing code was only adding .py and .pyc paths to FILES, generalise the latter to .py? so it catches .pyo files too. (From OE-Core rev: 1e0ef76dcccfa10cdf473670acd2c52332bb3412) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
52a6734881
commit
7767aa3819
@@ -218,7 +218,7 @@ python(){
|
||||
d.appendVar('FILES_' + pypackage, ' ' + value)
|
||||
if include_pycs == '1':
|
||||
if value.endswith('.py'):
|
||||
d.appendVar('FILES_' + pypackage, ' ' + value + 'c')
|
||||
d.appendVar('FILES_' + pypackage, ' ' + value + '?')
|
||||
|
||||
for value in python_manifest[key]['rdepends']:
|
||||
# Make it work with or without $PN
|
||||
|
||||
Reference in New Issue
Block a user