@@ -127,7 +127,8 @@ PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native"
PACKAGECONFIG[ethosu] = ""
PACKAGECONFIG[freedreno] = ""
PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false"
-PACKAGECONFIG[intel] = ""
+intel_rt_enabled = "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc gallium-llvm', '-Dintel-rt=enabled', '', d)}"
+PACKAGECONFIG[intel] = "${intel_rt_enabled},-Dintel-rt=disabled"
PACKAGECONFIG[lima] = ""
PACKAGECONFIG[nouveau] = ""
PACKAGECONFIG[panfrost] = ""
Enable intel-rt if 'libclc', 'gallium-llvm' and 'intel' are in PACKAGECONFIG Signed-off-by: Markus Volk <f_l_k@t-online.de> --- meta/recipes-graphics/mesa/mesa.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)