summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-11-26 10:28:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-29 17:43:40 +0000
commit7767aa381906a4a377847eeca38c9257c460d6d3 (patch)
treeee9644ecc29237c0c97b1b81386a88055e95db18
parent52a6734881b65b4695654e5d6f1c50d632f4fbba (diff)
downloadpoky-7767aa381906a4a377847eeca38c9257c460d6d3.tar.gz
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>
-rw-r--r--meta/recipes-devtools/python/python_2.7.17.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.17.bb b/meta/recipes-devtools/python/python_2.7.17.bb
index ef5d564481..5807f63db4 100644
--- a/meta/recipes-devtools/python/python_2.7.17.bb
+++ b/meta/recipes-devtools/python/python_2.7.17.bb
@@ -218,7 +218,7 @@ python(){
218 d.appendVar('FILES_' + pypackage, ' ' + value) 218 d.appendVar('FILES_' + pypackage, ' ' + value)
219 if include_pycs == '1': 219 if include_pycs == '1':
220 if value.endswith('.py'): 220 if value.endswith('.py'):
221 d.appendVar('FILES_' + pypackage, ' ' + value + 'c') 221 d.appendVar('FILES_' + pypackage, ' ' + value + '?')
222 222
223 for value in python_manifest[key]['rdepends']: 223 for value in python_manifest[key]['rdepends']:
224 # Make it work with or without $PN 224 # Make it work with or without $PN