diff mbox series

[meta-zephyr,5/5] zephyr-core: Add addpylib declaration

Message ID 20221216153723.1522131-5-peter.hoyes@arm.com
State New
Headers show
Series [meta-zephyr,1/5] CI: Add variables needed for k8s runners | expand

Commit Message

Peter Hoyes Dec. 16, 2022, 3:37 p.m. UTC
From: Peter Hoyes <Peter.Hoyes@arm.com>

OE-core 4901c9d471cab99d52876842980222ce271b66e4 "base: Switch to use
addpylib directive and BB_GLOBAL_PYMODULES" means that ${LAYERDIR}/lib
is no longer searched by default when loading test controllers.

meta-zephyr-core defines some custom test controllers for testing FVPs,
so add an addpylib directive to meta-zephyr-core/conf/layer.conf to fix

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
 meta-zephyr-core/conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/meta-zephyr-core/conf/layer.conf b/meta-zephyr-core/conf/layer.conf
index 3d1e57b..2b1c821 100644
--- a/meta-zephyr-core/conf/layer.conf
+++ b/meta-zephyr-core/conf/layer.conf
@@ -20,3 +20,5 @@  LAYERSERIES_COMPAT_zephyrcore = "dunfell gatesgarth hardknott honister kirkstone
 X86_TUNE_DIR = "${@bb.utils.contains_any('LAYERSERIES_CORENAMES', 'honister kirkstone langdale', 'include/x86', 'include', d)}"
 PYTHON3_NATIVE_SITEPACKAGES_DIR = "${libdir_native}/${PYTHON3_DIR}/site-packages"
+addpylib ${LAYERDIR}/lib oeqa