aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mesa/mesa-dri_7.8.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mesa/mesa-dri_7.8.2.bb')
-rw-r--r--recipes/mesa/mesa-dri_7.8.2.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/mesa/mesa-dri_7.8.2.bb b/recipes/mesa/mesa-dri_7.8.2.bb
new file mode 100644
index 0000000000..8c4cef66fd
--- /dev/null
+++ b/recipes/mesa/mesa-dri_7.8.2.bb
@@ -0,0 +1,11 @@
+require mesa-common.inc
+require mesa-${PV}.inc
+require mesa-dri.inc
+PR = "${INC_PR}.0"
+
+DEPENDS += "mesa-dri-glsl-native"
+
+# We need glsl-compile built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
+do_configure_prepend() {
+ sed -i "s#^GLSL_CL = .*\$#GLSL_CL = ${STAGING_BINDIR_NATIVE}/glsl-compile#g" ${S}/src/mesa/shader/slang/library/Makefile
+}