diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-17 11:10:25 -0700 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-02-17 20:57:34 +0000 |
commit | 7cf41acfa4e73219485d1944510bafd8ce789b43 (patch) | |
tree | 79d1a5a44eb80e67f3a74340b843cf9a29484408 /recipes-support/opencv | |
parent | 4b4a5ca929bdee6937df6e8116b3429850f4b913 (diff) | |
download | meta-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.bb | 19 |
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 | ||
279 | PACKAGECONFIG:remove = "eigen" | 279 | PACKAGECONFIG:remove = "eigen" |
280 | PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text" | 280 | |
281 | PACKAGECONFIG_OPENCL = "" | 281 | PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text" |
282 | PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl" | 282 | PACKAGECONFIG:append:mx9-nxp-bsp = " dnn text" |
283 | PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = "" | 283 | |
284 | PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = "" | 284 | PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}" |
285 | PACKAGECONFIG_OPENCL = "" | ||
286 | PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl" | ||
287 | PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = "" | ||
288 | PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = "" | ||
285 | PACKAGECONFIG_OPENCL:mx8mnlite-nxp-bsp = "" | 289 | PACKAGECONFIG_OPENCL:mx8mnlite-nxp-bsp = "" |
286 | PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}" | ||
287 | 290 | ||
288 | PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," | 291 | PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," |
289 | PACKAGECONFIG[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," | 292 | PACKAGECONFIG[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 | ||
309 | FILES:${PN}-samples += "${datadir}/OpenCV/samples" | 312 | FILES:${PN}-samples += "${datadir}/OpenCV/samples" |
310 | 313 | ||
311 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | 314 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" |
312 | 315 | ||
313 | ########## End of i.MX overrides ########## | 316 | ########## End of i.MX overrides ########## |