[PATCH] Build etnaviv on non-ARM architectures
From: Matthew Wilcox
Date: Tue Jan 08 2019 - 15:44:12 EST
I wanted to test-compile etnaviv on x86 after making a tree-wide change
to it. Unfortunately, Kconfig has a bad dependency, so I couldn't.
Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
index 041a77e400d4..342591a1084e 100644
--- a/drivers/gpu/drm/etnaviv/Kconfig
+++ b/drivers/gpu/drm/etnaviv/Kconfig
@@ -2,7 +2,7 @@
config DRM_ETNAVIV
tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
depends on DRM
- depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
+ depends on ARCH_MXC || ARCH_DOVE || ARM || COMPILE_TEST
depends on MMU
select SHMEM
select SYNC_FILE