Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT
@ 2016-04-18  4:22 Bernd Kuhls
  2016-04-18  5:23 ` Samuel Martin
  2016-04-18  7:30 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-04-18  4:22 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/ffd/ffd572d7bb68d8ed46ce76b2af824503c587449f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/freeswitch/freeswitch.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index fdfdbf0..11b77e8 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -269,7 +269,7 @@ FREESWITCH_DEPENDENCIES += libsoundtouch
 FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
 endif
 
-ifeq ($(BR2_PACKAGE_OPENCV),y)
+ifeq ($(BR2_PACKAGE_OPENCV)$(BR2_PACKAGE_OPENCV_LIB_OBJDETECT),yy)
 FREESWITCH_DEPENDENCIES += opencv
 FREESWITCH_ENABLED_MODULES += applications/mod_cv
 endif
-- 
2.8.0.rc3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT
  2016-04-18  4:22 [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT Bernd Kuhls
@ 2016-04-18  5:23 ` Samuel Martin
  2016-04-18  7:30 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Martin @ 2016-04-18  5:23 UTC (permalink / raw)
  To: buildroot

Hi Bernd,

On Mon, Apr 18, 2016 at 6:22 AM, Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Fixes
> http://autobuild.buildroot.net/results/ffd/ffd572d7bb68d8ed46ce76b2af824503c587449f/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/freeswitch/freeswitch.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
> index fdfdbf0..11b77e8 100644
> --- a/package/freeswitch/freeswitch.mk
> +++ b/package/freeswitch/freeswitch.mk
> @@ -269,7 +269,7 @@ FREESWITCH_DEPENDENCIES += libsoundtouch
>  FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
>  endif
>
> -ifeq ($(BR2_PACKAGE_OPENCV),y)
> +ifeq ($(BR2_PACKAGE_OPENCV)$(BR2_PACKAGE_OPENCV_LIB_OBJDETECT),yy)

The condition should also check for improc module since it is a
dependency of objdetect [1], and the opencv-2 package does not have
(yet) inter-module dependency select.

>  FREESWITCH_DEPENDENCIES += opencv
>  FREESWITCH_ENABLED_MODULES += applications/mod_cv
>  endif
> --
> 2.8.0.rc3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

[1] https://github.com/Itseez/opencv/blob/2.4.12.3/modules/objdetect/CMakeLists.txt#L2

Regards,

-- 
Samuel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT
  2016-04-18  4:22 [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT Bernd Kuhls
  2016-04-18  5:23 ` Samuel Martin
@ 2016-04-18  7:30 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-04-18  7:30 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 18 Apr 2016 06:22:18 +0200, Bernd Kuhls wrote:

> -ifeq ($(BR2_PACKAGE_OPENCV),y)
> +ifeq ($(BR2_PACKAGE_OPENCV)$(BR2_PACKAGE_OPENCV_LIB_OBJDETECT),yy)

Another option is to:

	select BR2_PACKAGE_OPENCV_LIB_OBJDETECT if BR2_PACKAGE_OPENCV

in the Config.in file. I don't know which one is preferred.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-18  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18  4:22 [Buildroot] [PATCH 1/1] package/freeswitch: mod_cv needs BR2_PACKAGE_OPENCV_LIB_OBJDETECT Bernd Kuhls
2016-04-18  5:23 ` Samuel Martin
2016-04-18  7:30 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox