summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-11 15:27:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-12 15:27:17 +0100
commitdc850a1066e7dd396ccb6d0e20dc989a2f13fd0a (patch)
tree5b5548770e62ef7113d15c5aa01c9282cc61d02f
parentfd1517e2b51a170f2427122c6b95396db251d827 (diff)
downloadpoky-dc850a1066e7dd396ccb6d0e20dc989a2f13fd0a.tar.gz
recipetool: Update for class changes
(From OE-Core rev: 0ea8afd4f9599469d1a23824c451c62eabb76660) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/recipetool/create_buildsys_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 5686a62d3f..4675cc68fa 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -565,7 +565,7 @@ class PythonRecipeHandler(RecipeHandler):
565 pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR') 565 pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR')
566 566
567 ldata = tinfoil.config_data.createCopy() 567 ldata = tinfoil.config_data.createCopy()
568 bb.parse.handle('classes/python3-dir.bbclass', ldata, True) 568 bb.parse.handle('classes-recipe/python3-dir.bbclass', ldata, True)
569 python_sitedir = ldata.getVar('PYTHON_SITEPACKAGES_DIR') 569 python_sitedir = ldata.getVar('PYTHON_SITEPACKAGES_DIR')
570 570
571 dynload_dir = os.path.join(os.path.dirname(python_sitedir), 'lib-dynload') 571 dynload_dir = os.path.join(os.path.dirname(python_sitedir), 'lib-dynload')