package/opencv: define modules inter-dependencies
authorSamuel Martin <s.martin49@gmail.com>
Thu, 25 Jun 2015 19:59:45 +0000 (21:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 26 Jun 2015 18:42:04 +0000 (20:42 +0200)
commit1a49f97b007aee8f4c6b90ce105d96e10484368c
tree998fc57f791dc09a3b00e4d545902e9064c1776f
parent5e238a87eacf2a0c62736c4123961651afb1ba87
package/opencv: define modules inter-dependencies

OpenCV allows to enable/disable the selection of modules (a.k.a.
opencv libraries). These modules depend one on the others; these
dependencies are already handled by the build-system (CMake).

However, the way we handled them in Buildroot was not really clean.
For each opencv module, there is a kconfig option, but we forced the
corresponding CMake config option without checking for the modules'
dependencies.

This patch replicates the modules' dependency relations in the
Config.in, so that the selection of the user will actually be built.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/opencv/Config.in