summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb
new file mode 100644
index 0000000000..4611f8032b
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb
@@ -0,0 +1,23 @@
1require mesa-dri-glsl-native.inc
2
3LIC_FILES_CHKSUM = "file://../../docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
4
5SRCREV = "c1f4867c89adb1a6b19d66ec8ad146115909f0a7"
6PV = "8.0.4+git${SRCPV}"
7DEFAULT_PREFERENCE = "-1"
8
9SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git"
10S = "${WORKDIR}/git/src/glsl"
11
12inherit native
13
14# use default config for native build
15do_configure_prepend() {
16 ln -sf ${S}/../../configs/default ${S}/../../configs/current
17}
18
19do_install() {
20 install -d ${D}/${bindir}/glsl
21 install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler
22 install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler
23}