summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-01 17:11:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-08 11:15:47 +0000
commit4d19594b8bdacde6d809d3f2a25cff7c5a42295e (patch)
tree21396fcd2514f14ac4db34e1db7ab5d85d76d822 /meta/classes-recipe/populate_sdk_ext.bbclass
parent4901c9d471cab99d52876842980222ce271b66e4 (diff)
downloadpoky-4d19594b8bdacde6d809d3f2a25cff7c5a42295e.tar.gz
devtool/friends: Use LAYERSERIES_CORENAMES when generating LAYERSERIES_COMPAT entries4.2_M1
It seems some layers want to subvert the intent of LAYERSERIES_COMPAT so bitbake is going to have to become stricter about the values there. To work with this, use LAYERSERIES_CORENAMES to generate the entries in LAYERSERIES_COMPAT instead of the current magic LAYERSERIES_COMPAT_core value which may not continue to work. The downside to this is when migating between releases, people would need to update devtool workspace layer.conf files. I guess you could argue this is a feature! (From OE-Core rev: 96ff9baa8ead57504f40f362ed3a4aaa776d1b58) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes-recipe/populate_sdk_ext.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index 01d8a693a7..f78a9f4e9b 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -255,7 +255,7 @@ python copy_buildsystem () {
255 bbpath = d.getVar('BBPATH') 255 bbpath = d.getVar('BBPATH')
256 env = os.environ.copy() 256 env = os.environ.copy()
257 env['PYTHONDONTWRITEBYTECODE'] = '1' 257 env['PYTHONDONTWRITEBYTECODE'] = '1'
258 bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--create-only', os.path.join(baseoutpath, 'workspace')], env=env) 258 bb.process.run(['devtool', '--bbpath', bbpath, '--basepath', baseoutpath, 'create-workspace', '--layerseries', d.getVar("LAYERSERIES_CORENAMES"), '--create-only', os.path.join(baseoutpath, 'workspace')], env=env)
259 259
260 # Create bblayers.conf 260 # Create bblayers.conf
261 bb.utils.mkdirhier(baseoutpath + '/conf') 261 bb.utils.mkdirhier(baseoutpath + '/conf')
@@ -498,7 +498,6 @@ python copy_buildsystem () {
498 else: 498 else:
499 tasklistfn = None 499 tasklistfn = None
500 500
501
502 cachedir = os.path.join(baseoutpath, 'cache') 501 cachedir = os.path.join(baseoutpath, 'cache')
503 bb.utils.mkdirhier(cachedir) 502 bb.utils.mkdirhier(cachedir)
504 bb.parse.siggen.copy_unitaskhashes(cachedir) 503 bb.parse.siggen.copy_unitaskhashes(cachedir)