[Openpvrsgx-devgroup] [PATCH] drm: pvrsgx: Fix module build for switching between DDK versions

Tony Lindgren tony at atomide.com
Mon Nov 9 07:14:22 CET 2020

We get build errors for modules when switching between DDK versions:

error: the following would cause module name conflict:

Signed-off-by: Tony Lindgren <tony at atomide.com>
 drivers/gpu/drm/pvrsgx/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/pvrsgx/Makefile b/drivers/gpu/drm/pvrsgx/Makefile
--- a/drivers/gpu/drm/pvrsgx/Makefile
+++ b/drivers/gpu/drm/pvrsgx/Makefile
@@ -60,6 +60,7 @@ SOURCE=$(obj)/$(SUBPATH)
 # FIXME: should somehow keep the compiled .o separate...
+	@rm -f $(obj)/modules.order
 	@$(kecho) "  MAKE    $(obj): cedarview"
 # Fix versions

More information about the openpvrsgx-devgroup mailing list