* [PATCH] drivers: media: platform: Makefile: Add build dependency for davinci/
@ 2014-08-15 17:10 Andreas Ruprecht
2014-08-16 20:37 ` Prabhakar Lad
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Ruprecht @ 2014-08-15 17:10 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: Hans Verkuil, linux-media, Andreas Ruprecht
In the davinci/ subdirectory, all drivers but one depend on
CONFIG_ARCH_DAVINCI. The only exception, selected by CONFIG_VIDEO_DM6446_CCDC,
is also available on CONFIG_ARCH_OMAP3.
Thus, it is not necessary to always descend into davinci/. It is sufficient to
do this only if CONFIG_ARCH_OMAP3 or CONFIG_ARCH_DAVINCI is selected. While the
latter is already present, this patch changes the dependency from obj-y to
obj-$(CONFIG_ARCH_OMAP3).
Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
---
drivers/media/platform/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index e5269da..d32e79a 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -47,7 +47,7 @@ obj-$(CONFIG_SOC_CAMERA) += soc_camera/
obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
-obj-y += davinci/
+obj-$(CONFIG_ARCH_OMAP3) += davinci/
obj-$(CONFIG_ARCH_OMAP) += omap/
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: media: platform: Makefile: Add build dependency for davinci/
2014-08-15 17:10 [PATCH] drivers: media: platform: Makefile: Add build dependency for davinci/ Andreas Ruprecht
@ 2014-08-16 20:37 ` Prabhakar Lad
0 siblings, 0 replies; 2+ messages in thread
From: Prabhakar Lad @ 2014-08-16 20:37 UTC (permalink / raw)
To: Andreas Ruprecht; +Cc: Mauro Carvalho Chehab, Hans Verkuil, linux-media
Hi Andreas,
On Fri, Aug 15, 2014 at 6:10 PM, Andreas Ruprecht <rupran@einserver.de> wrote:
> In the davinci/ subdirectory, all drivers but one depend on
> CONFIG_ARCH_DAVINCI. The only exception, selected by CONFIG_VIDEO_DM6446_CCDC,
> is also available on CONFIG_ARCH_OMAP3.
>
> Thus, it is not necessary to always descend into davinci/. It is sufficient to
> do this only if CONFIG_ARCH_OMAP3 or CONFIG_ARCH_DAVINCI is selected. While the
> latter is already present, this patch changes the dependency from obj-y to
> obj-$(CONFIG_ARCH_OMAP3).
>
I have submitted a proper fix [1], so NACK.
[1] https://patchwork.kernel.org/patch/4730111/
Regards,
--Prabhakar Lad
> Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
> ---
> drivers/media/platform/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
> index e5269da..d32e79a 100644
> --- a/drivers/media/platform/Makefile
> +++ b/drivers/media/platform/Makefile
> @@ -47,7 +47,7 @@ obj-$(CONFIG_SOC_CAMERA) += soc_camera/
>
> obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
>
> -obj-y += davinci/
> +obj-$(CONFIG_ARCH_OMAP3) += davinci/
>
> obj-$(CONFIG_ARCH_OMAP) += omap/
>
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-16 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15 17:10 [PATCH] drivers: media: platform: Makefile: Add build dependency for davinci/ Andreas Ruprecht
2014-08-16 20:37 ` Prabhakar Lad
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.