On Mon, Apr 8, 2024 at 7:05 PM Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Allow meson to be built with COMPILE_TEST=y for greater > coverage. Builds fine on x86/x86_64 at least. > > Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx> > Cc: linux-amlogic@xxxxxxxxxxxxxxxxxxx > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Thank you for spotting this Ville! > --- > drivers/gpu/drm/meson/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig > index 5520b9e3f010..d8f67bd9c755 100644 > --- a/drivers/gpu/drm/meson/Kconfig > +++ b/drivers/gpu/drm/meson/Kconfig > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > config DRM_MESON > tristate "DRM Support for Amlogic Meson Display Controller" > - depends on DRM && OF && (ARM || ARM64) > + depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST) Neil, I wonder if we should just have "depends on DRM && OF" here as the next line already has: > depends on ARCH_MESON || COMPILE_TEST ARCH_MESON is only defined for ARM and ARM64