[Buildroot] [PATCH v4 1/1] package/freeswitch: select OpenCV modules needed for mod_cv

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 19 19:05:22 UTC 2016


Hello,

On Tue, 19 Apr 2016 19:00:45 +0200, Bernd Kuhls wrote:

> diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
> index 1350b2b..cef3fd4 100644
> --- a/package/freeswitch/Config.in
> +++ b/package/freeswitch/Config.in
> @@ -7,6 +7,17 @@ menuconfig BR2_PACKAGE_FREESWITCH
>  	depends on BR2_USE_WCHAR # libuuid
>  	select BR2_PACKAGE_LIBCURL
>  	select BR2_PACKAGE_JPEG
> +	# src/mod/applications/mod_cv/mod_cv.cpp includes cv.h
> +	select BR2_PACKAGE_OPENCV_LIB_CALIB3D if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_CONTRIB if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_FEATURES2D if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_FLANN if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_IMGPROC if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_LEGACY if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_OBJDETECT if BR2_PACKAGE_OPENCV
> +	select BR2_PACKAGE_OPENCV_LIB_VIDEO if BR2_PACKAGE_OPENCV
> +	# src/mod/applications/mod_cv/mod_cv.cpp includes highgui.h
> +	select BR2_PACKAGE_OPENCV_LIB_HIGHGUI if BR2_PACKAGE_OPENCV

Now that inter-module dependencies are properly handled in opencv.mk,
why do we have to do all of this?

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


More information about the buildroot mailing list