summaryrefslogtreecommitdiff
path: root/conf/machine/include/tegra-base.inc
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-06-16 15:24:28 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-06-16 15:30:36 +0200
commit6b78dd303da766d1e8fd1c9e425768dabb4f3df9 (patch)
tree982cc5c07f483612d9ea2e13c57e0833622242f4 /conf/machine/include/tegra-base.inc
parentdd117a2f14eba6b2344d7124c1449b47699160f9 (diff)
tegra: include trdx-nv-binaries when using X11
Include the NVIDIA binaries as soon as X11 is in distribution features. This allows to use the hardware accelerated X11 DDX driver "tegra" even when OpenGL is not selected by the image.
Diffstat (limited to 'conf/machine/include/tegra-base.inc')
-rw-r--r--conf/machine/include/tegra-base.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/machine/include/tegra-base.inc b/conf/machine/include/tegra-base.inc
index cd45d57..1d1f190 100644
--- a/conf/machine/include/tegra-base.inc
+++ b/conf/machine/include/tegra-base.inc
@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/mesa = "mesa"
PREFERRED_PROVIDER_virtual/egl = "trdx-nv-binaries"
PREFERRED_PROVIDER_virtual/libgles1 = "trdx-nv-binaries"
PREFERRED_PROVIDER_virtual/libgles2 = "trdx-nv-binaries"
+
+# Install NV binaries which contains tegra X-Server drivers when X11 is chosen
+MACHINE_EXTRA_RRECOMMENDS_append_tegra = " ${@base_contains('DISTRO_FEATURES', 'x11', 'trdx-nv-binaries', '', d)}"