diff options
| author | Miquel Raynal <[email protected]> | 2025-04-03 09:39:10 +0200 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-04-10 22:32:56 -0300 |
| commit | 95654e671792eef4ddd3e078d501f6112c7bf187 (patch) | |
| tree | 7dd39ec0f1fd44484ecbdeb199e1762022eee41b /drivers | |
| parent | c05e7c8cf7fa7b149af4161546e6f6339c52b76f (diff) | |
video: imx: Fix Makefile in order to be able to add other imx drivers
The IPUv3 is one IP part of the imx world, there are others, and
selecting the whole imx/ folder based on such a specific Kconfig symbol
is sub-optimal. Let's always enter the imx/ folder, and then selectively
compile parts of the folder based on the configuration.
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/Makefile | 2 | ||||
| -rw-r--r-- | drivers/video/imx/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 6073bc5234a..8ebd596e115 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -53,7 +53,7 @@ obj-$(CONFIG_VIDEO_COREBOOT) += coreboot.o obj-$(CONFIG_VIDEO_DW_HDMI) += dw_hdmi.o obj-$(CONFIG_VIDEO_DW_MIPI_DSI) += dw_mipi_dsi.o obj-$(CONFIG_VIDEO_EFI) += efi.o -obj-$(CONFIG_VIDEO_IPUV3) += imx/ +obj-y += imx/ obj-$(CONFIG_VIDEO_IVYBRIDGE_IGD) += ivybridge_igd.o obj-$(CONFIG_VIDEO_LCD_ANX9804) += anx9804.o obj-$(CONFIG_VIDEO_LCD_ENDEAVORU) += endeavoru-panel.o diff --git a/drivers/video/imx/Makefile b/drivers/video/imx/Makefile index 179ea651fe8..46cc44d64b0 100644 --- a/drivers/video/imx/Makefile +++ b/drivers/video/imx/Makefile @@ -3,4 +3,4 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, [email protected]. -obj-y += mxc_ipuv3_fb.o ipu_common.o ipu_disp.o +obj-$(CONFIG_VIDEO_IPUV3) += mxc_ipuv3_fb.o ipu_common.o ipu_disp.o |
