diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-17 11:10:25 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-02-17 13:46:35 -0700 |
commit | 575f7896da6bc194699e4e25cf9185a87897ba0d (patch) | |
tree | 812bf466db2398f2e6a72907189fe23db5bfe342 /recipes-support/opencv | |
parent | b430b7aa4136d36cab10298570cafada3bd4cb21 (diff) | |
download | meta-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.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 ########## |