From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Marian Cichy Date: Thu, 23 Jan 2020 15:23:13 +0100 Message-Id: <20200123142315.10466-5-m.cichy@pengutronix.de> In-Reply-To: <20200123142315.10466-1-m.cichy@pengutronix.de> References: <20200123142315.10466-1-m.cichy@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 5/7] OpenCV: added switch to turn on/off DNN support List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Marian Cichy Signed-off-by: Marian Cichy --- rules/opencv.in | 6 ++++++ rules/opencv.make | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rules/opencv.in b/rules/opencv.in index 415db9e1e..12b44606f 100644 --- a/rules/opencv.in +++ b/rules/opencv.in @@ -102,6 +102,12 @@ config OPENCV_VIDEOIO help Video I/O +config OPENCV_DNN + bool + prompt "DNN" + help + Deep Neural Network Library + config OPENCV_GSTREAMER bool prompt "gstreamer" diff --git a/rules/opencv.make b/rules/opencv.make index 9652fbb4f..8ff85591e 100644 --- a/rules/opencv.make +++ b/rules/opencv.make @@ -62,7 +62,7 @@ OPENCV_CONF_OPT := \ -DBUILD_opencv_apps:BOOL=OFF \ -DBUILD_opencv_calib3d:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_CALIB3D,ON,OFF) \ -DBUILD_opencv_core:BOOL=ON \ - -DBUILD_opencv_dnn=OFF \ + -DBUILD_opencv_dnn=$(call ptx/ifdef,PTXCONF_OPENCV_DNN,ON,OFF) \ -DBUILD_opencv_features2d:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_FEATURES2D,ON,OFF) \ -DBUILD_opencv_flann:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_FLANN,ON,OFF) \ -DBUILD_opencv_highgui:BOOL=$(call ptx/ifdef,PTXCONF_OPENCV_HIGHGUI,ON,OFF) \ -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de