diff mbox series

Build etnaviv on non-ARM architectures

Message ID 20190108204356.GF6310@bombadil.infradead.org (mailing list archive)
State New, archived
Headers show
Series Build etnaviv on non-ARM architectures | expand

Commit Message

Matthew Wilcox (Oracle) Jan. 8, 2019, 8:43 p.m. UTC
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@infradead.org>

Comments

Lucas Stach Jan. 9, 2019, 9:36 a.m. UTC | #1
Am Dienstag, den 08.01.2019, 12:43 -0800 schrieb Matthew Wilcox:
> 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@infradead.org>

I think we even want to relax this some more in the future, as Vivante
GPUs are also found on non ARM SoCs, but that needs some more testing
so I applied this patch to etnaviv/next as it's certainly the right
thing to do.

Regards,
Lucas

> 
> 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
>
diff mbox series

Patch

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