From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Marian Cichy Date: Tue, 28 Jan 2020 17:36:16 +0100 Message-Id: <20200128163619.8486-5-m.cichy@pengutronix.de> In-Reply-To: <20200128163619.8486-1-m.cichy@pengutronix.de> References: <20200128163619.8486-1-m.cichy@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v4 5/8] 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 16e7b56db..a917d79c7 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 1cc692855..9ec11dc51 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