summaryrefslogtreecommitdiff
path: root/conf
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
commitd0c742137867d0874f22beba6f899a3c34847fb1 (patch)
tree81e3e3183902281ebb392538921662309b8b07f9 /conf
parent8fdc3db0ce7d445112da7c6a0dfe1e319cd327c9 (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')
-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)}"