From: Samuel Martin Date: Thu, 25 Jun 2015 19:59:52 +0000 (+0200) Subject: package/opencv: add openmp support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a76c358fae668db53de13e9ace6f90e03ef3d3a;p=buildroot.git package/opencv: add openmp support Note that this situation is not ideal because it only add openmp support to the Buildroot toolchain, not the external ones; but a couple of packages already are in this situation. Signed-off-by: Samuel Martin Cc: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/opencv/opencv.mk b/package/opencv/opencv.mk index a43de0c621..633c2bf68e 100644 --- a/package/opencv/opencv.mk +++ b/package/opencv/opencv.mk @@ -250,6 +250,8 @@ else OPENCV_CONF_OPTS += -DWITH_JPEG=OFF endif +OPENCV_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF) + ifeq ($(BR2_PACKAGE_OPENCV_WITH_PNG),y) OPENCV_CONF_OPTS += -DWITH_PNG=ON OPENCV_DEPENDENCIES += libpng