[PATCH 19/21] drm/meson: Allow build with COMPILE_TEST=y
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Mon Apr 8 10:23:18 PDT 2024
On Mon, Apr 8, 2024 at 7:05 PM Ville Syrjala
<ville.syrjala at linux.intel.com> wrote:
>
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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 at linaro.org>
> Cc: linux-amlogic at lists.infradead.org
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
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
More information about the linux-amlogic
mailing list