libdrm: Enable tegra for linux platform instead of ARM arch

This aligns flag as the rest of SoCs like omap and etnaviv
and helps finding headers for development in hosts outside
ARM arch
This commit is contained in:
Ion Agorria
2026-02-09 14:26:21 +01:00
parent d96326566e
commit 9d433abc2b
+1 -3
View File
@@ -47,9 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonEnable "intel" withIntel)
(lib.mesonEnable "omap" stdenv.hostPlatform.isLinux)
(lib.mesonEnable "valgrind" withValgrind)
]
++ lib.optionals stdenv.hostPlatform.isAarch [
"-Dtegra=enabled"
(lib.mesonEnable "tegra" stdenv.hostPlatform.isLinux)
]
++ lib.optionals (!stdenv.hostPlatform.isLinux) [
"-Detnaviv=disabled"