diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-06-29 13:36:24 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-06-30 16:39:56 -0300 |
| commit | cedf6ffb9a5edc8bcba05079380909be6e49aaea (patch) | |
| tree | a7291c550e7e7539fcbb17415f9aa4f471dd0396 /dynamic-layers/openembedded-layer/recipes-fsl | |
| parent | 4fcd787f54d8abcee5994d60e119adf22b255f39 (diff) | |
| download | meta-freescale-cedf6ffb9a5edc8bcba05079380909be6e49aaea.tar.gz | |
opencv: Move recipe to openembedded-layer dynamic layer
The OpenCV recipe and the packagegroups that depend on meta-oe recipes should only be parsed when openembedded-layer is present.
Move them under the existing openembedded-layer dynamic layer so a core-only meta-freescale setup does not expose those dependencies.
Tested with yocto-check-layer against the current worktree.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-fsl')
3 files changed, 80 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb new file mode 100644 index 000000000..724d0ff53 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-opencv-imx.bb | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | DESCRIPTION = "Add packages for opencv i.MX build" | ||
| 2 | |||
| 3 | inherit packagegroup | ||
| 4 | |||
| 5 | OPENCV_PKGS = " \ | ||
| 6 | opencv-apps \ | ||
| 7 | opencv-samples \ | ||
| 8 | python3-opencv \ | ||
| 9 | " | ||
| 10 | RDEPENDS:${PN} = " \ | ||
| 11 | ${OPENCV_PKGS} \ | ||
| 12 | " | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb new file mode 100644 index 000000000..534d37627 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 3 | |||
| 4 | DESCRIPTION = "Package group used by FSL Community to provide a set of benchmark applications." | ||
| 5 | SUMMARY = "FSL Communtiy package group - tools/benchmark" | ||
| 6 | |||
| 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 8 | |||
| 9 | inherit packagegroup | ||
| 10 | |||
| 11 | RDEPENDS:${PN} = " \ | ||
| 12 | lmbench \ | ||
| 13 | bonnie++ \ | ||
| 14 | dbench \ | ||
| 15 | fio \ | ||
| 16 | iozone3 \ | ||
| 17 | iperf3 \ | ||
| 18 | nbench-byte \ | ||
| 19 | tiobench \ | ||
| 20 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', \ | ||
| 21 | bb.utils.contains('TUNE_FEATURES', 'cortexa53 crypto', 'cpuburn-neon', \ | ||
| 22 | '', d), d)} \ | ||
| 23 | " | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb new file mode 100644 index 000000000..2706dca97 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | # Copyright (C) 2012-2014, 2016 Freescale Semiconductor | ||
| 2 | # Copyright (C) 2015, 2016 O.S. Systems Software LTDA. | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \ | ||
| 6 | for hardware test." | ||
| 7 | SUMMARY = "FSL Community packagegroup - tools/testapps" | ||
| 8 | |||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 10 | |||
| 11 | inherit packagegroup | ||
| 12 | |||
| 13 | SOC_TOOLS_TEST = "" | ||
| 14 | SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test" | ||
| 15 | SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos" | ||
| 16 | SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq" | ||
| 17 | |||
| 18 | RDEPENDS:${PN} = " \ | ||
| 19 | alsa-utils \ | ||
| 20 | alsa-tools \ | ||
| 21 | dosfstools \ | ||
| 22 | evtest \ | ||
| 23 | e2fsprogs-mke2fs \ | ||
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'fsl-rc-local', '', d)} \ | ||
| 25 | fbset \ | ||
| 26 | i2c-tools \ | ||
| 27 | iproute2 \ | ||
| 28 | memtester \ | ||
| 29 | python3-core \ | ||
| 30 | python3-json \ | ||
| 31 | python3-datetime \ | ||
| 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \ | ||
| 33 | ethtool \ | ||
| 34 | mtd-utils \ | ||
| 35 | mtd-utils-ubifs \ | ||
| 36 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+3-demo', '', d)} \ | ||
| 37 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \ | ||
| 38 | 'weston-examples', '', d)} \ | ||
| 39 | ${SOC_TOOLS_TEST} \ | ||
| 40 | " | ||
| 41 | |||
| 42 | RDEPENDS_IMX_TO_REMOVE = "" | ||
| 43 | RDEPENDS_IMX_TO_REMOVE:imxgpu3d = "" | ||
| 44 | |||
| 45 | RDEPENDS:${PN}:remove = "${RDEPENDS_IMX_TO_REMOVE}" | ||
