mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
If you have both a fixed version of mesa and a git version of mesa, you also need the mesa-dri-glsl-native recipe for each versions. The code generation that happens natively has to be done with the tool extracted from the version you are compiling. (From OE-Core rev: 63667a138616c551cedbd10d4ed87172fcf9dfff) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
665 B
BlitzBasic
24 lines
665 B
BlitzBasic
require mesa-dri-glsl-native.inc
|
|
|
|
LIC_FILES_CHKSUM = "file://../../docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
|
|
|
|
SRCREV = "c1f4867c89adb1a6b19d66ec8ad146115909f0a7"
|
|
PV = "8.0.4+git${SRCPV}"
|
|
DEFAULT_PREFERENCE = "-1"
|
|
|
|
SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git"
|
|
S = "${WORKDIR}/git/src/glsl"
|
|
|
|
inherit native
|
|
|
|
# use default config for native build
|
|
do_configure_prepend() {
|
|
ln -sf ${S}/../../configs/default ${S}/../../configs/current
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}/${bindir}/glsl
|
|
install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler
|
|
install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler
|
|
}
|