diff mbox series

[v2,04/77] media: imx: Compile imx6-media-objs only for CONFIG_VIDEO_IMX_CSI

Message ID 20210215042741.28850-5-laurent.pinchart@ideasonboard.com
State Accepted
Commit 772cb7f2cfd12c165f842ded88285ef23be11f2d
Headers show
Series [v2,01/77] media: imx: Drop dependency on I2C | expand

Commit Message

Laurent Pinchart Feb. 15, 2021, 4:26 a.m. UTC
imx6-media-objs contains a set of objects that are specific to the i.MX6
IPU-based media subsystem. They're not needed for the i.MX7 CSI. Only
compile them if CONFIG_VIDEO_IMX_CSI is selected.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
---
 drivers/staging/media/imx/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Laurent Pinchart Feb. 26, 2021, 3:45 p.m. UTC | #1
Please ignore this patch, it's a rebase leftover and isn't useful.

Reviews for the rest of the series, however, would be nice ;-)

On Mon, Feb 15, 2021 at 06:26:28AM +0200, Laurent Pinchart wrote:
> imx6-media-objs contains a set of objects that are specific to the i.MX6

> IPU-based media subsystem. They're not needed for the i.MX7 CSI. Only

> compile them if CONFIG_VIDEO_IMX_CSI is selected.

> 

> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>

> Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>

> ---

>  drivers/staging/media/imx/Makefile | 6 +++---

>  1 file changed, 3 insertions(+), 3 deletions(-)

> 

> diff --git a/drivers/staging/media/imx/Makefile b/drivers/staging/media/imx/Makefile

> index 69cc5da04a2e..6ac33275cc97 100644

> --- a/drivers/staging/media/imx/Makefile

> +++ b/drivers/staging/media/imx/Makefile

> @@ -1,11 +1,11 @@

>  # SPDX-License-Identifier: GPL-2.0

> +imx-media-common-objs := imx-media-capture.o imx-media-dev-common.o \

> +	imx-media-of.o imx-media-utils.o

> +

>  imx6-media-objs := imx-media-dev.o imx-media-internal-sd.o \

>  	imx-ic-common.o imx-ic-prp.o imx-ic-prpencvf.o imx-media-vdic.o \

>  	imx-media-csc-scaler.o

>  

> -imx-media-common-objs := imx-media-capture.o imx-media-dev-common.o \

> -	imx-media-of.o imx-media-utils.o

> -

>  imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o

>  

>  obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-media-common.o


-- 
Regards,

Laurent Pinchart
diff mbox series

Patch

diff --git a/drivers/staging/media/imx/Makefile b/drivers/staging/media/imx/Makefile
index 69cc5da04a2e..6ac33275cc97 100644
--- a/drivers/staging/media/imx/Makefile
+++ b/drivers/staging/media/imx/Makefile
@@ -1,11 +1,11 @@ 
 # SPDX-License-Identifier: GPL-2.0
+imx-media-common-objs := imx-media-capture.o imx-media-dev-common.o \
+	imx-media-of.o imx-media-utils.o
+
 imx6-media-objs := imx-media-dev.o imx-media-internal-sd.o \
 	imx-ic-common.o imx-ic-prp.o imx-ic-prpencvf.o imx-media-vdic.o \
 	imx-media-csc-scaler.o
 
-imx-media-common-objs := imx-media-capture.o imx-media-dev-common.o \
-	imx-media-of.o imx-media-utils.o
-
 imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o
 
 obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx-media-common.o