]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/imx: compile imx directory by default
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 31 Jul 2020 08:18:29 +0000 (11:18 +0300)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 9 Sep 2020 14:39:48 +0000 (16:39 +0200)
Currently the drm/imx/ directory is compiled only if DRM_IMX is set. Adding a
new IMX related IP in the same directory would need DRM_IMX to be set, which would
bring in also IPUv3 core driver...

The current patch would allow adding new IPs in the imx/ directory without needing
to set DRM_IMX.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200731081836.3048-2-laurentiu.palcu@oss.nxp.com
drivers/gpu/drm/Makefile

index 2f31579f91d424dd3b6579bfefb7843b20fa09ab..81569009f884817ef0ff73e9c3d3dd58cdbd25a4 100644 (file)
@@ -100,7 +100,7 @@ obj-$(CONFIG_DRM_MSM) += msm/
 obj-$(CONFIG_DRM_TEGRA) += tegra/
 obj-$(CONFIG_DRM_STM) += stm/
 obj-$(CONFIG_DRM_STI) += sti/
-obj-$(CONFIG_DRM_IMX) += imx/
+obj-y                  += imx/
 obj-$(CONFIG_DRM_INGENIC) += ingenic/
 obj-$(CONFIG_DRM_MEDIATEK) += mediatek/
 obj-$(CONFIG_DRM_MESON)        += meson/