summaryrefslogtreecommitdiffstats
path: root/recipes-support/opencv
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2023-02-17 11:10:25 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-02-17 20:57:34 +0000
commit7cf41acfa4e73219485d1944510bafd8ce789b43 (patch)
tree79d1a5a44eb80e67f3a74340b843cf9a29484408 /recipes-support/opencv
parent4b4a5ca929bdee6937df6e8116b3429850f4b913 (diff)
downloadmeta-freescale-7cf41acfa4e73219485d1944510bafd8ce789b43.tar.gz
opencv: Add support for i.MX 9
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 575f7896da6bc194699e4e25cf9185a87897ba0d)
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 ##########