Skip to contentSkip to conversation

fbdev: vesafb: Allow to be built if COMPILE_TEST is enabled

PATCH In review Javier Martinez Canillas 1 participant 2 messages May 5, 2022 – May 13, 2022 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: vesafb: Allow to be built if COMPILE_TEST is enabled

The driver has runtime but no build time dependency with X86, so it can be built for testing purposes if the COMPILE_TEST option is enabled.

This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause build regressions.

---

 drivers/video/fbdev/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +1 -1
index f2a6b81e45c4..bd849013f16f 100644
@@ -616,7 +616,7 @@ config FB_UVESA
 
 config FB_VESA
 	bool "VESA VGA graphics support"
-	depends on (FB = y) && X86
+	depends on (FB = y) && (X86 || COMPILE_TEST)
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Signature · 1 line
2.35.1
#1 lore raw
Quoted 8 lines · Javier Martinez Canillas

The driver has runtime but no build time dependency with X86, so it can be built for testing purposes if the COMPILE_TEST option is enabled.

This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause build regressions.

---

Pushed this to drm-misc (drm-misc-next) with Thomas a-b tag provided over IRC.

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat