summaryrefslogtreecommitdiffstats
path: root/recipes-support/opencv
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-02-17 11:10:25 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2023-02-17 13:46:35 -0700
commit575f7896da6bc194699e4e25cf9185a87897ba0d (patch)
tree812bf466db2398f2e6a72907189fe23db5bfe342 /recipes-support/opencv
parentb430b7aa4136d36cab10298570cafada3bd4cb21 (diff)
downloadmeta-freescale-575f7896da6bc194699e4e25cf9185a87897ba0d.tar.gz
opencv: Add support for i.MX 9
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-support/opencv')
-rw-r--r--recipes-support/opencv/opencv_4.6.0.imx.bb19
1 files changed, 11 insertions, 8 deletions
diff --git a/recipes-support/opencv/opencv_4.6.0.imx.bb b/recipes-support/opencv/opencv_4.6.0.imx.bb
index e3f03379..16cc2643 100644
--- a/recipes-support/opencv/opencv_4.6.0.imx.bb
+++ b/recipes-support/opencv/opencv_4.6.0.imx.bb
@@ -276,14 +276,17 @@ SRC_URI += " \
276 file://OpenCV_DNN_examples.patch \ 276 file://OpenCV_DNN_examples.patch \
277" 277"
278 278
279PACKAGECONFIG:remove = "eigen" 279PACKAGECONFIG:remove = "eigen"
280PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text" 280
281PACKAGECONFIG_OPENCL = "" 281PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text"
282PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl" 282PACKAGECONFIG:append:mx9-nxp-bsp = " dnn text"
283PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = "" 283
284PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = "" 284PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}"
285PACKAGECONFIG_OPENCL = ""
286PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl"
287PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = ""
288PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = ""
285PACKAGECONFIG_OPENCL:mx8mnlite-nxp-bsp = "" 289PACKAGECONFIG_OPENCL:mx8mnlite-nxp-bsp = ""
286PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}"
287 290
288PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," 291PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx,"
289PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native," 292PACKAGECONFIG[qt5] = "-DWITH_QT=ON -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} -DCMAKE_PREFIX_PATH=${STAGING_BINDIR_NATIVE}/cmake,-DWITH_QT=OFF,qtbase qtbase-native,"
@@ -308,6 +311,6 @@ do_install:append() {
308 311
309FILES:${PN}-samples += "${datadir}/OpenCV/samples" 312FILES:${PN}-samples += "${datadir}/OpenCV/samples"
310 313
311COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" 314COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)"
312 315
313########## End of i.MX overrides ########## 316########## End of i.MX overrides ##########