diff options
author | Vinicius Aquino <voa.aquino@gmail.com> | 2021-04-19 15:09:15 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-04-20 12:10:12 -0300 |
commit | bd86b45ab0167a1e5e2dd5b6f44231bd7c24cc36 (patch) | |
tree | b7a1e587b8dc54ba394f7d1cb0af7ee6138a2a92 /recipes-graphics/mesa | |
parent | f5d3b67e3fb463d87588f8c9452f055e5d6f5a51 (diff) | |
download | meta-freescale-bd86b45ab0167a1e5e2dd5b6f44231bd7c24cc36.tar.gz |
mesa-etnaviv-env: Add support to sysvinit
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
Diffstat (limited to 'recipes-graphics/mesa')
-rw-r--r-- | recipes-graphics/mesa/mesa-etnaviv-env/mesa-etnaviv.sh | 2 | ||||
-rw-r--r-- | recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env/mesa-etnaviv.sh b/recipes-graphics/mesa/mesa-etnaviv-env/mesa-etnaviv.sh new file mode 100644 index 00000000..8854a877 --- /dev/null +++ b/recipes-graphics/mesa/mesa-etnaviv-env/mesa-etnaviv.sh | |||
@@ -0,0 +1,2 @@ | |||
1 | export MESA_GL_VERSION_OVERRIDE=2.1 | ||
2 | export ETNA_MESA_DEBUG=nir | ||
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 13cdf02d..2a32c448 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
@@ -4,12 +4,15 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
4 | 4 | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
6 | 6 | ||
7 | SRC_URI = "file://mesa-etnaviv.conf" | 7 | SRC_URI = "\ |
8 | file://mesa-etnaviv.conf \ | ||
9 | file://mesa-etnaviv.sh \ | ||
10 | " | ||
8 | 11 | ||
9 | do_configure[noexec] = "1" | 12 | do_configure[noexec] = "1" |
10 | do_compile[noexec] = "1" | 13 | do_compile[noexec] = "1" |
11 | 14 | ||
12 | do_install() { | 15 | do_install_use-mainline-bsp() { |
13 | # MESA global envirronment variables | 16 | # MESA global envirronment variables |
14 | 17 | ||
15 | # systemd | 18 | # systemd |
@@ -18,7 +21,11 @@ do_install() { | |||
18 | ${D}${sysconfdir}/systemd/system.conf.d/mesa-etnaviv.conf | 21 | ${D}${sysconfdir}/systemd/system.conf.d/mesa-etnaviv.conf |
19 | fi | 22 | fi |
20 | 23 | ||
21 | # sysvinit - TODO | 24 | # sysvinit |
25 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
26 | install -D -m 644 ${WORKDIR}/mesa-etnaviv.sh \ | ||
27 | ${D}${sysconfdir}/profile.d/mesa-etnaviv.sh | ||
28 | fi | ||
22 | } | 29 | } |
23 | 30 | ||
24 | ALLOW_EMPTY_${PN} = "1" | 31 | ALLOW_EMPTY_${PN} = "1" |