diff options
265 files changed, 3040 insertions, 1777 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..51367ad58 --- /dev/null +++ b/.editorconfig | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # EditorConfig: deterministic whitespace enforcement for a Yocto/OE layer. | ||
| 2 | # https://editorconfig.org — every modern editor applies these on save, and CI | ||
| 3 | # can gate them with `editorconfig-checker`. Mirrors meta-openembedded's config | ||
| 4 | # and the Yocto Recipe Style Guide: spaces, 4 wide, no tabs, trimmed, LF, final | ||
| 5 | # newline. This complements oelint-adv (which handles semantic rules) and removes | ||
| 6 | # the need for oelint's non-deterministic whitespace auto-fixes. | ||
| 7 | root = true | ||
| 8 | |||
| 9 | [*] | ||
| 10 | end_of_line = lf | ||
| 11 | insert_final_newline = true | ||
| 12 | trim_trailing_whitespace = true | ||
| 13 | charset = utf-8 | ||
| 14 | indent_style = space | ||
| 15 | indent_size = 4 | ||
| 16 | |||
| 17 | # Makefiles require literal tabs. | ||
| 18 | [Makefile] | ||
| 19 | indent_style = tab | ||
| 20 | |||
| 21 | # Markdown uses trailing whitespace for hard line breaks. | ||
| 22 | [*.md] | ||
| 23 | trim_trailing_whitespace = false | ||
| 24 | |||
| 25 | # Never normalise patches — their bytes must match upstream exactly. | ||
| 26 | [*.{patch,diff}] | ||
| 27 | end_of_line = unset | ||
| 28 | insert_final_newline = unset | ||
| 29 | trim_trailing_whitespace = unset | ||
| 30 | charset = unset | ||
| 31 | indent_style = unset | ||
| 32 | indent_size = unset | ||
diff --git a/.oelint.cfg b/.oelint.cfg new file mode 100644 index 000000000..37c94ca3c --- /dev/null +++ b/.oelint.cfg | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # oelint-adv defaults for this layer. Auto-loaded when oelint-adv runs with this | ||
| 2 | # directory as the working directory (see contrib/oelint/run-oelint.sh). | ||
| 3 | # | ||
| 4 | # Layer-specific parser hints live in oelint.constants.json and are passed by | ||
| 5 | # contrib/oelint/run-oelint.sh. Per-recipe exceptions should stay inline as | ||
| 6 | # '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully | ||
| 7 | # linted and each exception is documented in place. Only rules that provably | ||
| 8 | # never apply to the whole layer are suppressed here: | ||
| 9 | # | ||
| 10 | # * oelint.var.bbclassextend - meta-freescale is a BSP layer; the bulk of its | ||
| 11 | # recipes package machine-specific firmware and prebuilt binaries that are | ||
| 12 | # not cross-compilable libraries, so BBCLASSEXTEND (native/nativesdk) does | ||
| 13 | # not apply. | ||
| 14 | # * oelint.var.suggestedvar.CVE_PRODUCT / .BUGTRACKER - advisory 'suggested' | ||
| 15 | # variables. Most recipes here package NXP firmware/BSP components with no | ||
| 16 | # upstream bug tracker and no meaningful NVD CPE product; guessing a | ||
| 17 | # CVE_PRODUCT would create false or missed CVE matches, which is worse than | ||
| 18 | # leaving it unset. Set them inline on the rare recipe that has a real value. | ||
| 19 | [oelint] | ||
| 20 | release = wrynose | ||
| 21 | suppress = | ||
| 22 | oelint.var.bbclassextend | ||
| 23 | oelint.var.suggestedvar.CVE_PRODUCT | ||
| 24 | oelint.var.suggestedvar.BUGTRACKER | ||
| @@ -7,7 +7,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 7 | ./dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" | 7 | ./dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb: LICENSE = "GPL-2.0-only" |
| 8 | ./dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause" | 8 | ./dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb: LICENSE = "BSD-3-Clause" |
| 9 | ./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT" | 9 | ./dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb: LICENSE = "MIT" |
| 10 | ./dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb: LICENSE = "Apache-2.0" | 10 | ./dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb: LICENSE = "Apache-2.0" |
| 11 | ./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause" | 11 | ./recipes-bsp/atf/qoriq-atf-2.12.inc: LICENSE = "BSD-3-Clause" |
| 12 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" | 12 | ./recipes-bsp/boot-format/boot-format_git.bb: LICENSE = "GPL-2.0-only" |
| 13 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" | 13 | ./recipes-bsp/ddr-phy/ddr-phy_git.bb: LICENSE = "NXP-Binary-EULA" |
| @@ -60,7 +60,7 @@ This file lists all licenses used by recipes in the meta-freescale layer. | |||
| 60 | ./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" | 60 | ./recipes-devtools/uuu/uuu-bin_1.5.233.bb: LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" |
| 61 | ./recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb: LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" | 61 | ./recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb: LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" |
| 62 | ./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT" | 62 | ./recipes-downgrade/spir/spirv-headers_1.3.275.0.imx.bb: LICENSE = "MIT" |
| 63 | ./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 63 | ./recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 64 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" | 64 | ./recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb: LICENSE = "Apache-2.0 & MIT" |
| 65 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 65 | ./recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
| 66 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" | 66 | ./recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb: LICENSE = "Apache-2.0" |
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass index db9d9a412..ee938a74d 100644 --- a/classes/fsl-eula-unpack.bbclass +++ b/classes/fsl-eula-unpack.bbclass | |||
| @@ -6,25 +6,25 @@ | |||
| 6 | # | 6 | # |
| 7 | # SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true" | 7 | # SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true" |
| 8 | 8 | ||
| 9 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8 = "01ba08a2b77c3a0a9d0ab5d4d83fed64" | 9 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8 = "01ba08a2b77c3a0a9d0ab5d4d83fed64" |
| 10 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10 = "3880bb9c943b135a30fad5e8aabd3ee9" | 10 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10 = "3880bb9c943b135a30fad5e8aabd3ee9" |
| 11 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11 = "a31dce3023402a821cfcdc1bb8dbdbc0" | 11 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11 = "a31dce3023402a821cfcdc1bb8dbdbc0" |
| 12 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V12 = "8cf95184c220e247b9917e7244124c5a" | 12 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V12 = "8cf95184c220e247b9917e7244124c5a" |
| 13 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V13 = "102094e9e695888c6a9f9fda9004165d" | 13 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V13 = "102094e9e695888c6a9f9fda9004165d" |
| 14 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V14 = "d4f548f93b5fe0ee2bc86758c344412d" | 14 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V14 = "d4f548f93b5fe0ee2bc86758c344412d" |
| 15 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V16 = "be67a88e9e6c841043b005ad7bcf8309" | 15 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V16 = "be67a88e9e6c841043b005ad7bcf8309" |
| 16 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V17 = "88595f92466edd79be7f4f9547ffa0ef" | 16 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V17 = "88595f92466edd79be7f4f9547ffa0ef" |
| 17 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V18 = "6b552f505eedab4a11ab538cf3db743a" | 17 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V18 = "6b552f505eedab4a11ab538cf3db743a" |
| 18 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V20 = "08fd295cce89b0a9c74b9b83ed74f671" | 18 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V20 = "08fd295cce89b0a9c74b9b83ed74f671" |
| 19 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V21 = "6bd2df2910a2234bf6f419b7d2f531a3" | 19 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V21 = "6bd2df2910a2234bf6f419b7d2f531a3" |
| 20 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V22 = "75abe2fa1d16ca79f87cde926f05f72d" | 20 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V22 = "75abe2fa1d16ca79f87cde926f05f72d" |
| 21 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V24 = "ab61cab9599935bfe9f700405ef00f28" | 21 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V24 = "ab61cab9599935bfe9f700405ef00f28" |
| 22 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V26 = "5ab1a30d0cd181e3408077727ea5a2db" | 22 | FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V26 = "5ab1a30d0cd181e3408077727ea5a2db" |
| 23 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V3 = "6dfb32a488e5fd6bae52fbf6c7ebb086" | 23 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V3 = "6dfb32a488e5fd6bae52fbf6c7ebb086" |
| 24 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V5 = "80c0478f4339af024519b3723023fe28" | 24 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V5 = "80c0478f4339af024519b3723023fe28" |
| 25 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V7 = "fb0303e4ee8b0e71c094171e2272bd44" | 25 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V7 = "fb0303e4ee8b0e71c094171e2272bd44" |
| 26 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V8 = "72c0f70181bb6e83eee6aab8de12a9f3" | 26 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V8 = "72c0f70181bb6e83eee6aab8de12a9f3" |
| 27 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V9 = "6c12031a11b81db21cdfe0be88cac4b3" | 27 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V9 = "6c12031a11b81db21cdfe0be88cac4b3" |
| 28 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10 = "fd4b227530cd88a82af6a5982cfb724d" | 28 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V10 = "fd4b227530cd88a82af6a5982cfb724d" |
| 29 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11 = "228c72f2a91452b8a03c4cab30f30ef9" | 29 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V11 = "228c72f2a91452b8a03c4cab30f30ef9" |
| 30 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V13 = "1b4db4b25c3a1e422c0c0ed64feb65d2" | 30 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V13 = "1b4db4b25c3a1e422c0c0ed64feb65d2" |
| @@ -66,7 +66,7 @@ FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V60 = "cf2070b16b9d4acf60a98e8c | |||
| 66 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" | 66 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V62 = "a93b654673e1bc8398ed1f30e0813359" |
| 67 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63 = "bc649096ad3928ec06a8713b8d787eac" | 67 | FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63 = "bc649096ad3928ec06a8713b8d787eac" |
| 68 | 68 | ||
| 69 | FSL_EULA_FILE_MD5SUMS = " \ | 69 | FSL_EULA_FILE_MD5SUMS = "\ |
| 70 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ | 70 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V8} \ |
| 71 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10} \ | 71 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V10} \ |
| 72 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11} \ | 72 | ${FSL_EULA_FILE_MD5SUM_LA_OPT_BASE_LICENSE_V11} \ |
| @@ -129,8 +129,7 @@ FSL_EULA_FILE_MD5SUMS = " \ | |||
| 129 | " | 129 | " |
| 130 | 130 | ||
| 131 | # The checksum for the EULA in the layer | 131 | # The checksum for the EULA in the layer |
| 132 | FSL_EULA_FILE_MD5SUM ?= \ | 132 | FSL_EULA_FILE_MD5SUM ?= "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}" |
| 133 | "${FSL_EULA_FILE_MD5SUM_LA_OPT_NXP_SOFTWARE_LICENSE_V63}" | ||
| 134 | 133 | ||
| 135 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" | 134 | LIC_FILES_CHKSUM_LAYER ?= "file://${FSL_EULA_FILE};md5=${FSL_EULA_FILE_MD5SUM}" |
| 136 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" | 135 | LIC_FILES_CHKSUM_LAYER[vardepsexclude] += "FSL_EULA_FILE" |
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index fae3fe1d9..9b44fe194 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
| @@ -13,36 +13,35 @@ SCMVERSION ??= "y" | |||
| 13 | LOCALVERSION ??= "+fslc" | 13 | LOCALVERSION ??= "+fslc" |
| 14 | 14 | ||
| 15 | # LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class | 15 | # LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class |
| 16 | LINUX_VERSION_EXTENSION ?= \ | 16 | LINUX_VERSION_EXTENSION ?= "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}" |
| 17 | "${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}" | ||
| 18 | 17 | ||
| 19 | do_kernel_localversion[dirs] += "${S} ${B}" | 18 | do_kernel_localversion[dirs] += "${S} ${B}" |
| 20 | do_kernel_localversion() { | 19 | do_kernel_localversion() { |
| 21 | 20 | ||
| 22 | # Fallback for recipes not able to use LINUX_VERSION_EXTENSION | 21 | # Fallback for recipes not able to use LINUX_VERSION_EXTENSION |
| 23 | if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then | 22 | if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then |
| 24 | echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config | 23 | echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config |
| 25 | fi | 24 | fi |
| 26 | 25 | ||
| 27 | if [ "${SCMVERSION}" = "y" ]; then | 26 | if [ "${SCMVERSION}" = "y" ]; then |
| 28 | # Add GIT revision to the local version | 27 | # Add GIT revision to the local version |
| 29 | if [ "${SRCREV}" = "INVALID" ]; then | 28 | if [ "${SRCREV}" = "INVALID" ]; then |
| 30 | hash=${SRCREV_machine} | 29 | hash=${SRCREV_machine} |
| 31 | else | 30 | else |
| 32 | hash=${SRCREV} | 31 | hash=${SRCREV} |
| 33 | fi | 32 | fi |
| 34 | if [ "$hash" = "AUTOINC" ]; then | 33 | if [ "$hash" = "AUTOINC" ]; then |
| 35 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` | 34 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` |
| 36 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` | 35 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` |
| 37 | else | 36 | else |
| 38 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` | 37 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` |
| 39 | fi | 38 | fi |
| 40 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` | 39 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` |
| 41 | printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion | 40 | printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion |
| 42 | 41 | ||
| 43 | sed -i -e "/CONFIG_LOCALVERSION_AUTO[ =]/d" ${B}/.config | 42 | sed -i -e "/CONFIG_LOCALVERSION_AUTO[ =]/d" ${B}/.config |
| 44 | echo "CONFIG_LOCALVERSION_AUTO=y" >> ${B}/.config | 43 | echo "CONFIG_LOCALVERSION_AUTO=y" >> ${B}/.config |
| 45 | fi | 44 | fi |
| 46 | } | 45 | } |
| 47 | 46 | ||
| 48 | addtask kernel_localversion before do_configure after do_patch do_kernel_configme | 47 | addtask kernel_localversion before do_configure after do_patch do_kernel_configme |
diff --git a/classes/fsl-u-boot-localversion.bbclass b/classes/fsl-u-boot-localversion.bbclass index df4ac5fbf..c867c9f85 100644 --- a/classes/fsl-u-boot-localversion.bbclass +++ b/classes/fsl-u-boot-localversion.bbclass | |||
| @@ -15,24 +15,24 @@ LOCALVERSION ??= "+fslc" | |||
| 15 | UBOOT_LOCALVERSION = "${LOCALVERSION}" | 15 | UBOOT_LOCALVERSION = "${LOCALVERSION}" |
| 16 | 16 | ||
| 17 | do_compile:prepend() { | 17 | do_compile:prepend() { |
| 18 | if [ "${SCMVERSION}" = "y" ]; then | 18 | if [ "${SCMVERSION}" = "y" ]; then |
| 19 | # Add GIT revision to the local version | 19 | # Add GIT revision to the local version |
| 20 | if [ "${SRCREV}" = "INVALID" ]; then | 20 | if [ "${SRCREV}" = "INVALID" ]; then |
| 21 | hash=${SRCREV_machine} | 21 | hash=${SRCREV_machine} |
| 22 | else | 22 | else |
| 23 | hash=${SRCREV} | 23 | hash=${SRCREV} |
| 24 | fi | 24 | fi |
| 25 | if [ "$hash" = "AUTOINC" ]; then | 25 | if [ "$hash" = "AUTOINC" ]; then |
| 26 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` | 26 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` |
| 27 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` | 27 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` |
| 28 | else | 28 | else |
| 29 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` | 29 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` |
| 30 | fi | 30 | fi |
| 31 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` | 31 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` |
| 32 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion | 32 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion |
| 33 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion | 33 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion |
| 34 | else | 34 | else |
| 35 | printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion | 35 | printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion |
| 36 | printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion | 36 | printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion |
| 37 | fi | 37 | fi |
| 38 | } | 38 | } |
diff --git a/classes/image_populate_mfgtool.bbclass b/classes/image_populate_mfgtool.bbclass index d30b47a3b..2c9b44f44 100644 --- a/classes/image_populate_mfgtool.bbclass +++ b/classes/image_populate_mfgtool.bbclass | |||
| @@ -41,8 +41,8 @@ | |||
| 41 | # | 41 | # |
| 42 | # SPDX-License-Identifier: MIT | 42 | # SPDX-License-Identifier: MIT |
| 43 | 43 | ||
| 44 | MFGTOOL_FILESPATH ??= " \ | 44 | MFGTOOL_FILESPATH ??= "\ |
| 45 | ${@base_set_filespath(["%s/mfgtool" % p for p in "${BBPATH}".split(":")] \ | 45 | ${@base_set_filespath(["%s/mfgtool"% p for p in "${BBPATH}".split(":")] \ |
| 46 | + ["${FILE_DIRNAME}/${BP}/mfgtool", \ | 46 | + ["${FILE_DIRNAME}/${BP}/mfgtool", \ |
| 47 | "${FILE_DIRNAME}/${BPN}/mfgtool", \ | 47 | "${FILE_DIRNAME}/${BPN}/mfgtool", \ |
| 48 | "${FILE_DIRNAME}/files/mfgtool"] \ | 48 | "${FILE_DIRNAME}/files/mfgtool"] \ |
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 63a10f303..65b6a5dbd 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
| @@ -38,7 +38,7 @@ do_image_wic[depends] += " \ | |||
| 38 | 38 | ||
| 39 | # We need to apply a fixup inside of the partition table | 39 | # We need to apply a fixup inside of the partition table |
| 40 | IMAGE_CMD:wic:append:mxs-generic-bsp() { | 40 | IMAGE_CMD:wic:append:mxs-generic-bsp() { |
| 41 | # Change partition type for mxs processor family | 41 | # Change partition type for mxs processor family |
| 42 | bbnote "Setting partition type to 0x53 as required for mxs' SoC family." | 42 | bbnote "Setting partition type to 0x53 as required for mxs' SoC family." |
| 43 | echo -n S | dd of=$out.wic bs=1 count=1 seek=450 conv=notrunc | 43 | echo -n S | dd of=$out.wic bs=1 count=1 seek=450 conv=notrunc |
| 44 | } | 44 | } |
diff --git a/classes/imx-boot-container.bbclass b/classes/imx-boot-container.bbclass index 5365e5fd7..345f71035 100644 --- a/classes/imx-boot-container.bbclass +++ b/classes/imx-boot-container.bbclass | |||
| @@ -32,21 +32,21 @@ ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-o | |||
| 32 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" | 32 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" |
| 33 | 33 | ||
| 34 | IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" | 34 | IMX_BOOT_CONTAINER_FIRMWARE_SOC ?= "" |
| 35 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = " \ | 35 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx8mq-generic-bsp = "\ |
| 36 | signed_dp_imx8m.bin \ | 36 | signed_dp_imx8m.bin \ |
| 37 | signed_hdmi_imx8m.bin \ | 37 | signed_hdmi_imx8m.bin \ |
| 38 | " | 38 | " |
| 39 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx91-generic-bsp = " \ | 39 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx91-generic-bsp = "\ |
| 40 | ${SECO_FIRMWARE_NAME} \ | 40 | ${SECO_FIRMWARE_NAME} \ |
| 41 | " | 41 | " |
| 42 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx93-generic-bsp = " \ | 42 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx93-generic-bsp = "\ |
| 43 | ${SECO_FIRMWARE_NAME} \ | 43 | ${SECO_FIRMWARE_NAME} \ |
| 44 | " | 44 | " |
| 45 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx95-generic-bsp = " \ | 45 | IMX_BOOT_CONTAINER_FIRMWARE_SOC:mx95-generic-bsp = "\ |
| 46 | ${SECO_FIRMWARE_NAME} \ | 46 | ${SECO_FIRMWARE_NAME} \ |
| 47 | ${OEI_NAME} \ | 47 | ${OEI_NAME} \ |
| 48 | " | 48 | " |
| 49 | IMX_BOOT_CONTAINER_FIRMWARE ?= " \ | 49 | IMX_BOOT_CONTAINER_FIRMWARE ?= "\ |
| 50 | ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ | 50 | ${IMX_BOOT_CONTAINER_FIRMWARE_SOC} \ |
| 51 | ${DDR_FIRMWARE_NAME} \ | 51 | ${DDR_FIRMWARE_NAME} \ |
| 52 | " | 52 | " |
diff --git a/classes/kernel-imximage.bbclass b/classes/kernel-imximage.bbclass index ccf7ec53b..999840f69 100644 --- a/classes/kernel-imximage.bbclass +++ b/classes/kernel-imximage.bbclass | |||
| @@ -17,44 +17,44 @@ | |||
| 17 | # | 17 | # |
| 18 | # Copyright 2017 (C) O.S. Systems Software LTDA. | 18 | # Copyright 2017 (C) O.S. Systems Software LTDA. |
| 19 | 19 | ||
| 20 | DEPENDS:append = ' u-boot-mkimage-native' | 20 | DEPENDS:append = " u-boot-mkimage-native" |
| 21 | 21 | ||
| 22 | IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" | 22 | IMXIMAGE_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" |
| 23 | 23 | ||
| 24 | imx_mkimage() { | 24 | imx_mkimage() { |
| 25 | uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx | 25 | uboot-mkimage -n $1 -T imximage -e ${IMXIMAGE_ENTRYPOINT} -d $2 $2.imx |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | gen_imximage() { | 28 | gen_imximage() { |
| 29 | if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then | 29 | if [ -z "${IMXIMAGE_ENTRYPOINT}" ]; then |
| 30 | bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value" | 30 | bbfatal "IMXIMAGE_ENTRYPOINT must have a valid value" |
| 31 | fi | 31 | fi |
| 32 | 32 | ||
| 33 | for DTB in ${KERNEL_DEVICETREE}; do | 33 | for DTB in ${KERNEL_DEVICETREE}; do |
| 34 | DTB=`normalize_dtb "${DTB}"` | 34 | DTB=`normalize_dtb "${DTB}"` |
| 35 | DTB_EXT=${DTB##*.} | 35 | DTB_EXT=${DTB##*.} |
| 36 | DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"` | 36 | DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"` |
| 37 | base_name="zImage-"${KERNEL_IMAGE_BASE_NAME} | 37 | base_name="zImage-"${KERNEL_IMAGE_BASE_NAME} |
| 38 | symlink_name="zImage-"${KERNEL_IMAGE_SYMLINK_NAME} | 38 | symlink_name="zImage-"${KERNEL_IMAGE_SYMLINK_NAME} |
| 39 | DTB_NAME=`echo ${base_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` | 39 | DTB_NAME=`echo ${base_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` |
| 40 | DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` | 40 | DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` |
| 41 | for DCD in dcd-${DTB}.cfg dcd.cfg; do | 41 | for DCD in dcd-${DTB}.cfg dcd.cfg; do |
| 42 | if [ -e "${WORKDIR}/${DCD}" ]; then | 42 | if [ -e "${WORKDIR}/${DCD}" ]; then |
| 43 | if [ -e ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin ]; then | 43 | if [ -e ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin ]; then |
| 44 | imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin | 44 | imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/${DTB_NAME}.${DTB_EXT}.bin |
| 45 | ln -sf ${DTB_NAME}.${DTB_EXT}.bin.imx ${DEPLOYDIR}/$type-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx | 45 | ln -sf ${DTB_NAME}.${DTB_EXT}.bin.imx ${DEPLOYDIR}/$type-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx |
| 46 | fi | 46 | fi |
| 47 | 47 | ||
| 48 | if [ -e ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin ]; then | 48 | if [ -e ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin ]; then |
| 49 | imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin | 49 | imx_mkimage ${WORKDIR}/${DCD} ${DEPLOYDIR}/zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin |
| 50 | ln -sf zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx \ | 50 | ln -sf zImage-${INITRAMFS_BASE_NAME}-${DTB_BASE_NAME}.${DTB_EXT}.bin.imx \ |
| 51 | ${DEPLOYDIR}/zImage-initramfs-${DTB_BASE_NAME}.${DTB_EXT}-${MACHINE}.bin.imx | 51 | ${DEPLOYDIR}/zImage-initramfs-${DTB_BASE_NAME}.${DTB_EXT}-${MACHINE}.bin.imx |
| 52 | fi | 52 | fi |
| 53 | fi | 53 | fi |
| 54 | done | 54 | done |
| 55 | done | 55 | done |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | do_deploy:append() { | 58 | do_deploy:append() { |
| 59 | gen_imximage | 59 | gen_imximage |
| 60 | } | 60 | } |
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass index f338bf829..38a607778 100644 --- a/classes/mfgtool-initramfs-image.bbclass +++ b/classes/mfgtool-initramfs-image.bbclass | |||
| @@ -19,12 +19,12 @@ IMAGE_ROOTFS_SIZE ?= "8192" | |||
| 19 | IMAGE_NAME_SUFFIX = "" | 19 | IMAGE_NAME_SUFFIX = "" |
| 20 | 20 | ||
| 21 | # Filesystems enabled by default | 21 | # Filesystems enabled by default |
| 22 | DEFAULT_FS_SUPPORT = " \ | 22 | DEFAULT_FS_SUPPORT = "\ |
| 23 | mtd \ | 23 | mtd \ |
| 24 | extfs \ | 24 | extfs \ |
| 25 | " | 25 | " |
| 26 | 26 | ||
| 27 | IMAGE_FEATURES = " \ | 27 | IMAGE_FEATURES = "\ |
| 28 | ${DEFAULT_FS_SUPPORT} \ | 28 | ${DEFAULT_FS_SUPPORT} \ |
| 29 | \ | 29 | \ |
| 30 | read-only-rootfs \ | 30 | read-only-rootfs \ |
| @@ -38,6 +38,6 @@ USE_DEVFS = "1" | |||
| 38 | 38 | ||
| 39 | inherit core-image | 39 | inherit core-image |
| 40 | 40 | ||
| 41 | CORE_IMAGE_BASE_INSTALL = " \ | 41 | CORE_IMAGE_BASE_INSTALL = "\ |
| 42 | ${CORE_IMAGE_EXTRA_INSTALL} \ | 42 | ${CORE_IMAGE_EXTRA_INSTALL} \ |
| 43 | " | 43 | " |
diff --git a/classes/use-imx-security-controller-firmware.bbclass b/classes/use-imx-security-controller-firmware.bbclass index 975dd77c1..6a39bb684 100644 --- a/classes/use-imx-security-controller-firmware.bbclass +++ b/classes/use-imx-security-controller-firmware.bbclass | |||
| @@ -16,15 +16,15 @@ | |||
| 16 | # This behavior ensures that derivatives which requires SECO Firmware to be | 16 | # This behavior ensures that derivatives which requires SECO Firmware to be |
| 17 | # present in the image file have it properly defined. | 17 | # present in the image file have it properly defined. |
| 18 | 18 | ||
| 19 | SECO_FIRMWARE_NAME ?= "" | 19 | SECO_FIRMWARE_NAME ?= "" |
| 20 | SECO_FIRMWARE_NAME:mx8qm-generic-bsp ?= "mx8qm${IMX_SOC_REV_LOWER}-ahab-container.img" | 20 | SECO_FIRMWARE_NAME:mx8qm-generic-bsp ?= "mx8qm${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 21 | SECO_FIRMWARE_NAME:mx8qxp-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" | 21 | SECO_FIRMWARE_NAME:mx8qxp-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 22 | SECO_FIRMWARE_NAME:mx8dx-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" | 22 | SECO_FIRMWARE_NAME:mx8dx-generic-bsp ?= "mx8qx${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 23 | SECO_FIRMWARE_NAME:mx8dxl-generic-bsp ?= "mx8dxl${IMX_SOC_REV_LOWER}-ahab-container.img" | 23 | SECO_FIRMWARE_NAME:mx8dxl-generic-bsp ?= "mx8dxl${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 24 | SECO_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}-ahab-container.img" | 24 | SECO_FIRMWARE_NAME:mx8ulp-generic-bsp ?= "mx8ulp${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 25 | SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.img" | 25 | SECO_FIRMWARE_NAME:mx91-generic-bsp ?= "mx91${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 26 | SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img" | 26 | SECO_FIRMWARE_NAME:mx93-generic-bsp ?= "mx93${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 27 | SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img" | 27 | SECO_FIRMWARE_NAME:mx95-generic-bsp ?= "mx95${IMX_SOC_REV_LOWER}-ahab-container.img" |
| 28 | 28 | ||
| 29 | python () { | 29 | python () { |
| 30 | if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"): | 30 | if "mx8m-generic-bsp" in d.getVar('MACHINEOVERRIDES').split(":"): |
diff --git a/classes/uuu_bootloader_tag.bbclass b/classes/uuu_bootloader_tag.bbclass index b41d22a92..54d9c1902 100644 --- a/classes/uuu_bootloader_tag.bbclass +++ b/classes/uuu_bootloader_tag.bbclass | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | # IMPORTANT: The tagged boot partition file should never be used directly with | 5 | # IMPORTANT: The tagged boot partition file should never be used directly with |
| 6 | # UUU, as it can cause UUU to hang. | 6 | # UUU, as it can cause UUU to hang. |
| 7 | 7 | ||
| 8 | UUU_BOOTLOADER = "${UBOOT_BINARY}" | 8 | UUU_BOOTLOADER = "${UBOOT_BINARY}" |
| 9 | UUU_BOOTLOADER:mx8-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" | 9 | UUU_BOOTLOADER:mx8-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" |
| 10 | UUU_BOOTLOADER:mx9-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" | 10 | UUU_BOOTLOADER:mx9-generic-bsp = "${@d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0' and 'imx-boot' or 'flash.bin'}" |
| 11 | 11 | ||
diff --git a/conf/layer.conf b/conf/layer.conf index c91f4c4f8..9fcb322fe 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
| @@ -24,6 +24,11 @@ FSL_MIRROR ?= "${IMX_MIRROR}" | |||
| 24 | MIRRORS += " \ | 24 | MIRRORS += " \ |
| 25 | ${IMX_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ | 25 | ${IMX_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ |
| 26 | " | 26 | " |
| 27 | |||
| 28 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS:append = " \ | ||
| 29 | linux-firmware->firmware-nxp-wifi \ | ||
| 30 | " | ||
| 31 | |||
| 27 | # Needs gbm_bo_create_with_modifiers2() API which is not | 32 | # Needs gbm_bo_create_with_modifiers2() API which is not |
| 28 | # implemented in imx GL driver implementation | 33 | # implemented in imx GL driver implementation |
| 29 | COMPATIBLE_HOST:pn-xdg-desktop-portal-wlr:imxgpu = "(null)" | 34 | COMPATIBLE_HOST:pn-xdg-desktop-portal-wlr:imxgpu = "(null)" |
diff --git a/contrib/oelint/run-oelint.sh b/contrib/oelint/run-oelint.sh new file mode 100755 index 000000000..d09f2a45d --- /dev/null +++ b/contrib/oelint/run-oelint.sh | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | # Run oelint-adv over meta-freescale. Requires oelint-adv on PATH. | ||
| 3 | # | ||
| 4 | # All linter configuration is declarative and lives at the layer root, so this | ||
| 5 | # script only has to enumerate the files (oelint-adv does not recurse into | ||
| 6 | # directories): | ||
| 7 | # * .oelint.cfg - sets '--release'; auto-loaded from the working | ||
| 8 | # directory | ||
| 9 | # * oelint.constants.json - the layer constant-DB additions, passed via | ||
| 10 | # --constantmods for compatibility with oelint-adv | ||
| 11 | # versions that do not auto-load layer constants | ||
| 12 | # | ||
| 13 | # Exceptions should stay inline as '# nooelint: <rule.id>' comments next to the | ||
| 14 | # finding, so new recipes are fully linted and each exception is documented in | ||
| 15 | # place (and flagged by oelint.file.inlinesuppress_na once stale). | ||
| 16 | set -eu | ||
| 17 | |||
| 18 | # Neutralise CDPATH so 'cd' below can't print or jump to an unexpected dir. | ||
| 19 | unset CDPATH | ||
| 20 | |||
| 21 | here=$(cd -- "$(dirname -- "$0")" && pwd) | ||
| 22 | layer=$(cd -- "$here/../.." && pwd) | ||
| 23 | |||
| 24 | # Run from the layer root so '.oelint.cfg' is probed in the working directory | ||
| 25 | # and the relative constants path below is stable. | ||
| 26 | cd -- "$layer" | ||
| 27 | |||
| 28 | files=$(find . \ | ||
| 29 | \( -name '*.bb' -o -name '*.bbappend' -o -name '*.bbclass' -o -name '*.inc' \) \ | ||
| 30 | | sort) | ||
| 31 | |||
| 32 | # Run serially: oelint-adv's parallel workers race while loading the layer | ||
| 33 | # constants, intermittently emitting false "unknown variable/override" findings. | ||
| 34 | # Serial execution is deterministic. Pass '--jobs N' to override. | ||
| 35 | # Keep files before --constantmods: that option accepts one or more arguments | ||
| 36 | # and otherwise consumes the entire generated file list. | ||
| 37 | # shellcheck disable=SC2086 | ||
| 38 | exec oelint-adv --jobs 1 $files --constantmods +oelint.constants.json "$@" | ||
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc index 7c5303066..2bcbea653 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc | |||
| @@ -3,7 +3,7 @@ DEPENDS = "gcc-arm-none-eabi-native" | |||
| 3 | 3 | ||
| 4 | inherit deploy | 4 | inherit deploy |
| 5 | 5 | ||
| 6 | PACKAGECONFIG ??= " \ | 6 | PACKAGECONFIG ??= "\ |
| 7 | ${@bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', 'ecc', '', d)}" | 7 | ${@bb.utils.contains('UBOOT_CONFIG', 'sd-ecc', 'ecc', '', d)}" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG[ecc] = "" | 9 | PACKAGECONFIG[ecc] = "" |
| @@ -12,11 +12,11 @@ PACKAGECONFIG[tcm] = "" | |||
| 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 13 | 13 | ||
| 14 | OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}" | 14 | OEI_CONFIGS ?= "ddr ${@bb.utils.filter('PACKAGECONFIG', 'tcm', d)}" |
| 15 | OEI_CORE ?= "UNDEFINED" | 15 | OEI_CORE ?= "UNDEFINED" |
| 16 | OEI_SOC ?= "UNDEFINED" | 16 | OEI_SOC ?= "UNDEFINED" |
| 17 | OEI_BOARD ?= "UNDEFINED" | 17 | OEI_BOARD ?= "UNDEFINED" |
| 18 | OEI_DDR_CONFIG ?= "" | 18 | OEI_DDR_CONFIG ?= "" |
| 19 | OEI_DEBUG ?= "0" | 19 | OEI_DEBUG ?= "0" |
| 20 | 20 | ||
| 21 | LDFLAGS[unexport] = "1" | 21 | LDFLAGS[unexport] = "1" |
| 22 | 22 | ||
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb index 2962a1acc..c7edeebed 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | SUMMARY = "i.MX Optional Execution Image" | 1 | SUMMARY = "i.MX Optional Execution Image" |
| 2 | DESCRIPTION = "\ | 2 | DESCRIPTION = "\ |
| 3 | The Optional Executable Image (OEI) is an optional plugin loaded and executed \ | 3 | The Optional Executable Image (OEI) is an optional plugin loaded and executed \ |
| 4 | by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \ | 4 | by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \ |
| 5 | boot core, runs the boot ROM which loads the OEI, and then branches to the \ | 5 | boot core, runs the boot ROM which loads the OEI, and then branches to the \ |
| 6 | OEI. The OEI then configures some aspects of the hardware such as DDR config, \ | 6 | OEI. The OEI then configures some aspects of the hardware such as DDR config, \ |
| 7 | init TCM ECC, etc. There could be multiple OEI images in the boot container. \ | 7 | init TCM ECC, etc. There could be multiple OEI images in the boot container. \ |
| 8 | After execution of OEI, the processor returns to ROM execution." | 8 | After execution of OEI, the processor returns to ROM execution." |
| 9 | HOMEPAGE = "https://github.com/nxp-imx/imx-oei" | ||
| 9 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" |
| 11 | 12 | ||
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc index 65f0a0e0c..e33cd1829 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc | |||
| @@ -18,7 +18,7 @@ SYSTEM_MANAGER_CONFIG ?= "INVALID" | |||
| 18 | 18 | ||
| 19 | LDFLAGS[unexport] = "1" | 19 | LDFLAGS[unexport] = "1" |
| 20 | 20 | ||
| 21 | EXTRA_OEMAKE = " \ | 21 | EXTRA_OEMAKE = "\ |
| 22 | CONFIG=${SYSTEM_MANAGER_CONFIG} \ | 22 | CONFIG=${SYSTEM_MANAGER_CONFIG} \ |
| 23 | SM_CROSS_COMPILE=arm-none-eabi- \ | 23 | SM_CROSS_COMPILE=arm-none-eabi- \ |
| 24 | V=1 \ | 24 | V=1 \ |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb index 888b883bc..874727666 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_2026q1.bb | |||
| @@ -1,13 +1,14 @@ | |||
| 1 | SUMMARY = "i.MX System Manager Firmware" | 1 | SUMMARY = "i.MX System Manager Firmware" |
| 2 | DESCRIPTION = "\ | 2 | DESCRIPTION = "\ |
| 3 | The System Manager (SM) is a firmware that runs on a Cortex-M processor on \ | 3 | The System Manager (SM) is a firmware that runs on a Cortex-M processor on \ |
| 4 | many NXP i.MX processors. The Cortex-M is the boot core, runs the boot ROM \ | 4 | many NXP i.MX processors. The Cortex-M is the boot core, runs the boot ROM \ |
| 5 | which loads the SM (and other boot code), and then branches to the SM. The \ | 5 | which loads the SM (and other boot code), and then branches to the SM. The \ |
| 6 | SM then configures some aspects of the hardware such as isolation mechanisms \ | 6 | SM then configures some aspects of the hardware such as isolation mechanisms \ |
| 7 | and then starts other cores in the system. After starting these cores, it \ | 7 | and then starts other cores in the system. After starting these cores, it \ |
| 8 | enters a service mode where it provides access to clocking, power, sensor, \ | 8 | enters a service mode where it provides access to clocking, power, sensor, \ |
| 9 | and pin control via a client RPC API based on ARM's System Control and \ | 9 | and pin control via a client RPC API based on ARM's System Control and \ |
| 10 | Management Interface (SCMI)." | 10 | Management Interface (SCMI)." |
| 11 | HOMEPAGE = "https://github.com/nxp-imx/imx-sm" | ||
| 11 | LICENSE = "BSD-3-Clause" | 12 | LICENSE = "BSD-3-Clause" |
| 12 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861" | 13 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861" |
| 13 | 14 | ||
diff --git a/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend b/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend index 563c9e763..5490f6881 100644 --- a/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend +++ b/dynamic-layers/filesystem-layer/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bbappend | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | # Copyright (C) 2015 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2015 O.S. Systems Software LTDA. |
| 2 | 2 | ||
| 3 | PACKAGES += " \ | 3 | PACKAGES += "\ |
| 4 | ${PN}-f2fs \ | 4 | ${PN}-f2fs \ |
| 5 | " | 5 | " |
| 6 | 6 | ||
| 7 | RDEPENDS:${PN}-f2fs = " \ | 7 | RDEPENDS:${PN}-f2fs = "\ |
| 8 | ${PN}-base \ | 8 | ${PN}-base \ |
| 9 | f2fs-tools \ | 9 | f2fs-tools \ |
| 10 | " | 10 | " |
diff --git a/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend b/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend index fb90c73e1..20b03e12a 100644 --- a/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend +++ b/dynamic-layers/gnome-layer/recipes-graphics/clutter/clutter-1.0_%.bbappend | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | PACKAGECONFIG:imxgpu3d ??= " \ | 1 | PACKAGECONFIG:imxgpu3d ??= "\ |
| 2 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \ | 2 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \ |
| 3 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ | 3 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ |
| 4 | '', d), d)} \ | 4 | '', d), d)} \ |
diff --git a/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend b/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend index e07d0d542..e4401bf9a 100644 --- a/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend +++ b/dynamic-layers/gnome-layer/recipes-graphics/cogl/cogl-1.0_%.bbappend | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | PACKAGECONFIG:imxgpu3d ??= " \ | 1 | PACKAGECONFIG:imxgpu3d ??= "\ |
| 2 | cogl-pango gles2 \ | 2 | cogl-pango gles2 \ |
| 3 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ | 3 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ |
| 4 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ | 4 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend index 2c28aca5f..44fed544b 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend | |||
| @@ -11,9 +11,9 @@ SRC_URI:append:mx95-nxp-bsp = " \ | |||
| 11 | DEPENDS:append:mx95-nxp-bsp = " libdrm" | 11 | DEPENDS:append:mx95-nxp-bsp = " libdrm" |
| 12 | 12 | ||
| 13 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" | 13 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 14 | PACKAGECONFIG_REMOVE ?= "" | 14 | PACKAGECONFIG_REMOVE ?= "" |
| 15 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" | 15 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" |
| 16 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" | 16 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" |
| 17 | 17 | ||
| 18 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" | 18 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" |
| 19 | 19 | ||
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend index e79e98cfe..891620f07 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| 2 | 2 | ||
| 3 | SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \ | 3 | SRC_URI:append:imx-nxp-bsp = " file://51-bluez-imx.conf \ |
| 4 | file://80-disable-logind.conf \ | 4 | file://80-disable-logind.conf \ |
| 5 | file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \ | 5 | file://0001-wpctl-fix-set-default-Segmentation-fault-on-32bit-pl.patch \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | do_install:append:imx-nxp-bsp () { | 8 | do_install:append:imx-nxp-bsp () { |
| 9 | 9 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend index dfedc062e..9f6c55be0 100644 --- a/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # 6 and 7 Vivante do not provide virtual/libgbm required for any drm* flavour | 1 | # 6 and 7 Vivante do not provide virtual/libgbm required for any drm* flavour |
| 2 | DRM-REMOVE = "" | 2 | DRM-REMOVE = "" |
| 3 | DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2" | 3 | DRM-REMOVE:imxgpu:mx6-nxp-bsp = "drm-gl drm-gles2" |
| 4 | DRM-REMOVE:imxgpu:mx7-nxp-bsp = "drm-gl drm-gles2" | 4 | DRM-REMOVE:imxgpu:mx7-nxp-bsp = "drm-gl drm-gles2" |
| 5 | PACKAGECONFIG:remove = "${DRM-REMOVE}" | 5 | PACKAGECONFIG:remove = "${DRM-REMOVE}" |
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb b/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb index 364c91bcc..4c9620f91 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/utp-com/utp-com_git.bb | |||
| @@ -1,20 +1,22 @@ | |||
| 1 | SUMMARY = "NXP UTP protocol command-line tool" | ||
| 1 | DESCRIPTION = "Tool used to send commands to hardware via NXP's UTP protocol" | 2 | DESCRIPTION = "Tool used to send commands to hardware via NXP's UTP protocol" |
| 3 | HOMEPAGE = "https://github.com/Freescale/utp_com" | ||
| 4 | SECTION = "devel" | ||
| 2 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022" |
| 4 | 7 | ||
| 5 | DEPENDS = "sg3-utils" | 8 | DEPENDS = "sg3-utils" |
| 6 | 9 | ||
| 7 | SRCREV = "dee512ced1e9367d223d22f10797fbf9aeacfab6" | 10 | PV = "1.0+git${SRCPV}" |
| 8 | SRC_URI = " \ | 11 | SRC_URI = "\ |
| 9 | git://github.com/Freescale/utp_com;protocol=https;branch=master \ | 12 | git://github.com/Freescale/utp_com;protocol=https;branch=master \ |
| 10 | " | 13 | " |
| 11 | 14 | SRCREV = "dee512ced1e9367d223d22f10797fbf9aeacfab6" | |
| 12 | PV = "1.0+git${SRCPV}" | ||
| 13 | 15 | ||
| 14 | do_configure[noexec] = "1" | 16 | do_configure[noexec] = "1" |
| 15 | 17 | ||
| 16 | do_compile () { | 18 | do_compile () { |
| 17 | oe_runmake | 19 | oe_runmake |
| 18 | } | 20 | } |
| 19 | 21 | ||
| 20 | do_install () { | 22 | do_install () { |
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb b/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb index 3af8bc569..036d0284f 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/uuu/uuu_git.bb | |||
| @@ -11,6 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5" | |||
| 11 | 11 | ||
| 12 | inherit cmake pkgconfig | 12 | inherit cmake pkgconfig |
| 13 | 13 | ||
| 14 | DEPENDS = "libusb zlib bzip2 openssl zstd libtinyxml2" | 14 | DEPENDS = "bzip2 libtinyxml2 libusb openssl zlib zstd" |
| 15 | 15 | ||
| 16 | BBCLASSEXTEND = "native nativesdk" | 16 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 227b6291b..6a52f67a6 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | |||
| @@ -1,20 +1,21 @@ | |||
| 1 | SUMMARY = "Frame Manager Configuration tool" | 1 | SUMMARY = "Frame Manager Configuration tool" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/fmc" | ||
| 2 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a504ab5a8ff235e67c7301214749346c" |
| 4 | 5 | ||
| 5 | PR = "r2" | 6 | PR = "r2" |
| 6 | 7 | ||
| 7 | DEPENDS = "libxml2 fmlib tclap" | 8 | DEPENDS = "fmlib libxml2 tclap" |
| 8 | 9 | ||
| 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" |
| 10 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" | 11 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" |
| 11 | 12 | ||
| 12 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 13 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 13 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 14 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 14 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 15 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
| 15 | EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 16 | EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 16 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 17 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 17 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 18 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
| 18 | 19 | ||
| 19 | EXTRA_OEMAKE_PLATFORM ?= "" | 20 | EXTRA_OEMAKE_PLATFORM ?= "" |
| 20 | EXTRA_OEMAKE_PLATFORM:ls1043a = "ls1043" | 21 | EXTRA_OEMAKE_PLATFORM:ls1043a = "ls1043" |
| @@ -27,7 +28,6 @@ EXTRA_OEMAKE_PLATFORM:p3041 = "p4080ds" | |||
| 27 | EXTRA_OEMAKE_PLATFORM:p4080 = "p4080ds" | 28 | EXTRA_OEMAKE_PLATFORM:p4080 = "p4080ds" |
| 28 | EXTRA_OEMAKE_PLATFORM:p5040 = "p4080ds" | 29 | EXTRA_OEMAKE_PLATFORM:p5040 = "p4080ds" |
| 29 | 30 | ||
| 30 | |||
| 31 | do_compile () { | 31 | do_compile () { |
| 32 | oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source | 32 | oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source |
| 33 | } | 33 | } |
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 index 724d0ff53..2b766b199 100644 --- 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 | |||
| @@ -2,11 +2,11 @@ DESCRIPTION = "Add packages for opencv i.MX build" | |||
| 2 | 2 | ||
| 3 | inherit packagegroup | 3 | inherit packagegroup |
| 4 | 4 | ||
| 5 | OPENCV_PKGS = " \ | 5 | OPENCV_PKGS = "\ |
| 6 | opencv-apps \ | 6 | opencv-apps \ |
| 7 | opencv-samples \ | 7 | opencv-samples \ |
| 8 | python3-opencv \ | 8 | python3-opencv \ |
| 9 | " | 9 | " |
| 10 | RDEPENDS:${PN} = " \ | 10 | RDEPENDS:${PN} = "\ |
| 11 | ${OPENCV_PKGS} \ | 11 | ${OPENCV_PKGS} \ |
| 12 | " | 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 index 534d37627..111bd931a 100644 --- 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 | |||
| @@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 8 | 8 | ||
| 9 | inherit packagegroup | 9 | inherit packagegroup |
| 10 | 10 | ||
| 11 | RDEPENDS:${PN} = " \ | 11 | RDEPENDS:${PN} = "\ |
| 12 | lmbench \ | 12 | lmbench \ |
| 13 | bonnie++ \ | 13 | bonnie++ \ |
| 14 | dbench \ | 14 | dbench \ |
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 index 2706dca97..4f151ac47 100644 --- 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 | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \ | 5 | DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \ |
| 6 | for hardware test." | 6 | for hardware test." |
| 7 | SUMMARY = "FSL Community packagegroup - tools/testapps" | 7 | SUMMARY = "FSL Community packagegroup - tools/testapps" |
| 8 | 8 | ||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| @@ -12,10 +12,10 @@ inherit packagegroup | |||
| 12 | 12 | ||
| 13 | SOC_TOOLS_TEST = "" | 13 | SOC_TOOLS_TEST = "" |
| 14 | SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test" | 14 | SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test" |
| 15 | SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos" | 15 | SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos" |
| 16 | SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq" | 16 | SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq" |
| 17 | 17 | ||
| 18 | RDEPENDS:${PN} = " \ | 18 | RDEPENDS:${PN} = "\ |
| 19 | alsa-utils \ | 19 | alsa-utils \ |
| 20 | alsa-tools \ | 20 | alsa-tools \ |
| 21 | dosfstools \ | 21 | dosfstools \ |
diff --git a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend index 5cf6d411c..9bc613e1f 100644 --- a/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-multimedia/mpv/mpv_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # testbuild/../test.c:10: undefined reference to `glXCreateContext' | 1 | # testbuild/../test.c:10: undefined reference to `glXCreateContext' |
| 2 | PACKAGECONFIG:remove:imxgpu = "x11" | 2 | PACKAGECONFIG:remove:imxgpu = "x11" |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch deleted file mode 100644 index b1b00623d..000000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | From 9b4959b97d2e95d4b49cf6ca2a3fce3cdb484f2d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | ||
| 3 | Date: Thu, 31 Mar 2016 00:20:15 +0200 | ||
| 4 | Subject: [PATCH] 3rdparty/ippicv: Use pre-downloaded ipp | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | ||
| 8 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | 3rdparty/ippicv/ippicv.cmake | 15 +-------------- | ||
| 12 | 1 file changed, 1 insertion(+), 14 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/3rdparty/ippicv/ippicv.cmake b/3rdparty/ippicv/ippicv.cmake | ||
| 15 | index 257af6fcc6..f88460450f 100644 | ||
| 16 | --- a/3rdparty/ippicv/ippicv.cmake | ||
| 17 | +++ b/3rdparty/ippicv/ippicv.cmake | ||
| 18 | @@ -34,18 +34,5 @@ function(download_ippicv root_var) | ||
| 19 | endif() | ||
| 20 | |||
| 21 | set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/ippicv") | ||
| 22 | - ocv_download(FILENAME ${OPENCV_ICV_NAME} | ||
| 23 | - HASH ${OPENCV_ICV_HASH} | ||
| 24 | - URL | ||
| 25 | - "${OPENCV_IPPICV_URL}" | ||
| 26 | - "$ENV{OPENCV_IPPICV_URL}" | ||
| 27 | - "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_COMMIT}/ippicv/" | ||
| 28 | - DESTINATION_DIR "${THE_ROOT}" | ||
| 29 | - ID IPPICV | ||
| 30 | - STATUS res | ||
| 31 | - UNPACK RELATIVE_URL) | ||
| 32 | - | ||
| 33 | - if(res) | ||
| 34 | - set(${root_var} "${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR}" PARENT_SCOPE) | ||
| 35 | - endif() | ||
| 36 | + set(${root_var} "${THE_ROOT}/${OPENCV_ICV_PACKAGE_SUBDIR}" PARENT_SCOPE) | ||
| 37 | endfunction() | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch deleted file mode 100644 index 59da6ab32..000000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From d6bdd0a91eb0ed57688c0af5ba5088cf0afdc0a0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jochen Sprickerhof <jspricke@debian.org> | ||
| 3 | Date: Mon, 8 Aug 2022 21:10:13 +0200 | ||
| 4 | Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/opencv/opencv/pull/22357] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | modules/videoio/src/ffmpeg_codecs.hpp | 1 + | ||
| 10 | 1 file changed, 1 insertion(+) | ||
| 11 | |||
| 12 | diff --git a/modules/videoio/src/ffmpeg_codecs.hpp b/modules/videoio/src/ffmpeg_codecs.hpp | ||
| 13 | index 61788e0345..faad2596ed 100644 | ||
| 14 | --- a/modules/videoio/src/ffmpeg_codecs.hpp | ||
| 15 | +++ b/modules/videoio/src/ffmpeg_codecs.hpp | ||
| 16 | @@ -60,6 +60,7 @@ extern "C" { | ||
| 17 | #include <errno.h> | ||
| 18 | #endif | ||
| 19 | |||
| 20 | +#include <libavcodec/version.h> | ||
| 21 | #include <libavformat/avformat.h> | ||
| 22 | |||
| 23 | #ifdef __cplusplus | ||
| 24 | -- | ||
| 25 | 2.38.1 | ||
| 26 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch index 46232ec5c..29e0d5f95 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Add-smaller-version-of-download_models.py.patch | |||
| @@ -4,6 +4,7 @@ Date: Tue, 1 Sep 2020 14:57:07 -0500 | |||
| 4 | Subject: [PATCH] Add smaller version of download_models.py | 4 | Subject: [PATCH] Add smaller version of download_models.py |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| 7 | |||
| 7 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | 8 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> |
| 8 | --- | 9 | --- |
| 9 | testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ | 10 | testdata/dnn/download_models_basic.py | 159 ++++++++++++++++++++++++++ |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch index d56b8ae67..9e72fe2f5 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Make-ts-module-external.patch | |||
| @@ -7,7 +7,7 @@ Make ts module external | |||
| 7 | 7 | ||
| 8 | Reference: https://github.com/qbonnard/opencv/commit/6b229c5834cb9a0930425e762a6c7b03244d7abb | 8 | Reference: https://github.com/qbonnard/opencv/commit/6b229c5834cb9a0930425e762a6c7b03244d7abb |
| 9 | 9 | ||
| 10 | Upstream-Status: Submitted [https://github.com/opencv/opencv/issues/8408] | 10 | Upstream-Status: Denied [https://github.com/opencv/opencv/issues/8408] |
| 11 | 11 | ||
| 12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 12 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
| 13 | --- | 13 | --- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch new file mode 100644 index 000000000..ec2bb2d10 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Renamed-templated-BlocksCompensator-feed-method-to-e.patch | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | From b28d9bef1d96d10e9a47d55a63d9f1443e6e3d2b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Smorkalov <alexander.smorkalov@xperience.ai> | ||
| 3 | Date: Mon, 8 Sep 2025 14:52:58 +0300 | ||
| 4 | Subject: [PATCH] Renamed templated BlocksCompensator::feed method to exclude | ||
| 5 | claches with base class pure virtual method. | ||
| 6 | |||
| 7 | Upstream-Status: Backport [https://github.com/opencv/opencv/commit/b28d9bef1d96d10e9a47d55a63d9f1443e6e3d2b] | ||
| 8 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
| 9 | --- | ||
| 10 | .../opencv2/stitching/detail/exposure_compensate.hpp | 2 +- | ||
| 11 | modules/stitching/src/exposure_compensate.cpp | 6 +++--- | ||
| 12 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp | ||
| 15 | index dea76c957b..2954f32ca3 100644 | ||
| 16 | --- a/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp | ||
| 17 | +++ b/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp | ||
| 18 | @@ -187,7 +187,7 @@ public: | ||
| 19 | |||
| 20 | protected: | ||
| 21 | template<class Compensator> | ||
| 22 | - void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 23 | + void feedWithStrategy(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 24 | const std::vector<std::pair<UMat,uchar> > &masks); | ||
| 25 | |||
| 26 | private: | ||
| 27 | diff --git a/modules/stitching/src/exposure_compensate.cpp b/modules/stitching/src/exposure_compensate.cpp | ||
| 28 | index 59542d95ba..f7c33fa4ef 100644 | ||
| 29 | --- a/modules/stitching/src/exposure_compensate.cpp | ||
| 30 | +++ b/modules/stitching/src/exposure_compensate.cpp | ||
| 31 | @@ -460,7 +460,7 @@ void ChannelsCompensator::setMatGains(std::vector<Mat>& umv) | ||
| 32 | |||
| 33 | |||
| 34 | template<class Compensator> | ||
| 35 | -void BlocksCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 36 | +void BlocksCompensator::feedWithStrategy(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 37 | const std::vector<std::pair<UMat,uchar> > &masks) | ||
| 38 | { | ||
| 39 | CV_Assert(corners.size() == images.size() && images.size() == masks.size()); | ||
| 40 | @@ -605,13 +605,13 @@ void BlocksCompensator::setMatGains(std::vector<Mat>& umv) | ||
| 41 | void BlocksGainCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 42 | const std::vector<std::pair<UMat,uchar> > &masks) | ||
| 43 | { | ||
| 44 | - BlocksCompensator::feed<GainCompensator>(corners, images, masks); | ||
| 45 | + BlocksCompensator::feedWithStrategy<GainCompensator>(corners, images, masks); | ||
| 46 | } | ||
| 47 | |||
| 48 | void BlocksChannelsCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, | ||
| 49 | const std::vector<std::pair<UMat,uchar> > &masks) | ||
| 50 | { | ||
| 51 | - BlocksCompensator::feed<ChannelsCompensator>(corners, images, masks); | ||
| 52 | + BlocksCompensator::feedWithStrategy<ChannelsCompensator>(corners, images, masks); | ||
| 53 | } | ||
| 54 | |||
| 55 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch index aa7d335ea..a3bbefaab 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch | |||
| @@ -4,10 +4,11 @@ Date: Wed, 9 May 2018 13:33:59 -0700 | |||
| 4 | Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function | 4 | Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function |
| 5 | compile failure until next uprev | 5 | compile failure until next uprev |
| 6 | 6 | ||
| 7 | Upstream-Status: Inappropriate [platform specific] | ||
| 8 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | 7 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> |
| 9 | 8 | ||
| 10 | --- | 9 | --- |
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 11 | modules/videoio/src/cap_ffmpeg_impl.hpp | 8 ++++++++ | 12 | modules/videoio/src/cap_ffmpeg_impl.hpp | 8 ++++++++ |
| 12 | 1 file changed, 8 insertions(+) | 13 | 1 file changed, 8 insertions(+) |
| 13 | 14 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch deleted file mode 100644 index 5d88d1a6a..000000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-Use-the-one-argument-version-of-SetTotalBytesLimit.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | From 9cfa84313c5833d7295fcf57be93d5d2aaadfd88 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Vincent Rabaud <vrabaud@google.com> | ||
| 3 | Date: Sat, 10 Jul 2021 00:21:52 +0200 | ||
| 4 | Subject: [PATCH] Use the one argument version of SetTotalBytesLimit. | ||
| 5 | |||
| 6 | The two argument versions has been deprecated, cf | ||
| 7 | https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream | ||
| 8 | |||
| 9 | Upstream-Status: Backport [9cfa84313c5833d7295fcf57be93d5d2aaadfd88 - from master after 4.5.3 tag] | ||
| 10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 11 | --- | ||
| 12 | modules/dnn/src/caffe/caffe_io.cpp | 5 +++++ | ||
| 13 | 1 file changed, 5 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 16 | index 2fc4d84f46..ebecf95eea 100644 | ||
| 17 | --- a/modules/dnn/src/caffe/caffe_io.cpp | ||
| 18 | +++ b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 19 | @@ -92,6 +92,7 @@ | ||
| 20 | #ifdef HAVE_PROTOBUF | ||
| 21 | #include <google/protobuf/io/coded_stream.h> | ||
| 22 | #include <google/protobuf/io/zero_copy_stream_impl.h> | ||
| 23 | +#include <google/protobuf/stubs/common.h> | ||
| 24 | #include <google/protobuf/text_format.h> | ||
| 25 | |||
| 26 | #include <opencv2/core.hpp> | ||
| 27 | @@ -1111,7 +1112,11 @@ static const int kProtoReadBytesLimit = INT_MAX; // Max size of 2 GB minus 1 by | ||
| 28 | |||
| 29 | bool ReadProtoFromBinary(ZeroCopyInputStream* input, Message *proto) { | ||
| 30 | CodedInputStream coded_input(input); | ||
| 31 | +#if GOOGLE_PROTOBUF_VERSION >= 3006000 | ||
| 32 | + coded_input.SetTotalBytesLimit(kProtoReadBytesLimit); | ||
| 33 | +#else | ||
| 34 | coded_input.SetTotalBytesLimit(kProtoReadBytesLimit, 536870912); | ||
| 35 | +#endif | ||
| 36 | |||
| 37 | return proto->ParseFromCodedStream(&coded_input); | ||
| 38 | } | ||
| 39 | -- | ||
| 40 | 2.32.0 | ||
| 41 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch deleted file mode 100644 index 7b2c4100a..000000000 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0001-sfm-link-with-Glog_LIBS.patch +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | From ffe20fc4ec46c6b491eff29a38f90686d4d035f6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Mon, 12 Apr 2021 20:37:40 +0000 | ||
| 4 | Subject: [PATCH] sfm: link with Glog_LIBS | ||
| 5 | |||
| 6 | * in 4.5.0 there was explicit linkage with GLOG_LIBRARY, but since 4.5.1 with: | ||
| 7 | https://github.com/opencv/opencv_contrib/commit/23ee62a19b7a3e50d6dbf295359d8b1aff2e03fd | ||
| 8 | |||
| 9 | it's gone, probably because Glog_FOUND is already set from Ceres, | ||
| 10 | but then GLOG_LIBRARIES is empty in LIBMV_LIGHT_LIBS and build with gold fails: | ||
| 11 | |||
| 12 | FAILED: bin/example_tutorial_perspective_correction | ||
| 13 | : && TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -DNDEBUG -DNDEBUG -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0=/usr/src/debug/opencv/4.5.2-r0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -ITOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/git/include -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--gc-sections -Wl,--as-needed samples/cpp/CMakeFiles/example_tutorial_perspective_correction.dir/tutorial_code/features2D/Homography/perspective_correction.cpp.o -o bin/example_tutorial_perspective_correction -ldl -lm -lpthread -lrt lib/libopencv_gapi.so.4.5.2 lib/libopencv_stitching.so.4.5.2 lib/libopencv_ts.so.4.5.2 lib/libopencv_alphamat.so.4.5.2 lib/libopencv_aruco.so.4.5.2 lib/libopencv_bgsegm.so.4.5.2 lib/libopencv_bioinspired.so.4.5.2 lib/libopencv_ccalib.so.4.5.2 lib/libopencv_dnn_objdetect.so.4.5.2 lib/libopencv_dnn_superres.so.4.5.2 lib/libopencv_dpm.so.4.5.2 lib/libopencv_face.so.4.5.2 lib/libopencv_fuzzy.so.4.5.2 lib/libopencv_hfs.so.4.5.2 lib/libopencv_img_hash.so.4.5.2 lib/libopencv_intensity_transform.so.4.5.2 lib/libopencv_line_descriptor.so.4.5.2 lib/libopencv_mcc.so.4.5.2 lib/libopencv_quality.so.4.5.2 lib/libopencv_rapid.so.4.5.2 lib/libopencv_reg.so.4.5.2 lib/libopencv_rgbd.so.4.5.2 lib/libopencv_saliency.so.4.5.2 lib/libopencv_sfm.so.4.5.2 lib/libopencv_stereo.so.4.5.2 lib/libopencv_structured_light.so.4.5.2 lib/libopencv_superres.so.4.5.2 lib/libopencv_surface_matching.so.4.5.2 lib/libopencv_tracking.so.4.5.2 lib/libopencv_videostab.so.4.5.2 lib/libopencv_wechat_qrcode.so.4.5.2 lib/libopencv_xfeatures2d.so.4.5.2 lib/libopencv_xobjdetect.so.4.5.2 lib/libopencv_xphoto.so.4.5.2 lib/libopencv_shape.so.4.5.2 lib/libopencv_highgui.so.4.5.2 lib/libopencv_datasets.so.4.5.2 lib/libopencv_ml.so.4.5.2 lib/libopencv_plot.so.4.5.2 lib/libopencv_phase_unwrapping.so.4.5.2 lib/libopencv_optflow.so.4.5.2 lib/libopencv_ximgproc.so.4.5.2 lib/libopencv_videoio.so.4.5.2 lib/libopencv_video.so.4.5.2 lib/libopencv_dnn.so.4.5.2 lib/libopencv_imgcodecs.so.4.5.2 lib/libopencv_objdetect.so.4.5.2 lib/libopencv_calib3d.so.4.5.2 lib/libopencv_features2d.so.4.5.2 lib/libopencv_flann.so.4.5.2 lib/libopencv_photo.so.4.5.2 lib/libopencv_imgproc.so.4.5.2 lib/libopencv_core.so.4.5.2 -Wl,-rpath-link,TOPDIR/tmp-glibc/work/core2-64-oe-linux/opencv/4.5.2-r0/build/lib && : | ||
| 14 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::LogMessage(char const*, int)' | ||
| 15 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::stream()' | ||
| 16 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessage::~LogMessage()' | ||
| 17 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::kLogSiteUninitialized' | ||
| 18 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'fLI::FLAGS_v' | ||
| 19 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::InitVLOG3__(int**, int*, char const*, int)' | ||
| 20 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessageFatal::LogMessageFatal(char const*, int)' | ||
| 21 | lib/libopencv_sfm.so.4.5.2: error: undefined reference to 'google::LogMessageFatal::~LogMessageFatal()' | ||
| 22 | collect2: error: ld returned 1 exit status | ||
| 23 | |||
| 24 | Add Glog_LIBS which is set to the same value as GLOG_LIBRARIES used to be. | ||
| 25 | |||
| 26 | Upstream-Status: Submitted [https://github.com/opencv/opencv_contrib/pull/2923] | ||
| 27 | |||
| 28 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 29 | --- | ||
| 30 | modules/sfm/CMakeLists.txt | 1 + | ||
| 31 | 1 file changed, 1 insertion(+) | ||
| 32 | |||
| 33 | diff --git a/modules/sfm/CMakeLists.txt b/modules/sfm/CMakeLists.txt | ||
| 34 | index 045a1fe6e..ee7cecdac 100644 | ||
| 35 | --- a/modules/sfm/CMakeLists.txt | ||
| 36 | +++ b/modules/sfm/CMakeLists.txt | ||
| 37 | @@ -84,6 +84,7 @@ set(LIBMV_LIGHT_LIBS | ||
| 38 | multiview | ||
| 39 | numeric | ||
| 40 | ${GLOG_LIBRARIES} | ||
| 41 | + ${Glog_LIBS} | ||
| 42 | ${GFLAGS_LIBRARIES} | ||
| 43 | ) | ||
| 44 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch index d39c05822..9df419d0b 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch | |||
| @@ -7,7 +7,6 @@ Subject: [PATCH] To fix errors as following: | |||
| 7 | "perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" | 7 | "perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" |
| 8 | "test_superres.cpp:270: undefined reference to `checkIppStatus()'" | 8 | "test_superres.cpp:270: undefined reference to `checkIppStatus()'" |
| 9 | 9 | ||
| 10 | Upstream-Status: Pending | ||
| 11 | Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 10 | Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> |
| 12 | 11 | ||
| 13 | Also add the visibility changes for certain OpenCL-related functions in | 12 | Also add the visibility changes for certain OpenCL-related functions in |
| @@ -16,6 +15,8 @@ ts module. | |||
| 16 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> | 15 | Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> |
| 17 | 16 | ||
| 18 | --- | 17 | --- |
| 18 | Upstream-Status: Pending | ||
| 19 | |||
| 19 | modules/ts/include/opencv2/ts.hpp | 4 ++-- | 20 | modules/ts/include/opencv2/ts.hpp | 4 ++-- |
| 20 | modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +- | 21 | modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +- |
| 21 | modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +- | 22 | modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +- |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch new file mode 100644 index 000000000..8fda85708 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0008-Do-not-embed-build-directory-in-binaries.patch | |||
| @@ -0,0 +1,138 @@ | |||
| 1 | From: Victor Westerhuis <victor@westerhu.is> | ||
| 2 | Date: Sat, 19 Nov 2022 21:45:39 +0100 | ||
| 3 | Subject: Do not embed build directory in binaries | ||
| 4 | |||
| 5 | This makes the opencv core module build reproducibly. | ||
| 6 | |||
| 7 | https://salsa.debian.org/science-team/opencv/-/raw/master/debian/patches/0008-Do-not-embed-build-directory-in-binaries.patch | ||
| 8 | Upstream-Status: Backport | ||
| 9 | Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> | ||
| 10 | --- | ||
| 11 | modules/core/CMakeLists.txt | 10 ------ | ||
| 12 | modules/core/include/opencv2/core/private.hpp | 4 +-- | ||
| 13 | modules/core/include/opencv2/core/utility.hpp | 4 +-- | ||
| 14 | modules/core/src/utils/datafile.cpp | 48 +-------------------------- | ||
| 15 | 4 files changed, 5 insertions(+), 61 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/modules/core/CMakeLists.txt b/modules/core/CMakeLists.txt | ||
| 18 | index b78bb98..d96b669 100644 | ||
| 19 | --- a/modules/core/CMakeLists.txt | ||
| 20 | +++ b/modules/core/CMakeLists.txt | ||
| 21 | @@ -188,16 +188,6 @@ if(OPENCV_OTHER_INSTALL_PATH) | ||
| 22 | ") | ||
| 23 | endif() | ||
| 24 | |||
| 25 | -set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR} | ||
| 26 | -#define OPENCV_BUILD_DIR \"${CMAKE_BINARY_DIR}\" | ||
| 27 | -") | ||
| 28 | - | ||
| 29 | -file(RELATIVE_PATH SOURCE_DIR_RELATIVE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}) | ||
| 30 | -set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR} | ||
| 31 | -#define OPENCV_DATA_BUILD_DIR_SEARCH_PATHS \\ | ||
| 32 | - \"${SOURCE_DIR_RELATIVE}/\" | ||
| 33 | -") | ||
| 34 | - | ||
| 35 | if(WIN32) | ||
| 36 | file(RELATIVE_PATH INSTALL_DATA_DIR_RELATIVE "${CMAKE_INSTALL_PREFIX}/${OPENCV_BIN_INSTALL_PATH}" "${CMAKE_INSTALL_PREFIX}/${OPENCV_OTHER_INSTALL_PATH}") | ||
| 37 | else() | ||
| 38 | diff --git a/modules/core/include/opencv2/core/private.hpp b/modules/core/include/opencv2/core/private.hpp | ||
| 39 | index 146d37f..dd675bc 100644 | ||
| 40 | --- a/modules/core/include/opencv2/core/private.hpp | ||
| 41 | +++ b/modules/core/include/opencv2/core/private.hpp | ||
| 42 | @@ -818,10 +818,10 @@ Search directories: | ||
| 43 | 2. Check path specified by configuration parameter with "_HINT" suffix (name of environment variable). | ||
| 44 | 3. Check path specified by configuration parameter (name of environment variable). | ||
| 45 | If parameter value is not empty and nothing is found then stop searching. | ||
| 46 | -4. Detects build/install path based on: | ||
| 47 | +4. Detects install path based on: | ||
| 48 | a. current working directory (CWD) | ||
| 49 | b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage) | ||
| 50 | -5. Scan `<source>/{,data}` directories if build directory is detected or the current directory is in source tree. | ||
| 51 | +5. Scan `<source>/{,data}` directories if the current directory is in source tree. | ||
| 52 | 6. Scan `<install>/share/OpenCV` directory if install directory is detected. | ||
| 53 | |||
| 54 | @param relative_path Relative path to data file | ||
| 55 | diff --git a/modules/core/include/opencv2/core/utility.hpp b/modules/core/include/opencv2/core/utility.hpp | ||
| 56 | index 108c0d9..f15d9ea 100644 | ||
| 57 | --- a/modules/core/include/opencv2/core/utility.hpp | ||
| 58 | +++ b/modules/core/include/opencv2/core/utility.hpp | ||
| 59 | @@ -1163,10 +1163,10 @@ Search directories: | ||
| 60 | 2. OPENCV_SAMPLES_DATA_PATH_HINT environment variable | ||
| 61 | 3. OPENCV_SAMPLES_DATA_PATH environment variable | ||
| 62 | If parameter value is not empty and nothing is found then stop searching. | ||
| 63 | -4. Detects build/install path based on: | ||
| 64 | +4. Detects install path based on: | ||
| 65 | a. current working directory (CWD) | ||
| 66 | b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage) | ||
| 67 | -5. Scan `<source>/{,data,samples/data}` directories if build directory is detected or the current directory is in source tree. | ||
| 68 | +5. Scan `<source>/{,data,samples/data}` directories if the current directory is in source tree. | ||
| 69 | 6. Scan `<install>/share/OpenCV` directory if install directory is detected. | ||
| 70 | |||
| 71 | @see cv::utils::findDataFile | ||
| 72 | diff --git a/modules/core/src/utils/datafile.cpp b/modules/core/src/utils/datafile.cpp | ||
| 73 | index 3af83a5..6bda857 100644 | ||
| 74 | --- a/modules/core/src/utils/datafile.cpp | ||
| 75 | +++ b/modules/core/src/utils/datafile.cpp | ||
| 76 | @@ -280,32 +280,8 @@ cv::String findDataFile(const cv::String& relative_path, | ||
| 77 | |||
| 78 | |||
| 79 | // Steps: 4, 5, 6 | ||
| 80 | - cv::String cwd = utils::fs::getcwd(); | ||
| 81 | - cv::String build_dir(OPENCV_BUILD_DIR); | ||
| 82 | - bool has_tested_build_directory = false; | ||
| 83 | - if (isSubDirectory(build_dir, cwd) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(cwd))) | ||
| 84 | - { | ||
| 85 | - CV_LOG_DEBUG(NULL, "utils::findDataFile(): the current directory is build sub-directory: " << cwd); | ||
| 86 | - const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS }; | ||
| 87 | - for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++) | ||
| 88 | - { | ||
| 89 | - CV_LOG_DEBUG(NULL, "utils::findDataFile(): <build>/" << build_subdirs[k]); | ||
| 90 | - cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]); | ||
| 91 | - if (utils::fs::isDirectory(datapath)) | ||
| 92 | - { | ||
| 93 | - for(size_t i = search_subdir.size(); i > 0; i--) | ||
| 94 | - { | ||
| 95 | - const cv::String& subdir = search_subdir[i - 1]; | ||
| 96 | - cv::String prefix = utils::fs::join(datapath, subdir); | ||
| 97 | - TRY_FILE_WITH_PREFIX(prefix); | ||
| 98 | - } | ||
| 99 | - } | ||
| 100 | - } | ||
| 101 | - has_tested_build_directory = true; | ||
| 102 | - } | ||
| 103 | - | ||
| 104 | cv::String source_dir; | ||
| 105 | - cv::String try_source_dir = cwd; | ||
| 106 | + cv::String try_source_dir = utils::fs::getcwd(); | ||
| 107 | for (int levels = 0; levels < 3; ++levels) | ||
| 108 | { | ||
| 109 | if (utils::fs::exists(utils::fs::join(try_source_dir, "modules/core/include/opencv2/core/version.hpp"))) | ||
| 110 | @@ -341,28 +317,6 @@ cv::String findDataFile(const cv::String& relative_path, | ||
| 111 | CV_LOG_INFO(NULL, "Can't detect module binaries location"); | ||
| 112 | } | ||
| 113 | |||
| 114 | - if (!has_tested_build_directory && | ||
| 115 | - (isSubDirectory(build_dir, module_path) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(module_path))) | ||
| 116 | - ) | ||
| 117 | - { | ||
| 118 | - CV_LOG_DEBUG(NULL, "utils::findDataFile(): the binary module directory is build sub-directory: " << module_path); | ||
| 119 | - const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS }; | ||
| 120 | - for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++) | ||
| 121 | - { | ||
| 122 | - CV_LOG_DEBUG(NULL, "utils::findDataFile(): <build>/" << build_subdirs[k]); | ||
| 123 | - cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]); | ||
| 124 | - if (utils::fs::isDirectory(datapath)) | ||
| 125 | - { | ||
| 126 | - for(size_t i = search_subdir.size(); i > 0; i--) | ||
| 127 | - { | ||
| 128 | - const cv::String& subdir = search_subdir[i - 1]; | ||
| 129 | - cv::String prefix = utils::fs::join(datapath, subdir); | ||
| 130 | - TRY_FILE_WITH_PREFIX(prefix); | ||
| 131 | - } | ||
| 132 | - } | ||
| 133 | - } | ||
| 134 | - } | ||
| 135 | - | ||
| 136 | #if defined OPENCV_INSTALL_DATA_DIR_RELATIVE | ||
| 137 | if (!module_path.empty()) // require module path | ||
| 138 | { | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch new file mode 100644 index 000000000..82afd5c72 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 0a1c77e4c810999632d648f63775b7ea265bc25c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Eric Guo <eric.guo@nxp.com> | ||
| 3 | Date: Tue, 9 Nov 2021 14:38:00 +0800 | ||
| 4 | Subject: [PATCH 1/4] MGS-6470 [#ccc] Modify host ptr alignment size in UMAT | ||
| 5 | |||
| 6 | change CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR from 4 to 64 | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 9 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | ||
| 10 | --- | ||
| 11 | modules/core/src/ocl.cpp | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp | ||
| 15 | index 8479667fd7..6eb7b5e425 100644 | ||
| 16 | --- a/modules/core/src/ocl.cpp | ||
| 17 | +++ b/modules/core/src/ocl.cpp | ||
| 18 | @@ -245,7 +245,7 @@ static String getBuildExtraOptions() | ||
| 19 | } | ||
| 20 | |||
| 21 | static const bool CV_OPENCL_ENABLE_MEM_USE_HOST_PTR = utils::getConfigurationParameterBool("OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR", true); | ||
| 22 | -static const size_t CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR = utils::getConfigurationParameterSizeT("OPENCV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR", 4); | ||
| 23 | +static const size_t CV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR = utils::getConfigurationParameterSizeT("OPENCV_OPENCL_ALIGNMENT_MEM_USE_HOST_PTR", 64); | ||
| 24 | |||
| 25 | |||
| 26 | struct UMat2D | ||
| 27 | -- | ||
| 28 | 2.34.1 | ||
| 29 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch new file mode 100644 index 000000000..50240093c --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 965365fff0815b8afc9833102d8e4e6c4ee1dda3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Eric Guo <eric.guo@nxp.com> | ||
| 3 | Date: Wed, 17 Nov 2021 15:04:23 +0800 | ||
| 4 | Subject: [PATCH 2/4] MGS-6470 [#ccc] Add configuration parameter to force | ||
| 5 | enable hostptr in OpenCL | ||
| 6 | |||
| 7 | USAGE: `set OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR=true` | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 10 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | ||
| 11 | --- | ||
| 12 | modules/core/src/ocl.cpp | 4 +++- | ||
| 13 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp | ||
| 16 | index 6eb7b5e425..5c50b06865 100644 | ||
| 17 | --- a/modules/core/src/ocl.cpp | ||
| 18 | +++ b/modules/core/src/ocl.cpp | ||
| 19 | @@ -5416,7 +5416,9 @@ public: | ||
| 20 | { | ||
| 21 | const Device& dev = ctx.device(0); | ||
| 22 | createFlags = 0; | ||
| 23 | - if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0) | ||
| 24 | + bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", false); | ||
| 25 | + | ||
| 26 | + if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0 || allocHostPtr) | ||
| 27 | createFlags |= CL_MEM_ALLOC_HOST_PTR; | ||
| 28 | |||
| 29 | if (!isOpenCLCopyingForced() && | ||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch new file mode 100644 index 000000000..3b429b383 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 352b992c7daeeede261cf52e06b5beac485df897 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Eric Guo <eric.guo@nxp.com> | ||
| 3 | Date: Thu, 9 Dec 2021 15:25:42 +0800 | ||
| 4 | Subject: [PATCH 3/4] MGS-6470 [#ccc] Change configuration to enable hostptr in | ||
| 5 | OpenCL by default. | ||
| 6 | |||
| 7 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 8 | Signed-off-by: Eric Guo <eric.guo@nxp.com> | ||
| 9 | --- | ||
| 10 | modules/core/src/ocl.cpp | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/modules/core/src/ocl.cpp b/modules/core/src/ocl.cpp | ||
| 14 | index 5c50b06865..db75190f13 100644 | ||
| 15 | --- a/modules/core/src/ocl.cpp | ||
| 16 | +++ b/modules/core/src/ocl.cpp | ||
| 17 | @@ -5416,7 +5416,7 @@ public: | ||
| 18 | { | ||
| 19 | const Device& dev = ctx.device(0); | ||
| 20 | createFlags = 0; | ||
| 21 | - bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", false); | ||
| 22 | + bool allocHostPtr = utils::getConfigurationParameterBool("OPENCV_OPENCL_ALIGNMENT_MEM_ALLOC_HOST_PTR", true); | ||
| 23 | |||
| 24 | if ((usageFlags & USAGE_ALLOCATE_HOST_MEMORY) != 0 || allocHostPtr) | ||
| 25 | createFlags |= CL_MEM_ALLOC_HOST_PTR; | ||
| 26 | -- | ||
| 27 | 2.34.1 | ||
| 28 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch new file mode 100644 index 000000000..ebca4ce35 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | From 2766330540d5106e1cc5c44ab14f021e306859cb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: jiajia Qian <jiajia.qian@nxp.com> | ||
| 3 | Date: Tue, 7 Jan 2025 16:42:34 +0800 | ||
| 4 | Subject: [PATCH 4/4] MGS-8011 [#ccc] Fix the problem of syntax error at | ||
| 5 | 'double4' in opencv_test_imgproc. | ||
| 6 | |||
| 7 | Since our driver does not support cl_khr_fp64 format data, | ||
| 8 | |||
| 9 | disabled the related ocl function in opencv_test_imgproc to avoid the following error log: | ||
| 10 | |||
| 11 | error: syntax error at 'double4' | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | ||
| 15 | --- | ||
| 16 | modules/imgproc/src/imgwarp.cpp | 4 ++++ | ||
| 17 | 1 file changed, 4 insertions(+) | ||
| 18 | |||
| 19 | diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp | ||
| 20 | index dfc718bf87..0e8b9ce142 100644 | ||
| 21 | --- a/modules/imgproc/src/imgwarp.cpp | ||
| 22 | +++ b/modules/imgproc/src/imgwarp.cpp | ||
| 23 | @@ -1349,6 +1349,7 @@ static bool ocl_remap(InputArray _src, OutputArray _dst, InputArray _map1, Input | ||
| 24 | interpolation &= ~WARP_RELATIVE_MAP; | ||
| 25 | |||
| 26 | const ocl::Device & dev = ocl::Device::getDefault(); | ||
| 27 | + bool doubleSupport = dev.doubleFPConfig() > 0; | ||
| 28 | int cn = _src.channels(), type = _src.type(), depth = _src.depth(), | ||
| 29 | rowsPerWI = dev.isIntel() ? 4 : 1; | ||
| 30 | |||
| 31 | @@ -1356,6 +1357,9 @@ static bool ocl_remap(InputArray _src, OutputArray _dst, InputArray _map1, Input | ||
| 32 | || _map1.type() == CV_16SC1 || _map2.type() == CV_16SC1) | ||
| 33 | return false; | ||
| 34 | |||
| 35 | + if (!doubleSupport && depth == CV_64F ) | ||
| 36 | + return false; | ||
| 37 | + | ||
| 38 | UMat src = _src.getUMat(), map1 = _map1.getUMat(), map2 = _map2.getUMat(); | ||
| 39 | |||
| 40 | if( (map1.type() == CV_16SC2 && (map2.type() == CV_16UC1 || map2.empty())) || | ||
| 41 | -- | ||
| 42 | 2.34.1 | ||
| 43 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch new file mode 100644 index 000000000..d742b9123 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From e5d7ecd9acd3805e90f5d491044813c034d3b014 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: jiajia Qian <jiajia.qian@nxp.com> | ||
| 3 | Date: Fri, 8 Aug 2025 14:19:57 +0800 | ||
| 4 | Subject: [PATCH] MGS-8318 [#ccc] Fix error:implicit declaration of function | ||
| 5 | 'sub_group_reduce_add' is invalid in OpenCL. | ||
| 6 | |||
| 7 | The OpenCL extension cl_khr_subgroups is not supported in OpenCL 1.2. | ||
| 8 | |||
| 9 | This feature requires at least OpenCL 2.0 or higher. By default, the C++ C language standard used | ||
| 10 | |||
| 11 | is C++ C 1.2. Therefore, specify OpenCL version to 3.0 in the build-options. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate [i.MX specific] | ||
| 14 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | ||
| 15 | --- | ||
| 16 | modules/video/src/dis_flow.cpp | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/modules/video/src/dis_flow.cpp b/modules/video/src/dis_flow.cpp | ||
| 20 | index 75090d093d..9954645ca7 100644 | ||
| 21 | --- a/modules/video/src/dis_flow.cpp | ||
| 22 | +++ b/modules/video/src/dis_flow.cpp | ||
| 23 | @@ -1101,7 +1101,7 @@ bool DISOpticalFlowImpl::ocl_PatchInverseSearch(UMat &src_U, | ||
| 24 | subgroups_build_options = " -DCV_USE_SUBGROUPS=1"; | ||
| 25 | |||
| 26 | String build_options = cv::format( | ||
| 27 | - "-DDIS_BORDER_SIZE=%d -DDIS_PATCH_SIZE=%d -DDIS_PATCH_STRIDE=%d", | ||
| 28 | + "-cl-std=CL3.0 -DDIS_BORDER_SIZE=%d -DDIS_PATCH_SIZE=%d -DDIS_PATCH_STRIDE=%d", | ||
| 29 | border_size, patch_size, patch_stride | ||
| 30 | ) + subgroups_build_options; | ||
| 31 | |||
| 32 | -- | ||
| 33 | 2.34.1 | ||
| 34 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch new file mode 100644 index 000000000..c061342ef --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch | |||
| @@ -0,0 +1,152 @@ | |||
| 1 | From 504144ee0a126e7a11a5b1751b7dc0a80ed1cd0f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: jiajia Qian <jiajia.qian@nxp.com> | ||
| 3 | Date: Tue, 17 Mar 2026 14:19:35 +0800 | ||
| 4 | Subject: [PATCH] core(opencl): fix inplace transpose race by enforcing LLSS | ||
| 5 | ordering via local barrier | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | The former inplace transpose implementation allowed a reordering of | ||
| 11 | global-memory operations across work-items. Specifically, the intended | ||
| 12 | LLSS (Load–Load–Store–Store) access pattern could be reordered by the | ||
| 13 | GPU into LSLS (Load–Store–Load–Store), causing partially written tiles | ||
| 14 | to be observed by other work-items and producing incorrect output. | ||
| 15 | |||
| 16 | This patch introduces a tiled LDS-based algorithm and adds an explicit: | ||
| 17 | |||
| 18 | barrier(CLK_LOCAL_MEM_FENCE); | ||
| 19 | |||
| 20 | between the load and store phases. | ||
| 21 | |||
| 22 | Upstream-Status: Backport | ||
| 23 | [commit a3e129aad85abcd2b61f071796ff80f9ca215619] | ||
| 24 | |||
| 25 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | ||
| 26 | --- | ||
| 27 | modules/core/src/matrix_transform.cpp | 10 +++- | ||
| 28 | modules/core/src/opencl/transpose.cl | 69 ++++++++++++++++++++++++++- | ||
| 29 | 2 files changed, 75 insertions(+), 4 deletions(-) | ||
| 30 | |||
| 31 | diff --git a/modules/core/src/matrix_transform.cpp b/modules/core/src/matrix_transform.cpp | ||
| 32 | index c52fcc1e4f..84aa5ca778 100644 | ||
| 33 | --- a/modules/core/src/matrix_transform.cpp | ||
| 34 | +++ b/modules/core/src/matrix_transform.cpp | ||
| 35 | @@ -146,10 +146,16 @@ static bool ocl_transpose( InputArray _src, OutputArray _dst ) | ||
| 36 | return false; | ||
| 37 | } | ||
| 38 | |||
| 39 | + String deviceMacro; | ||
| 40 | + if (dev.isIntel()) | ||
| 41 | + deviceMacro = " -D INTEL_GPU"; | ||
| 42 | + else | ||
| 43 | + deviceMacro = ""; | ||
| 44 | + | ||
| 45 | ocl::Kernel k(kernelName.c_str(), ocl::core::transpose_oclsrc, | ||
| 46 | - format("-D T=%s -D T1=%s -D cn=%d -D TILE_DIM=%d -D BLOCK_ROWS=%d -D rowsPerWI=%d%s", | ||
| 47 | + format("-D T=%s -D T1=%s -D cn=%d -D TILE_DIM=%d -D BLOCK_ROWS=%d -D rowsPerWI=%d%s%s", | ||
| 48 | ocl::memopTypeToStr(type), ocl::memopTypeToStr(depth), | ||
| 49 | - cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : "")); | ||
| 50 | + cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : "", deviceMacro.c_str())); | ||
| 51 | if (k.empty()) | ||
| 52 | return false; | ||
| 53 | |||
| 54 | diff --git a/modules/core/src/opencl/transpose.cl b/modules/core/src/opencl/transpose.cl | ||
| 55 | index 01ea7dd9d5..ae4d7f08d3 100644 | ||
| 56 | --- a/modules/core/src/opencl/transpose.cl | ||
| 57 | +++ b/modules/core/src/opencl/transpose.cl | ||
| 58 | @@ -53,10 +53,10 @@ | ||
| 59 | #define TSIZE ((int)sizeof(T1)*3) | ||
| 60 | #endif | ||
| 61 | |||
| 62 | -#ifndef INPLACE | ||
| 63 | - | ||
| 64 | #define LDS_STEP (TILE_DIM + 1) | ||
| 65 | |||
| 66 | +#ifndef INPLACE | ||
| 67 | + | ||
| 68 | __kernel void transpose(__global const uchar * srcptr, int src_step, int src_offset, int src_rows, int src_cols, | ||
| 69 | __global uchar * dstptr, int dst_step, int dst_offset) | ||
| 70 | { | ||
| 71 | @@ -120,6 +120,7 @@ __kernel void transpose(__global const uchar * srcptr, int src_step, int src_off | ||
| 72 | |||
| 73 | __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_offset, int src_rows) | ||
| 74 | { | ||
| 75 | +#ifdef INTEL_GPU | ||
| 76 | int x = get_global_id(0); | ||
| 77 | int y = get_global_id(1) * rowsPerWI; | ||
| 78 | |||
| 79 | @@ -141,6 +142,70 @@ __kernel void transpose_inplace(__global uchar * srcptr, int src_step, int src_o | ||
| 80 | storepix(tmp, src); | ||
| 81 | } | ||
| 82 | } | ||
| 83 | +#else | ||
| 84 | + int gp_x = get_group_id(0); | ||
| 85 | + int gp_y = get_group_id(1); | ||
| 86 | + int lx = get_local_id(0); | ||
| 87 | + int ly = get_local_id(1); | ||
| 88 | + | ||
| 89 | + __local T tile_a[TILE_DIM * LDS_STEP]; | ||
| 90 | + __local T tile_b[TILE_DIM * LDS_STEP]; | ||
| 91 | + | ||
| 92 | + if (gp_x > gp_y) | ||
| 93 | + { | ||
| 94 | + int x_a = gp_x * TILE_DIM + lx; | ||
| 95 | + int y_a = gp_y * TILE_DIM + ly; | ||
| 96 | + int x_b = gp_y * TILE_DIM + lx; | ||
| 97 | + int y_b = gp_x * TILE_DIM + ly; | ||
| 98 | + | ||
| 99 | + // Load | ||
| 100 | + #pragma unroll | ||
| 101 | + for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS) | ||
| 102 | + { | ||
| 103 | + if (y_a + i < src_rows && x_a < src_rows) | ||
| 104 | + tile_a[mad24(ly + i, LDS_STEP, lx)] = | ||
| 105 | + loadpix(srcptr + mad24(y_a + i, src_step, mad24(x_a, TSIZE, src_offset))); | ||
| 106 | + | ||
| 107 | + if (y_b + i < src_rows && x_b < src_rows) | ||
| 108 | + tile_b[mad24(ly + i, LDS_STEP, lx)] = | ||
| 109 | + loadpix(srcptr + mad24(y_b + i, src_step, mad24(x_b, TSIZE, src_offset))); | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + barrier(CLK_LOCAL_MEM_FENCE); | ||
| 113 | + | ||
| 114 | + // Store (transposed) | ||
| 115 | + #pragma unroll | ||
| 116 | + for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS) | ||
| 117 | + { | ||
| 118 | + if (y_b + i < src_rows && x_b < src_rows) | ||
| 119 | + storepix(tile_a[mad24(lx, LDS_STEP, ly + i)], | ||
| 120 | + srcptr + mad24(y_b + i, src_step, mad24(x_b, TSIZE, src_offset))); | ||
| 121 | + | ||
| 122 | + if (y_a + i < src_rows && x_a < src_rows) | ||
| 123 | + storepix(tile_b[mad24(lx, LDS_STEP, ly + i)], | ||
| 124 | + srcptr + mad24(y_a + i, src_step, mad24(x_a, TSIZE, src_offset))); | ||
| 125 | + } | ||
| 126 | + } | ||
| 127 | + else if (gp_x == gp_y) | ||
| 128 | + { | ||
| 129 | + int x = gp_x * TILE_DIM + lx; | ||
| 130 | + int y = gp_y * TILE_DIM + ly; | ||
| 131 | + | ||
| 132 | + #pragma unroll | ||
| 133 | + for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS) | ||
| 134 | + if (y + i < src_rows && x < src_rows) | ||
| 135 | + tile_a[mad24(ly + i, LDS_STEP, lx)] = | ||
| 136 | + loadpix(srcptr + mad24(y + i, src_step, mad24(x, TSIZE, src_offset))); | ||
| 137 | + | ||
| 138 | + barrier(CLK_LOCAL_MEM_FENCE); | ||
| 139 | + | ||
| 140 | + #pragma unroll | ||
| 141 | + for (int i = 0; i < TILE_DIM; i += BLOCK_ROWS) | ||
| 142 | + if (y + i < src_rows && x < src_rows) | ||
| 143 | + storepix(tile_a[mad24(lx, LDS_STEP, ly + i)], | ||
| 144 | + srcptr + mad24(y + i, src_step, mad24(x, TSIZE, src_offset))); | ||
| 145 | + } | ||
| 146 | +#endif | ||
| 147 | } | ||
| 148 | |||
| 149 | #endif // INPLACE | ||
| 150 | -- | ||
| 151 | 2.34.1 | ||
| 152 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch new file mode 100644 index 000000000..de128954a --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | From fa4b11750cfb19ccbe21a2f8d1801ba014e8b401 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samaresh Kumar Singh <ssam3003@gmail.com> | ||
| 3 | Date: Wed, 4 Mar 2026 13:13:52 -0600 | ||
| 4 | Subject: [PATCH 1/2] [imgproc][perf][HoughLines] Fix test tolerance and | ||
| 5 | comparator for cross-backend stability | ||
| 6 | |||
| 7 | Upstream-Status: Submitted [under review] | ||
| 8 | |||
| 9 | --- | ||
| 10 | modules/imgproc/perf/opencl/perf_houghlines.cpp | 9 ++++++--- | ||
| 11 | 1 file changed, 6 insertions(+), 3 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/modules/imgproc/perf/opencl/perf_houghlines.cpp b/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 14 | index 0a5f3ae561..bffd895f2b 100644 | ||
| 15 | --- a/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 16 | +++ b/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 17 | @@ -19,7 +19,7 @@ struct Vec2fComparator | ||
| 18 | { | ||
| 19 | bool operator()(const Vec2f& a, const Vec2f b) const | ||
| 20 | { | ||
| 21 | - if(a[0] != b[0]) return a[0] < b[0]; | ||
| 22 | + if(std::abs(a[0] - b[0]) > 1e-3f) return a[0] < b[0]; | ||
| 23 | else return a[1] < b[1]; | ||
| 24 | } | ||
| 25 | }; | ||
| 26 | @@ -55,7 +55,10 @@ OCL_PERF_TEST_P(HoughLinesFixture, HoughLines, Combine(OCL_TEST_SIZES, | ||
| 27 | lines.copyTo(result); | ||
| 28 | std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator()); | ||
| 29 | |||
| 30 | - SANITY_CHECK(result, 1e-6); | ||
| 31 | + EXPECT_GE((size_t)result.total(), 6u); | ||
| 32 | + EXPECT_LT((size_t)result.total(), 50u); | ||
| 33 | + | ||
| 34 | + SANITY_CHECK_NOTHING(); | ||
| 35 | } | ||
| 36 | |||
| 37 | ///////////// HoughLinesP ///////////////////// | ||
| 38 | @@ -88,4 +91,4 @@ OCL_PERF_TEST_P(HoughLinesPFixture, HoughLinesP, Combine(Values("cv/shared/pic5. | ||
| 39 | |||
| 40 | } } // namespace opencv_test::ocl | ||
| 41 | |||
| 42 | -#endif // HAVE_OPENCL | ||
| 43 | \ No newline at end of file | ||
| 44 | +#endif // HAVE_OPENCL | ||
| 45 | -- | ||
| 46 | 2.34.1 | ||
| 47 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch new file mode 100644 index 000000000..bc7013481 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 2751419022d65b7d9260c87c7806db0f32a1c359 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Samaresh Kumar Singh <ssam3003@gmail.com> | ||
| 3 | Date: Thu, 5 Mar 2026 19:21:36 -0600 | ||
| 4 | Subject: [PATCH 2/2] [imgproc][perf][HoughLines] Fix lower bound for line | ||
| 5 | count check | ||
| 6 | |||
| 7 | With thetaStep=0.1 rad, theta=PI/2 is not a sampled accumulator bin, so horizontal lines fall below the vote threshold and are not detected. | ||
| 8 | Only the 3 vertical lines (at theta=0, always an exact bin) are reliably found in that case. Lower the EXPECT_GE bound from 6 to 3 to reflect the worst-case guarantee across all thetaStep values and backends. | ||
| 9 | |||
| 10 | Fixes regression introduced in fa4b117. | ||
| 11 | Upstream-Status: Submitted [under review] | ||
| 12 | --- | ||
| 13 | modules/imgproc/perf/opencl/perf_houghlines.cpp | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/modules/imgproc/perf/opencl/perf_houghlines.cpp b/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 17 | index bffd895f2b..95c61667fc 100644 | ||
| 18 | --- a/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 19 | +++ b/modules/imgproc/perf/opencl/perf_houghlines.cpp | ||
| 20 | @@ -55,7 +55,7 @@ OCL_PERF_TEST_P(HoughLinesFixture, HoughLines, Combine(OCL_TEST_SIZES, | ||
| 21 | lines.copyTo(result); | ||
| 22 | std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator()); | ||
| 23 | |||
| 24 | - EXPECT_GE((size_t)result.total(), 6u); | ||
| 25 | + EXPECT_GE((size_t)result.total(), 3u); | ||
| 26 | EXPECT_LT((size_t)result.total(), 50u); | ||
| 27 | |||
| 28 | SANITY_CHECK_NOTHING(); | ||
| 29 | -- | ||
| 30 | 2.34.1 | ||
| 31 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch new file mode 100644 index 000000000..5a6d8891f --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch | |||
| @@ -0,0 +1,352 @@ | |||
| 1 | From ba879cd60f505c3239a6bc5c4b8eb6ca87d143c2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: jiajia Qian <jiajia.qian@nxp.com> | ||
| 3 | Date: Thu, 16 Apr 2026 10:14:05 +0800 | ||
| 4 | Subject: [PATCH] core/ocl: fix incorrect results for in-place flip on strict | ||
| 5 | OpenCL implementations | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | Previously, OpenCL in-place flip kernels (rows/cols/both) could produce | ||
| 11 | incorrect results compared to the CPU implementation on strict OpenCL | ||
| 12 | drivers such as Mesa. The kernels relied on implicit load–load–store–store | ||
| 13 | (LLSS) ordering when src and dst alias, which is not guaranteed by the | ||
| 14 | OpenCL memory model and may be reordered. | ||
| 15 | |||
| 16 | Some vendor drivers happened to preserve the expected ordering, masking | ||
| 17 | the issue, but Mesa correctly exposes the undefined behavior. | ||
| 18 | |||
| 19 | This change introduces dedicated in-place flip kernels that: | ||
| 20 | - Explicitly detect in-place execution (src == dst) | ||
| 21 | - Stage data through local memory tiles | ||
| 22 | - Enforce correct ordering with work-group barriers | ||
| 23 | - Avoid global memory read/write aliasing hazards | ||
| 24 | |||
| 25 | The non in-place path is unchanged. | ||
| 26 | |||
| 27 | With this fix, OpenCL in-place flip produces correct and consistent results | ||
| 28 | across drivers, matches CPU behavior, and complies with the OpenCL memory | ||
| 29 | model. | ||
| 30 | |||
| 31 | Upstream-Status: Backport [ba879cd60f505c3239a6bc5c4b8eb6ca87d143c2] | ||
| 32 | Signed-off-by: jiajia Qian <jiajia.qian@nxp.com> | ||
| 33 | --- | ||
| 34 | modules/core/src/matrix_transform.cpp | 71 +++++++--- | ||
| 35 | modules/core/src/opencl/flip.cl | 196 ++++++++++++++++++++++++++ | ||
| 36 | 2 files changed, 250 insertions(+), 17 deletions(-) | ||
| 37 | |||
| 38 | diff --git a/modules/core/src/matrix_transform.cpp b/modules/core/src/matrix_transform.cpp | ||
| 39 | index ce859e8eb8..245cd89843 100644 | ||
| 40 | --- a/modules/core/src/matrix_transform.cpp | ||
| 41 | +++ b/modules/core/src/matrix_transform.cpp | ||
| 42 | @@ -973,7 +973,12 @@ static bool ocl_flip(InputArray _src, OutputArray _dst, int flipCode ) | ||
| 43 | if (cn > 4) | ||
| 44 | return false; | ||
| 45 | |||
| 46 | - const char * kernelName; | ||
| 47 | + Size size = _src.size(); | ||
| 48 | + _dst.create(size, type); | ||
| 49 | + UMat src = _src.getUMat(), dst = _dst.getUMat(); | ||
| 50 | + bool inplace = (dst.u == src.u); | ||
| 51 | + | ||
| 52 | + String kernelName; | ||
| 53 | if (flipCode == 0) | ||
| 54 | kernelName = "arithm_flip_rows", flipType = FLIP_ROWS; | ||
| 55 | else if (flipCode > 0) | ||
| 56 | @@ -981,33 +986,65 @@ static bool ocl_flip(InputArray _src, OutputArray _dst, int flipCode ) | ||
| 57 | else | ||
| 58 | kernelName = "arithm_flip_rows_cols", flipType = FLIP_BOTH; | ||
| 59 | |||
| 60 | + if(inplace) | ||
| 61 | + kernelName += "_inplace"; | ||
| 62 | + | ||
| 63 | int pxPerWIy = (dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1; | ||
| 64 | kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn; | ||
| 65 | + const int TILE_SIZE = 32, BLOCK_ROWS = 8; | ||
| 66 | |||
| 67 | - ocl::Kernel k(kernelName, ocl::core::flip_oclsrc, | ||
| 68 | - format( "-D T=%s -D T1=%s -D DEPTH=%d -D cn=%d -D PIX_PER_WI_Y=%d -D kercn=%d", | ||
| 69 | + ocl::Kernel k(kernelName.c_str(), ocl::core::flip_oclsrc, | ||
| 70 | + format( "-D T=%s -D T1=%s -D DEPTH=%d -D cn=%d -D PIX_PER_WI_Y=%d -D kercn=%d -D TILE_SIZE=%d -D BLOCK_ROWS=%d%s", | ||
| 71 | kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)), | ||
| 72 | - kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), depth, cn, pxPerWIy, kercn)); | ||
| 73 | + kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), depth, cn, pxPerWIy, kercn, TILE_SIZE, BLOCK_ROWS, | ||
| 74 | + inplace ? " -D INPLACE" : "")); | ||
| 75 | if (k.empty()) | ||
| 76 | return false; | ||
| 77 | |||
| 78 | - Size size = _src.size(); | ||
| 79 | - _dst.create(size, type); | ||
| 80 | - UMat src = _src.getUMat(), dst = _dst.getUMat(); | ||
| 81 | - | ||
| 82 | int cols = size.width * cn / kercn, rows = size.height; | ||
| 83 | - cols = flipType == FLIP_COLS ? (cols + 1) >> 1 : cols; | ||
| 84 | - rows = flipType & FLIP_ROWS ? (rows + 1) >> 1 : rows; | ||
| 85 | + int work_cols = flipType == FLIP_COLS ? (cols + 1) >> 1 : cols; | ||
| 86 | + int work_rows = flipType & FLIP_ROWS ? (rows + 1) >> 1 : rows; | ||
| 87 | + | ||
| 88 | + if (inplace) | ||
| 89 | + { | ||
| 90 | + k.args(ocl::KernelArg::ReadWriteNoSize(dst), rows, cols); | ||
| 91 | + | ||
| 92 | + int gs_cols, gs_rows; | ||
| 93 | + if (flipType == FLIP_COLS) | ||
| 94 | + { | ||
| 95 | + gs_cols = work_cols; | ||
| 96 | + gs_rows = rows; | ||
| 97 | + } | ||
| 98 | + else if (flipType == FLIP_ROWS) | ||
| 99 | + { | ||
| 100 | + gs_cols = cols; | ||
| 101 | + gs_rows = work_rows; | ||
| 102 | + } | ||
| 103 | + else // FLIP_BOTH | ||
| 104 | + { | ||
| 105 | + gs_cols = cols; | ||
| 106 | + gs_rows = rows; | ||
| 107 | + } | ||
| 108 | |||
| 109 | - k.args(ocl::KernelArg::ReadOnlyNoSize(src), | ||
| 110 | - ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols); | ||
| 111 | + size_t globalsize[2] = { | ||
| 112 | + (size_t)divUp(gs_cols, TILE_SIZE) * TILE_SIZE, | ||
| 113 | + (size_t)divUp(gs_rows, TILE_SIZE) * BLOCK_ROWS | ||
| 114 | + }; | ||
| 115 | + size_t localsize[2] = { TILE_SIZE, BLOCK_ROWS }; | ||
| 116 | + return k.run(2, globalsize, localsize, false); | ||
| 117 | + } | ||
| 118 | + else | ||
| 119 | + { | ||
| 120 | + k.args(ocl::KernelArg::ReadOnlyNoSize(src), | ||
| 121 | + ocl::KernelArg::WriteOnly(dst, cn, kercn), work_rows, work_cols); | ||
| 122 | |||
| 123 | - size_t maxWorkGroupSize = dev.maxWorkGroupSize(); | ||
| 124 | - CV_Assert(maxWorkGroupSize % 4 == 0); | ||
| 125 | + size_t maxWorkGroupSize = dev.maxWorkGroupSize(); | ||
| 126 | + CV_Assert(maxWorkGroupSize % 4 == 0); | ||
| 127 | |||
| 128 | - size_t globalsize[2] = { (size_t)cols, ((size_t)rows + pxPerWIy - 1) / pxPerWIy }, | ||
| 129 | - localsize[2] = { maxWorkGroupSize / 4, 4 }; | ||
| 130 | - return k.run(2, globalsize, (flipType == FLIP_COLS) && !dev.isIntel() ? localsize : NULL, false); | ||
| 131 | + size_t globalsize[2] = { (size_t)work_cols, ((size_t)work_rows + pxPerWIy - 1) / pxPerWIy }; | ||
| 132 | + size_t localsize[2] = { maxWorkGroupSize / 4, 4 }; | ||
| 133 | + return k.run(2, globalsize, (flipType == FLIP_COLS) && !dev.isIntel() ? localsize : NULL, false); | ||
| 134 | + } | ||
| 135 | } | ||
| 136 | |||
| 137 | #endif | ||
| 138 | diff --git a/modules/core/src/opencl/flip.cl b/modules/core/src/opencl/flip.cl | ||
| 139 | index afd14e4e1f..dbe23c73a4 100644 | ||
| 140 | --- a/modules/core/src/opencl/flip.cl | ||
| 141 | +++ b/modules/core/src/opencl/flip.cl | ||
| 142 | @@ -63,6 +63,9 @@ | ||
| 143 | #endif | ||
| 144 | #define TSIZE ((int)sizeof(T1)*3) | ||
| 145 | #endif | ||
| 146 | +#define LDS_STEP (TILE_SIZE + 1) | ||
| 147 | + | ||
| 148 | +#ifndef INPLACE | ||
| 149 | |||
| 150 | __kernel void arithm_flip_rows(__global const uchar * srcptr, int src_step, int src_offset, | ||
| 151 | __global uchar * dstptr, int dst_step, int dst_offset, | ||
| 152 | @@ -183,3 +186,196 @@ __kernel void arithm_flip_cols(__global const uchar * srcptr, int src_step, int | ||
| 153 | } | ||
| 154 | } | ||
| 155 | } | ||
| 156 | + | ||
| 157 | +#else | ||
| 158 | + | ||
| 159 | +__kernel void arithm_flip_rows_inplace(__global uchar * srcptr, int src_step, int src_offset, | ||
| 160 | + int rows, int cols) | ||
| 161 | +{ | ||
| 162 | + int gp_x = get_group_id(0); | ||
| 163 | + int gp_y = get_group_id(1); | ||
| 164 | + int lx = get_local_id(0); | ||
| 165 | + int ly = get_local_id(1); | ||
| 166 | + | ||
| 167 | + __local T tile_top[TILE_SIZE * LDS_STEP]; | ||
| 168 | + __local T tile_bottom[TILE_SIZE * LDS_STEP]; | ||
| 169 | + | ||
| 170 | + int half_rows = (rows + 1) / 2; | ||
| 171 | + | ||
| 172 | + int x = gp_x * TILE_SIZE + lx; | ||
| 173 | + int y_top = gp_y * TILE_SIZE + ly; | ||
| 174 | + int y_bottom = rows - 1 - y_top; | ||
| 175 | + | ||
| 176 | + #pragma unroll | ||
| 177 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 178 | + { | ||
| 179 | + if (x < cols && y_top + i < half_rows) | ||
| 180 | + { | ||
| 181 | + int curr_y_top = y_top + i; | ||
| 182 | + int curr_y_bottom = rows - 1 - curr_y_top; | ||
| 183 | + | ||
| 184 | + T val_top = loadpix(srcptr + mad24(curr_y_top, src_step, mad24(x, TSIZE, src_offset))); | ||
| 185 | + T val_bottom = loadpix(srcptr + mad24(curr_y_bottom, src_step, mad24(x, TSIZE, src_offset))); | ||
| 186 | + | ||
| 187 | + tile_top[mad24(ly + i, LDS_STEP, lx)] = val_top; | ||
| 188 | + tile_bottom[mad24(ly + i, LDS_STEP, lx)] = val_bottom; | ||
| 189 | + } | ||
| 190 | + } | ||
| 191 | + barrier(CLK_LOCAL_MEM_FENCE); | ||
| 192 | + | ||
| 193 | + #pragma unroll | ||
| 194 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 195 | + { | ||
| 196 | + if (x < cols && y_top + i < half_rows) | ||
| 197 | + { | ||
| 198 | + int curr_y_top = y_top + i; | ||
| 199 | + int curr_y_bottom = rows - 1 - curr_y_top; | ||
| 200 | + | ||
| 201 | + storepix(tile_bottom[mad24(ly + i, LDS_STEP, lx)], | ||
| 202 | + srcptr + mad24(curr_y_top, src_step, mad24(x, TSIZE, src_offset))); | ||
| 203 | + | ||
| 204 | + if (curr_y_top != curr_y_bottom) | ||
| 205 | + { | ||
| 206 | + storepix(tile_top[mad24(ly + i, LDS_STEP, lx)], | ||
| 207 | + srcptr + mad24(curr_y_bottom, src_step, mad24(x, TSIZE, src_offset))); | ||
| 208 | + } | ||
| 209 | + } | ||
| 210 | + } | ||
| 211 | +} | ||
| 212 | + | ||
| 213 | +__kernel void arithm_flip_rows_cols_inplace(__global uchar * srcptr, int src_step, int src_offset, | ||
| 214 | + int rows, int cols) | ||
| 215 | +{ | ||
| 216 | + int gp_x = get_group_id(0); | ||
| 217 | + int gp_y = get_group_id(1); | ||
| 218 | + int lx = get_local_id(0); | ||
| 219 | + int ly = get_local_id(1); | ||
| 220 | + | ||
| 221 | + __local T tile_first[TILE_SIZE * LDS_STEP]; | ||
| 222 | + __local T tile_second[TILE_SIZE * LDS_STEP]; | ||
| 223 | + | ||
| 224 | + int total_pixels = rows * cols; | ||
| 225 | + int half_pixels = (total_pixels + 1) / 2; | ||
| 226 | + | ||
| 227 | + int x_first = gp_x * TILE_SIZE + lx; | ||
| 228 | + int y_first = gp_y * TILE_SIZE + ly; | ||
| 229 | + | ||
| 230 | + int x_second = cols - 1 - x_first; | ||
| 231 | + int y_second = rows - 1 - y_first; | ||
| 232 | + | ||
| 233 | + #pragma unroll | ||
| 234 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 235 | + { | ||
| 236 | + int curr_y_first = y_first + i; | ||
| 237 | + int curr_y_second = rows - 1 - curr_y_first; | ||
| 238 | + int linear_idx = curr_y_first * cols + x_first; | ||
| 239 | + | ||
| 240 | + if (x_first < cols && curr_y_first < rows && linear_idx < half_pixels) | ||
| 241 | + { | ||
| 242 | + T val_first = loadpix(srcptr + mad24(curr_y_first, src_step, mad24(x_first, TSIZE, src_offset))); | ||
| 243 | + T val_second = loadpix(srcptr + mad24(curr_y_second, src_step, mad24(x_second, TSIZE, src_offset))); | ||
| 244 | + | ||
| 245 | +#if kercn == 2 | ||
| 246 | +#if cn == 1 | ||
| 247 | + val_first = val_first.s10; | ||
| 248 | + val_second = val_second.s10; | ||
| 249 | +#endif | ||
| 250 | +#elif kercn == 4 | ||
| 251 | +#if cn == 1 | ||
| 252 | + val_first = val_first.s3210; | ||
| 253 | + val_second = val_second.s3210; | ||
| 254 | +#elif cn == 2 | ||
| 255 | + val_first = val_first.s2301; | ||
| 256 | + val_second = val_second.s2301; | ||
| 257 | +#endif | ||
| 258 | +#endif | ||
| 259 | + tile_first[mad24(ly + i, LDS_STEP, lx)] = val_first; | ||
| 260 | + tile_second[mad24(ly + i, LDS_STEP, lx)] = val_second; | ||
| 261 | + } | ||
| 262 | + } | ||
| 263 | + barrier(CLK_LOCAL_MEM_FENCE); | ||
| 264 | + | ||
| 265 | + #pragma unroll | ||
| 266 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 267 | + { | ||
| 268 | + int curr_y_first = y_first + i; | ||
| 269 | + int curr_y_second = rows - 1 - curr_y_first; | ||
| 270 | + int linear_idx = curr_y_first * cols + x_first; | ||
| 271 | + | ||
| 272 | + if (x_first < cols && curr_y_first < rows && linear_idx < half_pixels) | ||
| 273 | + { | ||
| 274 | + storepix(tile_second[mad24(ly + i, LDS_STEP, lx)], | ||
| 275 | + srcptr + mad24(curr_y_first, src_step, mad24(x_first, TSIZE, src_offset))); | ||
| 276 | + | ||
| 277 | + if (linear_idx != total_pixels - 1 - linear_idx) | ||
| 278 | + { | ||
| 279 | + storepix(tile_first[mad24(ly + i, LDS_STEP, lx)], | ||
| 280 | + srcptr + mad24(curr_y_second, src_step, mad24(x_second, TSIZE, src_offset))); | ||
| 281 | + } | ||
| 282 | + } | ||
| 283 | + } | ||
| 284 | +} | ||
| 285 | + | ||
| 286 | +__kernel void arithm_flip_cols_inplace(__global uchar * srcptr, int src_step, int src_offset, | ||
| 287 | + int rows, int cols) | ||
| 288 | +{ | ||
| 289 | + int gp_x = get_group_id(0); | ||
| 290 | + int gp_y = get_group_id(1); | ||
| 291 | + int lx = get_local_id(0); | ||
| 292 | + int ly = get_local_id(1); | ||
| 293 | + | ||
| 294 | + __local T tile_left[TILE_SIZE * LDS_STEP]; | ||
| 295 | + __local T tile_right[TILE_SIZE * LDS_STEP]; | ||
| 296 | + | ||
| 297 | + int half_cols = (cols + 1) / 2; | ||
| 298 | + | ||
| 299 | + int x_left = gp_x * TILE_SIZE + lx; | ||
| 300 | + int y = gp_y * TILE_SIZE + ly; | ||
| 301 | + int x_right = cols - 1 - x_left; | ||
| 302 | + | ||
| 303 | + #pragma unroll | ||
| 304 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 305 | + { | ||
| 306 | + if (y + i < rows && x_left < half_cols) | ||
| 307 | + { | ||
| 308 | + T val_left = loadpix(srcptr + mad24(y + i, src_step, mad24(x_left, TSIZE, src_offset))); | ||
| 309 | + T val_right = loadpix(srcptr + mad24(y + i, src_step, mad24(x_right, TSIZE, src_offset))); | ||
| 310 | + | ||
| 311 | +#if kercn == 2 | ||
| 312 | +#if cn == 1 | ||
| 313 | + val_left = val_left.s10; | ||
| 314 | + val_right = val_right.s10; | ||
| 315 | +#endif | ||
| 316 | +#elif kercn == 4 | ||
| 317 | +#if cn == 1 | ||
| 318 | + val_left = val_left.s3210; | ||
| 319 | + val_right = val_right.s3210; | ||
| 320 | +#elif cn == 2 | ||
| 321 | + val_left = val_left.s2301; | ||
| 322 | + val_right = val_right.s2301; | ||
| 323 | +#endif | ||
| 324 | +#endif | ||
| 325 | + tile_left[mad24(ly + i, LDS_STEP, lx)] = val_left; | ||
| 326 | + tile_right[mad24(ly + i, LDS_STEP, lx)] = val_right; | ||
| 327 | + } | ||
| 328 | + } | ||
| 329 | + barrier(CLK_LOCAL_MEM_FENCE); | ||
| 330 | + | ||
| 331 | + #pragma unroll | ||
| 332 | + for (int i = 0; i < TILE_SIZE; i += BLOCK_ROWS) | ||
| 333 | + { | ||
| 334 | + if (y + i < rows && x_left < half_cols) | ||
| 335 | + { | ||
| 336 | + storepix(tile_right[mad24(ly + i, LDS_STEP, lx)], | ||
| 337 | + srcptr + mad24(y + i, src_step, mad24(x_left, TSIZE, src_offset))); | ||
| 338 | + | ||
| 339 | + if (x_left != x_right) | ||
| 340 | + { | ||
| 341 | + storepix(tile_left[mad24(ly + i, LDS_STEP, lx)], | ||
| 342 | + srcptr + mad24(y + i, src_step, mad24(x_right, TSIZE, src_offset))); | ||
| 343 | + } | ||
| 344 | + } | ||
| 345 | + } | ||
| 346 | +} | ||
| 347 | + | ||
| 348 | +#endif // INPLACE | ||
| 349 | \ No newline at end of file | ||
| 350 | -- | ||
| 351 | 2.34.1 | ||
| 352 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch new file mode 100644 index 000000000..c8c23c93a --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/27691.patch | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | From 90c444abd387ffa70b2e72a34922903a2f0f4f5a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Smorkalov <alexander.smorkalov@opencv.ai> | ||
| 3 | Date: Wed, 20 Aug 2025 10:53:51 +0300 | ||
| 4 | Subject: [PATCH] FFmpeg 8.0 support. | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/opencv/opencv/commit/86df53155411b3ade57d0213bf8dd63006bf248f] | ||
| 7 | --- | ||
| 8 | modules/videoio/src/cap_ffmpeg_impl.hpp | 14 ++++++++++++++ | ||
| 9 | 1 file changed, 14 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp | ||
| 12 | index 489dbe565d3d..5780b4c11361 100644 | ||
| 13 | --- a/modules/videoio/src/cap_ffmpeg_impl.hpp | ||
| 14 | +++ b/modules/videoio/src/cap_ffmpeg_impl.hpp | ||
| 15 | @@ -685,7 +685,10 @@ void CvCapture_FFMPEG::close() | ||
| 16 | if( video_st ) | ||
| 17 | { | ||
| 18 | #ifdef CV_FFMPEG_CODECPAR | ||
| 19 | +// avcodec_close removed in FFmpeg release 8.0 | ||
| 20 | +# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(62, 11, 100)) | ||
| 21 | avcodec_close( context ); | ||
| 22 | +# endif | ||
| 23 | #endif | ||
| 24 | video_st = NULL; | ||
| 25 | } | ||
| 26 | @@ -2005,7 +2008,18 @@ void CvCapture_FFMPEG::get_rotation_angle() | ||
| 27 | rotation_angle = 0; | ||
| 28 | #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(57, 68, 100) | ||
| 29 | const uint8_t *data = 0; | ||
| 30 | + // av_stream_get_side_data removed in FFmpeg release 8.0 | ||
| 31 | +# if (LIBAVCODEC_BUILD < CALC_FFMPEG_VERSION(62, 11, 100)) | ||
| 32 | data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL); | ||
| 33 | +# else | ||
| 34 | + AVPacketSideData* sd = video_st->codecpar->coded_side_data; | ||
| 35 | + int nb_sd = video_st->codecpar->nb_coded_side_data; | ||
| 36 | + if (sd && nb_sd > 0) | ||
| 37 | + { | ||
| 38 | + const AVPacketSideData* mtx = av_packet_side_data_get(sd, nb_sd, AV_PKT_DATA_DISPLAYMATRIX); | ||
| 39 | + data = mtx->data; | ||
| 40 | + } | ||
| 41 | +# endif | ||
| 42 | if (data) | ||
| 43 | { | ||
| 44 | rotation_angle = -cvRound(av_display_rotation_get((const int32_t*)data)); | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch index ef7831a5f..9aee21c4d 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/OpenCV_DNN_examples.patch | |||
| @@ -1,17 +1,19 @@ | |||
| 1 | From 3c4daafb54f961e376104a461ca7ec114ff0331a Mon Sep 17 00:00:00 2001 | 1 | From c0e12bef26b4e4f10eb541c26f7fd7400addb67e Mon Sep 17 00:00:00 2001 |
| 2 | From: Ludek Slosarcik <ludek.slosarcik@nxp.com> | 2 | From: Ludek Slosarcik <ludek.slosarcik@nxp.com> |
| 3 | Date: Fri, 14 Feb 2020 15:46:50 +0100 | 3 | Date: Fri, 14 Feb 2020 15:46:50 +0100 |
| 4 | Subject: [PATCH] opencv_dnn: added video device for 2 examples, and change text labels | 4 | Subject: [PATCH] opencv_dnn: added video device for 2 examples, and change |
| 5 | text labels | ||
| 5 | 6 | ||
| 6 | Signed-off-by: Ludek Slosarcik <ludek.slosarcik@nxp.com> | 7 | Signed-off-by: Ludek Slosarcik <ludek.slosarcik@nxp.com> |
| 7 | 8 | ||
| 8 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
| 10 | |||
| 9 | --- | 11 | --- |
| 10 | samples/cpp/logistic_regression.cpp | 2 +- | 12 | samples/cpp/logistic_regression.cpp | 2 +- |
| 11 | samples/dnn/classification.cpp | 7 ++++--- | 13 | samples/dnn/classification.cpp | 9 +++++---- |
| 12 | samples/dnn/object_detection.cpp | 10 +++++----- | 14 | samples/dnn/object_detection.cpp | 10 +++++----- |
| 13 | samples/dnn/segmentation.cpp | 2 +- | 15 | samples/dnn/segmentation.cpp | 2 +- |
| 14 | samples/dnn/text_detection.cpp | 5 +++-- | 16 | samples/dnn/text_detection.cpp | 3 ++- |
| 15 | 5 files changed, 14 insertions(+), 12 deletions(-) | 17 | 5 files changed, 14 insertions(+), 12 deletions(-) |
| 16 | 18 | ||
| 17 | Index: git/samples/cpp/logistic_regression.cpp | 19 | Index: git/samples/cpp/logistic_regression.cpp |
| @@ -128,8 +130,8 @@ Index: git/samples/dnn/text_detection.cpp | |||
| 128 | "{ input i | | Path to input image or video file. Skip this argument to capture frames from a camera.}" | 130 | "{ input i | | Path to input image or video file. Skip this argument to capture frames from a camera.}" |
| 129 | + "{ device | 0 | camera device number. }" | 131 | + "{ device | 0 | camera device number. }" |
| 130 | "{ detModel dmp | | Path to a binary .pb file contains trained detector network.}" | 132 | "{ detModel dmp | | Path to a binary .pb file contains trained detector network.}" |
| 131 | "{ width | 320 | Preprocess input image by resizing to a specific width. It should be multiple by 32. }" | 133 | "{ width | 320 | Preprocess input image by resizing to a specific width. It should be a multiple of 32. }" |
| 132 | "{ height | 320 | Preprocess input image by resizing to a specific height. It should be multiple by 32. }" | 134 | "{ height | 320 | Preprocess input image by resizing to a specific height. It should be a multiple of 32. }" |
| 133 | @@ -106,7 +107,7 @@ int main(int argc, char** argv) | 135 | @@ -106,7 +107,7 @@ int main(int argc, char** argv) |
| 134 | 136 | ||
| 135 | // Open a video file or an image file or a camera stream. | 137 | // Open a video file or an image file or a camera stream. |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch index 3538f24b3..265d723c6 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv/fix-build-with-protobuf-v22.patch | |||
| @@ -1,19 +1,60 @@ | |||
| 1 | From 5e4150826fea6f37276f348c65d94ce4847d1211 Mon Sep 17 00:00:00 2001 | 1 | From 75f7475fcfb35cbe4d8f5ccf5c4ac8bc78f2dc30 Mon Sep 17 00:00:00 2001 |
| 2 | From: Kumataro <Kumataro@users.noreply.github.com> | 2 | From: Kumataro <Kumataro@users.noreply.github.com> |
| 3 | Date: Sat, 7 Oct 2023 10:11:25 +0900 | 3 | Date: Thu, 19 Oct 2023 14:45:08 +0900 |
| 4 | Subject: [PATCH] 3rdparty: supporting protobuf v22 and later | 4 | Subject: [PATCH] Merge pull request #24372 from Kumataro:fix24369 |
| 5 | 5 | ||
| 6 | Upstream-Status: Submitted [https://github.com/opencv/opencv/pull/24372] | 6 | Supporting protobuf v22 and later(with abseil-cpp/C++17) #24372 |
| 7 | |||
| 8 | fix https://github.com/opencv/opencv/issues/24369 | ||
| 9 | related https://github.com/opencv/opencv/issues/23791 | ||
| 10 | |||
| 11 | 1. This patch supports external protobuf v22 and later, it required abseil-cpp and c++17. | ||
| 12 | Even if the built-in protobuf is upgraded to v22 or later, | ||
| 13 | the dependency on abseil-cpp and the requirement for C++17 will continue. | ||
| 14 | 2. Some test for caffe required patched protobuf, so this patch disable them. | ||
| 15 | |||
| 16 | This patch is tested by following libraries. | ||
| 17 | - Protobuf: /usr/local/lib/libprotobuf.so (4.24.4) | ||
| 18 | - abseil-cpp: YES (20230125) | ||
| 19 | |||
| 20 | See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request | ||
| 21 | |||
| 22 | - [x] I agree to contribute to the project under Apache 2 License. | ||
| 23 | - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV | ||
| 24 | - [x] The PR is proposed to the proper branch | ||
| 25 | - [x] There is a reference to the original bug report and related work | ||
| 26 | - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable | ||
| 27 | Patch to opencv_extra has the same branch name. | ||
| 28 | - [x] The feature is well documented and sample code can be built with the project CMake | ||
| 29 | |||
| 30 | Upstream-Status: Backport [https://github.com/opencv/opencv/commit/6e4280ea81b59c6dca45bb9801b758377beead55] | ||
| 7 | --- | 31 | --- |
| 8 | cmake/OpenCVFindProtobuf.cmake | 37 ++++++++++++++++++++++++++++++++++ | 32 | cmake/OpenCVFindProtobuf.cmake | 35 +++++++++++++++++++++++++++----- |
| 9 | modules/dnn/CMakeLists.txt | 9 +++++++++ | 33 | modules/dnn/CMakeLists.txt | 6 ++++++ |
| 10 | 2 files changed, 46 insertions(+) | 34 | modules/dnn/test/test_layers.cpp | 24 ++++++++++++++++++---- |
| 35 | 3 files changed, 56 insertions(+), 9 deletions(-) | ||
| 11 | 36 | ||
| 12 | diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake | 37 | diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake |
| 13 | index 8835347d1d..9bd5c28db8 100644 | 38 | index 8835347d1d..5b1e17529f 100644 |
| 14 | --- a/cmake/OpenCVFindProtobuf.cmake | 39 | --- a/cmake/OpenCVFindProtobuf.cmake |
| 15 | +++ b/cmake/OpenCVFindProtobuf.cmake | 40 | +++ b/cmake/OpenCVFindProtobuf.cmake |
| 16 | @@ -67,6 +67,38 @@ else() | 41 | @@ -30,8 +30,14 @@ if(BUILD_PROTOBUF) |
| 42 | set(Protobuf_LIBRARIES "libprotobuf") | ||
| 43 | set(HAVE_PROTOBUF TRUE) | ||
| 44 | else() | ||
| 45 | + # we still need this for command PROTOBUF_GENERATE_CPP. | ||
| 46 | + set(protobuf_MODULE_COMPATIBLE ON) | ||
| 47 | + | ||
| 48 | unset(Protobuf_VERSION CACHE) | ||
| 49 | - find_package(Protobuf QUIET) | ||
| 50 | + find_package(Protobuf QUIET CONFIG) | ||
| 51 | + if(NOT Protobuf_FOUND) | ||
| 52 | + find_package(Protobuf QUIET) | ||
| 53 | + endif() | ||
| 54 | |||
| 55 | # Backwards compatibility | ||
| 56 | # Define camel case versions of input variables | ||
| 57 | @@ -67,6 +73,20 @@ else() | ||
| 17 | endif() | 58 | endif() |
| 18 | endif() | 59 | endif() |
| 19 | 60 | ||
| @@ -21,82 +62,49 @@ index 8835347d1d..9bd5c28db8 100644 | |||
| 21 | +# In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp. | 62 | +# In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp. |
| 22 | +# Details: https://protobuf.dev/news/2022-08-03/ | 63 | +# Details: https://protobuf.dev/news/2022-08-03/ |
| 23 | +# And if std::text_view is in abseil-cpp requests C++17 and later. | 64 | +# And if std::text_view is in abseil-cpp requests C++17 and later. |
| 24 | +if(HAVE_PROTOBUF) | ||
| 25 | + if("${Protobuf_VERSION}" MATCHES [[[0-9]+.([0-9]+).[0-9]+]]) | ||
| 26 | + string(COMPARE GREATER_EQUAL "${CMAKE_MATCH_1}" "22" REQUEST_ABSL) | ||
| 27 | + | ||
| 28 | + if(REQUEST_ABSL) | ||
| 29 | + string(COMPARE GREATER_EQUAL "${CMAKE_CXX_STANDARD}" "17" USED_AFTER_CXX17) | ||
| 30 | + if(NOT USED_AFTER_CXX17) | ||
| 31 | + message("CMAKE_CXX_STANDARD : ${CMAKE_CXX_STANDARD}") | ||
| 32 | + message("protobuf : ${Protobuf_VERSION}") | ||
| 33 | + message(FATAL_ERROR "protobuf(v22 and later) and abseil-cpp request CMAKE_CXX_STANDARD=17 and later.") | ||
| 34 | + endif() | ||
| 35 | + | ||
| 36 | + ocv_check_modules(ABSL_STRINGS absl_strings) | ||
| 37 | + if(NOT ABSL_STRINGS_FOUND) | ||
| 38 | + message(FATAL_ERROR "protobuf(v22 and later) requests abseil-cpp(strings), but missing.") | ||
| 39 | + endif() | ||
| 40 | + | 65 | + |
| 41 | + ocv_check_modules(ABSL_LOG absl_log) | 66 | +if(HAVE_PROTOBUF) |
| 42 | + if(NOT ABSL_LOG_FOUND) | 67 | + if(NOT (Protobuf_VERSION VERSION_LESS 22)) |
| 43 | + message(FATAL_ERROR "protobuf(v22 and later) requests abseil-cpp(log), but missing.") | 68 | + if((CMAKE_CXX_STANDARD EQUAL 98) OR (CMAKE_CXX_STANDARD LESS 17)) |
| 44 | + endif() | 69 | + message(STATUS "CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} is too old to support protobuf(${Protobuf_VERSION}) and/or abseil-cpp. Use C++17 or later. Turning HAVE_PROTOBUF off") |
| 45 | + | 70 | + set(HAVE_PROTOBUF FALSE) |
| 46 | + endif() | ||
| 47 | + else() | ||
| 48 | + message(FATAL_ERROR "Protobuf version(${Protobuf_VERSION}) is unexpected to split.") | ||
| 49 | + endif() | 71 | + endif() |
| 72 | + endif() | ||
| 50 | +endif() | 73 | +endif() |
| 51 | + | 74 | + |
| 52 | if(HAVE_PROTOBUF AND PROTOBUF_UPDATE_FILES AND NOT COMMAND PROTOBUF_GENERATE_CPP) | 75 | if(HAVE_PROTOBUF AND PROTOBUF_UPDATE_FILES AND NOT COMMAND PROTOBUF_GENERATE_CPP) |
| 53 | message(FATAL_ERROR "Can't configure protobuf dependency (BUILD_PROTOBUF=${BUILD_PROTOBUF} PROTOBUF_UPDATE_FILES=${PROTOBUF_UPDATE_FILES})") | 76 | message(FATAL_ERROR "Can't configure protobuf dependency (BUILD_PROTOBUF=${BUILD_PROTOBUF} PROTOBUF_UPDATE_FILES=${PROTOBUF_UPDATE_FILES})") |
| 54 | endif() | 77 | endif() |
| 55 | @@ -89,3 +121,8 @@ if(HAVE_PROTOBUF) | 78 | @@ -74,15 +94,20 @@ endif() |
| 56 | BUILD_PROTOBUF THEN "build (${Protobuf_VERSION})" | 79 | if(HAVE_PROTOBUF) |
| 57 | ELSE "${__location} (${Protobuf_VERSION})") | 80 | list(APPEND CUSTOM_STATUS protobuf) |
| 58 | endif() | 81 | if(NOT BUILD_PROTOBUF) |
| 59 | + | 82 | + unset( __location) |
| 60 | +if(HAVE_ABSL_STRINGS AND HAVE_ABSL_LOG) | 83 | if(TARGET "${Protobuf_LIBRARIES}") |
| 61 | + list(APPEND CUSTOM_STATUS absl) | 84 | get_target_property(__location "${Protobuf_LIBRARIES}" IMPORTED_LOCATION_RELEASE) |
| 62 | + list(APPEND CUSTOM_STATUS_absl " abseil-cpp:" "YES (${ABSL_STRINGS_VERSION})" ) | 85 | if(NOT __location) |
| 63 | +endif() | 86 | get_target_property(__location "${Protobuf_LIBRARIES}" IMPORTED_LOCATION) |
| 64 | diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt | 87 | endif() |
| 65 | index 804b78ead2..d32007b37e 100644 | 88 | - elseif(Protobuf_LIBRARY) |
| 66 | --- a/modules/dnn/CMakeLists.txt | 89 | - set(__location "${Protobuf_LIBRARY}") |
| 67 | +++ b/modules/dnn/CMakeLists.txt | 90 | - else() |
| 68 | @@ -149,6 +149,15 @@ if(NOT BUILD_PROTOBUF) | 91 | - set(__location "${Protobuf_LIBRARIES}") |
| 69 | list(APPEND include_dirs ${Protobuf_INCLUDE_DIRS}) | 92 | + endif() |
| 70 | endif() | ||
| 71 | |||
| 72 | +if(HAVE_ABSL_STRINGS) | ||
| 73 | + list(APPEND libs ${ABSL_STRINGS_LIBRARIES}) | ||
| 74 | + list(APPEND include_dirs ${ABSL_STRTRINGS_INCLUDE_DIRS}) | ||
| 75 | +endif() | ||
| 76 | +if(HAVE_ABSL_LOG) | ||
| 77 | + list(APPEND libs ${ABSL_LOG_LIBRARIES}) | ||
| 78 | + list(APPEND include_dirs ${ABSL_LOG_INCLUDE_DIRS}) | ||
| 79 | +endif() | ||
| 80 | + | 93 | + |
| 81 | set(sources_options "") | 94 | + if(NOT __location) |
| 82 | 95 | + if(Protobuf_LIBRARY) | |
| 83 | list(APPEND libs ${LAPACK_LIBRARIES}) | 96 | + set(__location "${Protobuf_LIBRARY}") |
| 84 | From 06a7669521d205f647d3e718322ccd153cdbbb77 Mon Sep 17 00:00:00 2001 | 97 | + else() |
| 85 | From: Kumataro <Kumataro@users.noreply.github.com> | 98 | + set(__location "${Protobuf_LIBRARIES}") |
| 86 | Date: Sun, 8 Oct 2023 09:39:35 +0900 | 99 | + endif() |
| 87 | Subject: [PATCH] dnn: disable some tests for external protobuf | 100 | endif() |
| 88 | 101 | endif() | |
| 89 | --- | 102 | list(APPEND CUSTOM_STATUS_protobuf " Protobuf:" |
| 90 | modules/dnn/CMakeLists.txt | 5 +++++ | ||
| 91 | modules/dnn/src/caffe/caffe_io.cpp | 24 ++++++++++++++++++++++-- | ||
| 92 | modules/dnn/test/test_layers.cpp | 16 ++++++++++++++++ | ||
| 93 | 3 files changed, 43 insertions(+), 2 deletions(-) | ||
| 94 | |||
| 95 | diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt | 103 | diff --git a/modules/dnn/CMakeLists.txt b/modules/dnn/CMakeLists.txt |
| 96 | index d32007b37e..face38465f 100644 | 104 | index 804b78ead2..9fcc460909 100644 |
| 97 | --- a/modules/dnn/CMakeLists.txt | 105 | --- a/modules/dnn/CMakeLists.txt |
| 98 | +++ b/modules/dnn/CMakeLists.txt | 106 | +++ b/modules/dnn/CMakeLists.txt |
| 99 | @@ -254,6 +254,12 @@ ocv_create_module(${libs} ${dnn_runtime_libs}) | 107 | @@ -245,6 +245,12 @@ ocv_create_module(${libs} ${dnn_runtime_libs}) |
| 100 | ocv_add_samples() | 108 | ocv_add_samples() |
| 101 | ocv_add_accuracy_tests(${dnn_runtime_libs}) | 109 | ocv_add_accuracy_tests(${dnn_runtime_libs}) |
| 102 | 110 | ||
| @@ -109,211 +117,13 @@ index d32007b37e..face38465f 100644 | |||
| 109 | set(perf_path "${CMAKE_CURRENT_LIST_DIR}/perf") | 117 | set(perf_path "${CMAKE_CURRENT_LIST_DIR}/perf") |
| 110 | file(GLOB_RECURSE perf_srcs "${perf_path}/*.cpp") | 118 | file(GLOB_RECURSE perf_srcs "${perf_path}/*.cpp") |
| 111 | file(GLOB_RECURSE perf_hdrs "${perf_path}/*.hpp" "${perf_path}/*.h") | 119 | file(GLOB_RECURSE perf_hdrs "${perf_path}/*.hpp" "${perf_path}/*.h") |
| 112 | |||
| 113 | diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 114 | index ebecf95eea..ebceca84cf 100644 | ||
| 115 | --- a/modules/dnn/src/caffe/caffe_io.cpp | ||
| 116 | +++ b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 117 | @@ -1130,7 +1130,17 @@ bool ReadProtoFromTextFile(const char* filename, Message* proto) { | ||
| 118 | parser.AllowUnknownField(true); | ||
| 119 | parser.SetRecursionLimit(1000); | ||
| 120 | #endif | ||
| 121 | - return parser.Parse(&input, proto); | ||
| 122 | + const bool ret = parser.Parse(&input, proto); | ||
| 123 | + | ||
| 124 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 125 | + if(!ret) | ||
| 126 | + { | ||
| 127 | + LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only)."; | ||
| 128 | + CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only).")); | ||
| 129 | + } | ||
| 130 | +#endif | ||
| 131 | + | ||
| 132 | + return ret; | ||
| 133 | } | ||
| 134 | |||
| 135 | bool ReadProtoFromBinaryFile(const char* filename, Message* proto) { | ||
| 136 | @@ -1148,7 +1158,17 @@ bool ReadProtoFromTextBuffer(const char* data, size_t len, Message* proto) { | ||
| 137 | parser.AllowUnknownField(true); | ||
| 138 | parser.SetRecursionLimit(1000); | ||
| 139 | #endif | ||
| 140 | - return parser.Parse(&input, proto); | ||
| 141 | + const bool ret = parser.Parse(&input, proto); | ||
| 142 | + | ||
| 143 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 144 | + if(!ret) | ||
| 145 | + { | ||
| 146 | + LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only)."; | ||
| 147 | + CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only).")); | ||
| 148 | + } | ||
| 149 | +#endif | ||
| 150 | + | ||
| 151 | + return ret; | ||
| 152 | } | ||
| 153 | |||
| 154 | |||
| 155 | diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp | 120 | diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp |
| 156 | index 763d94b99c..a07d442d76 100644 | 121 | index 763d94b99c..6cb6d54b3f 100644 |
| 157 | --- a/modules/dnn/test/test_layers.cpp | 122 | --- a/modules/dnn/test/test_layers.cpp |
| 158 | +++ b/modules/dnn/test/test_layers.cpp | 123 | +++ b/modules/dnn/test/test_layers.cpp |
| 159 | @@ -754,7 +754,11 @@ TEST_F(Layer_RNN_Test, get_set_test) | 124 | @@ -756,11 +756,15 @@ TEST_F(Layer_RNN_Test, get_set_test) |
| 160 | EXPECT_EQ(shape(outputs[1]), shape(nT, nS, nH)); | ||
| 161 | } | ||
| 162 | 125 | ||
| 163 | +#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 164 | TEST_P(Test_Caffe_layers, Accum) | 126 | TEST_P(Test_Caffe_layers, Accum) |
| 165 | +#else | ||
| 166 | +TEST_P(Test_Caffe_layers, DISABLED_Accum) // requires patched protobuf (available in OpenCV source tree only) | ||
| 167 | +#endif | ||
| 168 | { | ||
| 169 | if (backend == DNN_BACKEND_OPENCV && target != DNN_TARGET_CPU) | ||
| 170 | applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); | ||
| 171 | @@ -778,7 +782,11 @@ TEST_P(Test_Caffe_layers, ChannelNorm) | ||
| 172 | testLayerUsingCaffeModels("channel_norm", false, false); | ||
| 173 | } | ||
| 174 | |||
| 175 | +#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 176 | TEST_P(Test_Caffe_layers, DataAugmentation) | ||
| 177 | +#else | ||
| 178 | +TEST_P(Test_Caffe_layers, DISABLED_DataAugmentation) // requires patched protobuf (available in OpenCV source tree only) | ||
| 179 | +#endif | ||
| 180 | { | ||
| 181 | if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16) | ||
| 182 | applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); | ||
| 183 | @@ -787,7 +795,11 @@ TEST_P(Test_Caffe_layers, DataAugmentation) | ||
| 184 | testLayerUsingCaffeModels("data_augmentation_8x6", true, false); | ||
| 185 | } | ||
| 186 | |||
| 187 | +#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 188 | TEST_P(Test_Caffe_layers, Resample) | ||
| 189 | +#else | ||
| 190 | +TEST_P(Test_Caffe_layers, DISABLED_Resample) // requires patched protobuf (available in OpenCV source tree only) | ||
| 191 | +#endif | ||
| 192 | { | ||
| 193 | if (backend != DNN_BACKEND_OPENCV) | ||
| 194 | applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, CV_TEST_TAG_DNN_SKIP_IE_NGRAPH); | ||
| 195 | @@ -795,7 +807,11 @@ TEST_P(Test_Caffe_layers, Resample) | ||
| 196 | testLayerUsingCaffeModels("nearest", false, false); | ||
| 197 | } | ||
| 198 | |||
| 199 | +#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 200 | TEST_P(Test_Caffe_layers, Correlation) | ||
| 201 | +#else | ||
| 202 | +TEST_P(Test_Caffe_layers, DISABLED_Correlation) // requires patched protobuf (available in OpenCV source tree only) | ||
| 203 | +#endif | ||
| 204 | { | ||
| 205 | if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16) | ||
| 206 | applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, | ||
| 207 | From 2c33798f41942aefc203183d673ce4846f32dba4 Mon Sep 17 00:00:00 2001 | ||
| 208 | From: Kumataro <Kumataro@users.noreply.github.com> | ||
| 209 | Date: Sun, 8 Oct 2023 13:28:40 +0900 | ||
| 210 | Subject: [PATCH] use GREATER instead of GREATER_EQUAL and remove new blank | ||
| 211 | line at EOF | ||
| 212 | |||
| 213 | --- | ||
| 214 | cmake/OpenCVFindProtobuf.cmake | 6 ++++-- | ||
| 215 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
| 216 | |||
| 217 | diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake | ||
| 218 | index 9bd5c28db8..ba147526d6 100644 | ||
| 219 | --- a/cmake/OpenCVFindProtobuf.cmake | ||
| 220 | +++ b/cmake/OpenCVFindProtobuf.cmake | ||
| 221 | @@ -71,12 +71,14 @@ endif() | ||
| 222 | # In Protocol Buffers v22.0 and later drops C++11 support and depends abseil-cpp. | ||
| 223 | # Details: https://protobuf.dev/news/2022-08-03/ | ||
| 224 | # And if std::text_view is in abseil-cpp requests C++17 and later. | ||
| 225 | + | ||
| 226 | if(HAVE_PROTOBUF) | ||
| 227 | if("${Protobuf_VERSION}" MATCHES [[[0-9]+.([0-9]+).[0-9]+]]) | ||
| 228 | - string(COMPARE GREATER_EQUAL "${CMAKE_MATCH_1}" "22" REQUEST_ABSL) | ||
| 229 | + string(COMPARE GREATER "${CMAKE_MATCH_1}" "21" REQUEST_ABSL) # >=22 | ||
| 230 | |||
| 231 | if(REQUEST_ABSL) | ||
| 232 | - string(COMPARE GREATER_EQUAL "${CMAKE_CXX_STANDARD}" "17" USED_AFTER_CXX17) | ||
| 233 | + string(COMPARE GREATER "${CMAKE_CXX_STANDARD}" "16" USED_AFTER_CXX17) # >=17 | ||
| 234 | + | ||
| 235 | if(NOT USED_AFTER_CXX17) | ||
| 236 | message("CMAKE_CXX_STANDARD : ${CMAKE_CXX_STANDARD}") | ||
| 237 | message("protobuf : ${Protobuf_VERSION}") | ||
| 238 | From cd709eefbeedd116bf3495b42280323b932791ff Mon Sep 17 00:00:00 2001 | ||
| 239 | From: Kumataro <Kumataro@users.noreply.github.com> | ||
| 240 | Date: Mon, 9 Oct 2023 21:51:04 +0900 | ||
| 241 | Subject: [PATCH] fix for review | ||
| 242 | |||
| 243 | --- | ||
| 244 | cmake/OpenCVFindProtobuf.cmake | 5 ---- | ||
| 245 | modules/dnn/src/caffe/caffe_io.cpp | 24 ++---------------- | ||
| 246 | modules/dnn/test/test_layers.cpp | 40 +++++++++++++++--------------- | ||
| 247 | 3 files changed, 22 insertions(+), 47 deletions(-) | ||
| 248 | |||
| 249 | diff --git a/cmake/OpenCVFindProtobuf.cmake b/cmake/OpenCVFindProtobuf.cmake | ||
| 250 | index ba147526d6..2faf1010bf 100644 | ||
| 251 | --- a/cmake/OpenCVFindProtobuf.cmake | ||
| 252 | +++ b/cmake/OpenCVFindProtobuf.cmake | ||
| 253 | @@ -123,8 +123,3 @@ if(HAVE_PROTOBUF) | ||
| 254 | BUILD_PROTOBUF THEN "build (${Protobuf_VERSION})" | ||
| 255 | ELSE "${__location} (${Protobuf_VERSION})") | ||
| 256 | endif() | ||
| 257 | - | ||
| 258 | -if(HAVE_ABSL_STRINGS AND HAVE_ABSL_LOG) | ||
| 259 | - list(APPEND CUSTOM_STATUS absl) | ||
| 260 | - list(APPEND CUSTOM_STATUS_absl " abseil-cpp:" "YES (${ABSL_STRINGS_VERSION})" ) | ||
| 261 | -endif() | ||
| 262 | diff --git a/modules/dnn/src/caffe/caffe_io.cpp b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 263 | index ebceca84cf..ebecf95eea 100644 | ||
| 264 | --- a/modules/dnn/src/caffe/caffe_io.cpp | ||
| 265 | +++ b/modules/dnn/src/caffe/caffe_io.cpp | ||
| 266 | @@ -1130,17 +1130,7 @@ bool ReadProtoFromTextFile(const char* filename, Message* proto) { | ||
| 267 | parser.AllowUnknownField(true); | ||
| 268 | parser.SetRecursionLimit(1000); | ||
| 269 | #endif | ||
| 270 | - const bool ret = parser.Parse(&input, proto); | ||
| 271 | - | ||
| 272 | -#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 273 | - if(!ret) | ||
| 274 | - { | ||
| 275 | - LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only)."; | ||
| 276 | - CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only).")); | ||
| 277 | - } | ||
| 278 | -#endif | ||
| 279 | - | ||
| 280 | - return ret; | ||
| 281 | + return parser.Parse(&input, proto); | ||
| 282 | } | ||
| 283 | |||
| 284 | bool ReadProtoFromBinaryFile(const char* filename, Message* proto) { | ||
| 285 | @@ -1158,17 +1148,7 @@ bool ReadProtoFromTextBuffer(const char* data, size_t len, Message* proto) { | ||
| 286 | parser.AllowUnknownField(true); | ||
| 287 | parser.SetRecursionLimit(1000); | ||
| 288 | #endif | ||
| 289 | - const bool ret = parser.Parse(&input, proto); | ||
| 290 | - | ||
| 291 | -#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 292 | - if(!ret) | ||
| 293 | - { | ||
| 294 | - LOG(ERROR) << "Some data requires patched protobuf (available in OpenCV source tree only)."; | ||
| 295 | - CV_Error_(Error::StsError,("Some data requires patched protobuf (available in OpenCV source tree only).")); | ||
| 296 | - } | ||
| 297 | -#endif | ||
| 298 | - | ||
| 299 | - return ret; | ||
| 300 | + return parser.Parse(&input, proto); | ||
| 301 | } | ||
| 302 | |||
| 303 | |||
| 304 | diff --git a/modules/dnn/test/test_layers.cpp b/modules/dnn/test/test_layers.cpp | ||
| 305 | index a07d442d76..5c6fc541d7 100644 | ||
| 306 | --- a/modules/dnn/test/test_layers.cpp | ||
| 307 | +++ b/modules/dnn/test/test_layers.cpp | ||
| 308 | @@ -754,17 +754,17 @@ TEST_F(Layer_RNN_Test, get_set_test) | ||
| 309 | EXPECT_EQ(shape(outputs[1]), shape(nT, nS, nH)); | ||
| 310 | } | ||
| 311 | |||
| 312 | -#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 313 | TEST_P(Test_Caffe_layers, Accum) | ||
| 314 | -#else | ||
| 315 | -TEST_P(Test_Caffe_layers, DISABLED_Accum) // requires patched protobuf (available in OpenCV source tree only) | ||
| 316 | -#endif | ||
| 317 | { | 127 | { |
| 318 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | 128 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF |
| 319 | + throw SkipTestException("Requires patched protobuf"); | 129 | + throw SkipTestException("Requires patched protobuf"); |
| @@ -327,15 +137,9 @@ index a07d442d76..5c6fc541d7 100644 | |||
| 327 | } | 137 | } |
| 328 | 138 | ||
| 329 | TEST_P(Test_Caffe_layers, FlowWarp) | 139 | TEST_P(Test_Caffe_layers, FlowWarp) |
| 330 | @@ -782,42 +782,42 @@ TEST_P(Test_Caffe_layers, ChannelNorm) | 140 | @@ -780,27 +784,39 @@ TEST_P(Test_Caffe_layers, ChannelNorm) |
| 331 | testLayerUsingCaffeModels("channel_norm", false, false); | ||
| 332 | } | ||
| 333 | 141 | ||
| 334 | -#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 335 | TEST_P(Test_Caffe_layers, DataAugmentation) | 142 | TEST_P(Test_Caffe_layers, DataAugmentation) |
| 336 | -#else | ||
| 337 | -TEST_P(Test_Caffe_layers, DISABLED_DataAugmentation) // requires patched protobuf (available in OpenCV source tree only) | ||
| 338 | -#endif | ||
| 339 | { | 143 | { |
| 340 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | 144 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF |
| 341 | + throw SkipTestException("Requires patched protobuf"); | 145 | + throw SkipTestException("Requires patched protobuf"); |
| @@ -348,11 +152,7 @@ index a07d442d76..5c6fc541d7 100644 | |||
| 348 | +#endif | 152 | +#endif |
| 349 | } | 153 | } |
| 350 | 154 | ||
| 351 | -#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 352 | TEST_P(Test_Caffe_layers, Resample) | 155 | TEST_P(Test_Caffe_layers, Resample) |
| 353 | -#else | ||
| 354 | -TEST_P(Test_Caffe_layers, DISABLED_Resample) // requires patched protobuf (available in OpenCV source tree only) | ||
| 355 | -#endif | ||
| 356 | { | 156 | { |
| 357 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | 157 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF |
| 358 | + throw SkipTestException("Requires patched protobuf"); | 158 | + throw SkipTestException("Requires patched protobuf"); |
| @@ -364,11 +164,7 @@ index a07d442d76..5c6fc541d7 100644 | |||
| 364 | +#endif | 164 | +#endif |
| 365 | } | 165 | } |
| 366 | 166 | ||
| 367 | -#ifndef OPENCV_DNN_EXTERNAL_PROTOBUF | ||
| 368 | TEST_P(Test_Caffe_layers, Correlation) | 167 | TEST_P(Test_Caffe_layers, Correlation) |
| 369 | -#else | ||
| 370 | -TEST_P(Test_Caffe_layers, DISABLED_Correlation) // requires patched protobuf (available in OpenCV source tree only) | ||
| 371 | -#endif | ||
| 372 | { | 168 | { |
| 373 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | 169 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF |
| 374 | + throw SkipTestException("Requires patched protobuf"); | 170 | + throw SkipTestException("Requires patched protobuf"); |
| @@ -377,12 +173,11 @@ index a07d442d76..5c6fc541d7 100644 | |||
| 377 | applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, | 173 | applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_NGRAPH, CV_TEST_TAG_DNN_SKIP_IE_NN_BUILDER, |
| 378 | CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); | 174 | CV_TEST_TAG_DNN_SKIP_OPENCL, CV_TEST_TAG_DNN_SKIP_OPENCL_FP16); |
| 379 | testLayerUsingCaffeModels("correlation", false, false, 0.0, 0.0, 2); | 175 | testLayerUsingCaffeModels("correlation", false, false, 0.0, 0.0, 2); |
| 380 | } | ||
| 381 | +#endif | 176 | +#endif |
| 177 | } | ||
| 382 | 178 | ||
| 383 | TEST_P(Test_Caffe_layers, Convolution2Inputs) | 179 | TEST_P(Test_Caffe_layers, Convolution2Inputs) |
| 384 | { | 180 | @@ -1641,12 +1657,11 @@ private: |
| 385 | @@ -1644,12 +1644,11 @@ private: | ||
| 386 | int outWidth, outHeight, zoomFactor; | 181 | int outWidth, outHeight, zoomFactor; |
| 387 | }; | 182 | }; |
| 388 | 183 | ||
| @@ -395,10 +190,10 @@ index a07d442d76..5c6fc541d7 100644 | |||
| 395 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF | 190 | +#ifdef OPENCV_DNN_EXTERNAL_PROTOBUF |
| 396 | + throw SkipTestException("Requires patched protobuf"); | 191 | + throw SkipTestException("Requires patched protobuf"); |
| 397 | +#else | 192 | +#else |
| 398 | #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2022010000) | 193 | #if defined(INF_ENGINE_RELEASE) && INF_ENGINE_VER_MAJOR_EQ(2021030000) |
| 399 | // Cannot get memory! | 194 | if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_MYRIAD) |
| 400 | if (backend == DNN_BACKEND_INFERENCE_ENGINE_NGRAPH && target == DNN_TARGET_CPU) | 195 | applyTestTag(CV_TEST_TAG_DNN_SKIP_IE_MYRIAD, CV_TEST_TAG_DNN_SKIP_IE_NGRAPH); // exception |
| 401 | @@ -1686,6 +1685,7 @@ TEST_P(Test_Caffe_layers, DISABLED_Interp) // requires patched protobuf (availa | 196 | @@ -1670,6 +1685,7 @@ TEST_P(Test_Caffe_layers, DISABLED_Interp) // requires patched protobuf (availa |
| 402 | 197 | ||
| 403 | // Test an implemented layer. | 198 | // Test an implemented layer. |
| 404 | testLayerUsingCaffeModels("layer_interp", false, false); | 199 | testLayerUsingCaffeModels("layer_interp", false, false); |
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb index 0195bc61a..ff6982d2f 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.6.0.imx.bb +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_4.13.0.imx.bb | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | # This recipe is for the i.MX fork of opencv. For ease of | 1 | # This recipe is modified for i.MX. |
| 2 | # maintenance, the top section is a verbatim copy of an OE-core | 2 | # For ease of maintenance, the top section is a verbatim copy |
| 3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # of an OE-core recipe, and the second section customizes the |
| 4 | # recipe for i.MX. | ||
| 4 | 5 | ||
| 5 | ########## meta-openembedded copy ########### | 6 | ########## meta-openembedded copy ########### |
| 6 | # Upstream hash: 72dc42966be7da07f9553f75b825123b81704f0b | 7 | # Upstream hash: 9b77eae6988e98adbec5323d2491afc6b327c91a |
| 7 | # Commit https://github.com/openembedded/meta-openembedded/commit/225ce6a14a8110ab6b573b4dc9f5297a03d17e0f added | ||
| 8 | 8 | ||
| 9 | SUMMARY = "Opencv : The Open Computer Vision Library" | 9 | SUMMARY = "Opencv : The Open Computer Vision Library" |
| 10 | HOMEPAGE = "http://opencv.org/" | 10 | HOMEPAGE = "http://opencv.org/" |
| @@ -16,60 +16,41 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
| 16 | ARM_INSTRUCTION_SET:armv4 = "arm" | 16 | ARM_INSTRUCTION_SET:armv4 = "arm" |
| 17 | ARM_INSTRUCTION_SET:armv5 = "arm" | 17 | ARM_INSTRUCTION_SET:armv5 = "arm" |
| 18 | 18 | ||
| 19 | DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" | 19 | DEPENDS = "bzip2 glib-2.0 libtool libwebp swig-native zlib" |
| 20 | 20 | ||
| 21 | SRCREV_opencv = "b0dc474160e389b9c9045da5db49d03ae17c6a6b" | 21 | SRCREV_opencv = "fe38fc608f6acb8b68953438a62305d8318f4fcd" |
| 22 | SRCREV_contrib = "7b77c355a8fdc97667b3fa1e7a0d37e4973fc868" | 22 | SRCREV_contrib = "d99ad2a188210cc35067c2e60076eed7c2442bc3" |
| 23 | SRCREV_ipp = "a56b6ac6f030c312b2dce17430eef13aed9af274" | ||
| 24 | SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" | 23 | SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" |
| 25 | SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" | 24 | SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" |
| 26 | SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" | 25 | SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" |
| 27 | SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" | 26 | SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" |
| 27 | SRCREV_fastcv = "9e8d42b6d7e769548d70b2e5674e263b056de8b4" | ||
| 28 | # kleidicv must match version of OpenCV | ||
| 29 | SRCREV_kleidicv = "1e8fe7008c2292657b9689d70ea5d30db0e57767" | ||
| 28 | 30 | ||
| 29 | def ipp_filename(d): | 31 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg_fastcv_kleidicv" |
| 30 | import re | 32 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ |
| 31 | arch = d.getVar('TARGET_ARCH') | 33 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV} \ |
| 32 | if re.match("i.86$", arch): | ||
| 33 | return "ippicv_2020_lnx_ia32_20191018_general.tgz" | ||
| 34 | else: | ||
| 35 | return "ippicv_2020_lnx_intel64_20191018_general.tgz" | ||
| 36 | |||
| 37 | def ipp_md5sum(d): | ||
| 38 | import re | ||
| 39 | arch = d.getVar('TARGET_ARCH') | ||
| 40 | if re.match("i.86$", arch): | ||
| 41 | return "ad189a940fb60eb71f291321322fe3e8" | ||
| 42 | else: | ||
| 43 | return "7421de0095c7a39162ae13a6098782f9" | ||
| 44 | |||
| 45 | IPP_FILENAME = "${@ipp_filename(d)}" | ||
| 46 | IPP_MD5 = "${@ipp_md5sum(d)}" | ||
| 47 | |||
| 48 | SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" | ||
| 49 | SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https \ | ||
| 50 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=master;protocol=https \ | ||
| 51 | git://github.com/opencv/opencv_3rdparty.git;branch=ippicv/master_20191018;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/ipp;name=ipp;protocol=https \ | ||
| 52 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ | 34 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ |
| 53 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ | 35 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ |
| 54 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ | 36 | git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ |
| 55 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ | 37 | git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ |
| 56 | file://0001-3rdparty-ippicv-Use-pre-downloaded-ipp.patch \ | 38 | git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250715;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/fastcv;name=fastcv;protocol=https \ |
| 57 | file://0003-To-fix-errors-as-following.patch \ | 39 | file://0003-To-fix-errors-as-following.patch \ |
| 58 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ | 40 | file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ |
| 59 | file://0001-Dont-use-isystem.patch \ | 41 | file://0001-Dont-use-isystem.patch \ |
| 60 | file://download.patch \ | 42 | file://download.patch \ |
| 61 | file://0001-Make-ts-module-external.patch \ | 43 | file://0001-Make-ts-module-external.patch \ |
| 62 | file://0001-Add-missing-header-for-LIBAVCODEC_VERSION_INT.patch \ | 44 | file://0008-Do-not-embed-build-directory-in-binaries.patch \ |
| 63 | file://fix-build-with-protobuf-v22.patch \ | ||
| 64 | " | 45 | " |
| 65 | SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" | 46 | SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" |
| 47 | SRC_URI:append:aarch64 = " git://gitlab.arm.com/kleidi/kleidicv;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/3rdparty/kleidicv;name=kleidicv;protocol=https" | ||
| 66 | 48 | ||
| 67 | # OpenCV wants to download more files during configure. We download these in | 49 | # OpenCV wants to download more files during configure. We download these in |
| 68 | # do_fetch and construct a source cache in the format it expects | 50 | # do_fetch and construct a source cache in the format it expects |
| 69 | OPENCV_DLDIR = "${UNPACKDIR}/downloads" | 51 | OPENCV_DLDIR = "${WORKDIR}/downloads" |
| 70 | 52 | ||
| 71 | do_unpack_extra() { | 53 | do_unpack_extra() { |
| 72 | tar xzf ${S}/ipp/ippicv/${IPP_FILENAME} -C ${S} | ||
| 73 | 54 | ||
| 74 | md5() { | 55 | md5() { |
| 75 | # Return the MD5 of $1 | 56 | # Return the MD5 of $1 |
| @@ -89,34 +70,36 @@ do_unpack_extra() { | |||
| 89 | cache data ${S}/face/*.dat | 70 | cache data ${S}/face/*.dat |
| 90 | cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel | 71 | cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel |
| 91 | cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt | 72 | cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt |
| 73 | cache fastcv ${S}/fastcv/fastcv/*.tgz | ||
| 92 | } | 74 | } |
| 93 | addtask unpack_extra after do_unpack before do_patch | 75 | addtask unpack_extra after do_unpack before do_patch |
| 94 | 76 | ||
| 95 | CMAKE_VERBOSE = "VERBOSE=1" | 77 | CMAKE_VERBOSE = "VERBOSE=1" |
| 96 | 78 | ||
| 97 | EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \ | 79 | EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \ |
| 98 | -DWITH_1394=OFF \ | 80 | -DWITH_1394=OFF \ |
| 99 | -DENABLE_PRECOMPILED_HEADERS=OFF \ | 81 | -DENABLE_PRECOMPILED_HEADERS=OFF \ |
| 100 | -DCMAKE_SKIP_RPATH=ON \ | 82 | -DCMAKE_SKIP_RPATH=ON \ |
| 101 | -DOPENCV_ICV_HASH=${IPP_MD5} \ | 83 | -DWITH_IPP=OFF \ |
| 102 | -DIPPROOT=${S}/ippicv_lnx \ | 84 | -DOPENCV_GENERATE_PKGCONFIG=ON \ |
| 103 | -DOPENCV_GENERATE_PKGCONFIG=ON \ | 85 | -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \ |
| 104 | -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \ | 86 | -DOPENCV_ALLOW_DOWNLOADS=OFF \ |
| 105 | -DOPENCV_ALLOW_DOWNLOADS=OFF \ | ||
| 106 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \ | 87 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \ |
| 107 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1", "", d)} \ | 88 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1", "", d)} \ |
| 108 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1 -DENABLE_SSE42=1", "", d)} \ | 89 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1 -DENABLE_SSE41=1 -DENABLE_SSE42=1", "", d)} \ |
| 109 | " | 90 | " |
| 91 | |||
| 110 | LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" | 92 | LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" |
| 111 | LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" | 93 | LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" |
| 112 | 94 | ||
| 113 | EXTRA_OECMAKE:append:x86 = " -DX86=ON" | 95 | EXTRA_OECMAKE:append:x86 = " -DX86=ON" |
| 114 | # disable sse4.1 and sse4.2 to fix 32bit build failure | 96 | # disable sse4.1 and sse4.2 to fix 32bit build failure |
| 115 | # https://github.com/opencv/opencv/issues/21597 | 97 | # https://github.com/opencv/opencv/issues/21597 |
| 116 | EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1" | 98 | EXTRA_OECMAKE:remove:x86 = "-DENABLE_SSE41=1 -DENABLE_SSE42=1" |
| 117 | 99 | ||
| 118 | PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ | 100 | PACKAGECONFIG ??= "python3 eigen jpeg png tiff v4l libv4l samples tbb \ |
| 119 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ | 101 | ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}" |
| 102 | PACKAGECONFIG:append:class-target = " gapi gstreamer gphoto2 \ | ||
| 120 | ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" | 103 | ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" |
| 121 | 104 | ||
| 122 | # TBB does not build for powerpc so disable that package config | 105 | # TBB does not build for powerpc so disable that package config |
| @@ -137,27 +120,24 @@ PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+3," | |||
| 137 | PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper," | 120 | PACKAGECONFIG[jasper] = "-DWITH_JASPER=ON,-DWITH_JASPER=OFF,jasper," |
| 138 | PACKAGECONFIG[java] = "-DJAVA_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native fastjar-native openjdk-8-native," | 121 | PACKAGECONFIG[java] = "-DJAVA_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native fastjar-native openjdk-8-native," |
| 139 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," | 122 | PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," |
| 140 | PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,libav," | 123 | PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,ffmpeg," |
| 141 | PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," | 124 | PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," |
| 142 | PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1," | 125 | PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1," |
| 126 | PACKAGECONFIG[openvino] = "-DWITH_OPENVINO=ON,-DWITH_OPENVINO=OFF,openvino-inference-engine,openvino-inference-engine" | ||
| 143 | PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," | 127 | PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," |
| 144 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," | 128 | PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," |
| 145 | PACKAGECONFIG[python2] = "-DPYTHON2_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include,,python-numpy," | 129 | PACKAGECONFIG[python3] = "-DPYTHON3_INCLUDE_PATH=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} -DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/_core/include,,python3-numpy," |
| 146 | PACKAGECONFIG[python3] = "-DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/_core/include,,python3-numpy," | 130 | PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_BIN_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,," |
| 147 | PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,," | ||
| 148 | PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb," | 131 | PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb," |
| 149 | PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF,," | 132 | PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON -DINSTALL_TESTS=ON,-DBUILD_TESTS=OFF,," |
| 150 | PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," | 133 | PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," |
| 151 | PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," | 134 | PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," |
| 152 | PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," | 135 | PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," |
| 136 | PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF,qcom-fastcv-binaries," | ||
| 153 | 137 | ||
| 154 | inherit pkgconfig cmake | 138 | inherit pkgconfig cmake setuptools3-base python3native |
| 155 | |||
| 156 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'setuptools3-base', '', d)} | ||
| 157 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'distutils-base', '', d)} | ||
| 158 | 139 | ||
| 159 | export PYTHON_CSPEC = "-I${STAGING_INCDIR}/${PYTHON_DIR}" | 140 | export PYTHON_CSPEC = "-I${STAGING_INCDIR}/${PYTHON_DIR}" |
| 160 | export PYTHON = "${STAGING_BINDIR_NATIVE}/${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3', 'python', d)}" | ||
| 161 | export ORACLE_JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/bin/java" | 141 | export ORACLE_JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/bin/java" |
| 162 | export JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native" | 142 | export JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native" |
| 163 | export ANT_DIR = "${STAGING_DIR_NATIVE}/usr/share/ant/" | 143 | export ANT_DIR = "${STAGING_DIR_NATIVE}/usr/share/ant/" |
| @@ -167,9 +147,8 @@ TARGET_CC_ARCH += "-I${S}/include " | |||
| 167 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'samples', '${PN}-samples', '', d)} \ | 147 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'samples', '${PN}-samples', '', d)} \ |
| 168 | ${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java', '', d)} \ | 148 | ${@bb.utils.contains('PACKAGECONFIG', 'oracle-java', '${PN}-java', '', d)} \ |
| 169 | ${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java', '', d)} \ | 149 | ${@bb.utils.contains('PACKAGECONFIG', 'java', '${PN}-java', '', d)} \ |
| 170 | ${@bb.utils.contains('PACKAGECONFIG', 'python2', 'python-${BPN}', '', d)} \ | ||
| 171 | ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)} \ | 150 | ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-${BPN}', '', d)} \ |
| 172 | ${PN}-apps" | 151 | ${PN}-apps" |
| 173 | 152 | ||
| 174 | python populate_packages:prepend () { | 153 | python populate_packages:prepend () { |
| 175 | cv_libdir = d.expand('${libdir}') | 154 | cv_libdir = d.expand('${libdir}') |
| @@ -191,12 +170,17 @@ python populate_packages:prepend () { | |||
| 191 | 170 | ||
| 192 | metapkg = pn | 171 | metapkg = pn |
| 193 | d.setVar('ALLOW_EMPTY:' + metapkg, "1") | 172 | d.setVar('ALLOW_EMPTY:' + metapkg, "1") |
| 194 | blacklist = [ metapkg, "libopencv-ts" ] | 173 | blacklist = [ metapkg ] |
| 195 | metapkg_rdepends = [ ] | 174 | metapkg_rdepends = [ ] |
| 196 | for pkg in packages[1:]: | 175 | for pkg in packages[1:]: |
| 197 | if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'): | 176 | if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'): |
| 198 | metapkg_rdepends.append(pkg) | 177 | metapkg_rdepends.append(pkg) |
| 199 | d.setVar('RDEPENDS:' + metapkg, ' '.join(metapkg_rdepends)) | 178 | d.setVar('RDEPENDS:' + metapkg, ' '.join(metapkg_rdepends)) |
| 179 | |||
| 180 | fastcv_pkgs = ["libopencv-core", "libopencv-fastcv", "libopencv-imgproc"] | ||
| 181 | if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d): | ||
| 182 | for pkg in fastcv_pkgs: | ||
| 183 | d.appendVar('RDEPENDS:' + pkg, " qcom-fastcv-binaries") | ||
| 200 | } | 184 | } |
| 201 | 185 | ||
| 202 | PACKAGES_DYNAMIC += "^libopencv-.*" | 186 | PACKAGES_DYNAMIC += "^libopencv-.*" |
| @@ -214,15 +198,11 @@ INSANE_SKIP:${PN}-dbg = "libdir" | |||
| 214 | 198 | ||
| 215 | ALLOW_EMPTY:${PN} = "1" | 199 | ALLOW_EMPTY:${PN} = "1" |
| 216 | 200 | ||
| 217 | SUMMARY:python-opencv = "Python bindings to opencv" | ||
| 218 | FILES:python-opencv = "${PYTHON_SITEPACKAGES_DIR}/*" | ||
| 219 | RDEPENDS:python-opencv = "python-core python-numpy" | ||
| 220 | |||
| 221 | SUMMARY:python3-opencv = "Python bindings to opencv" | 201 | SUMMARY:python3-opencv = "Python bindings to opencv" |
| 222 | FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*" | 202 | FILES:python3-opencv = "${PYTHON_SITEPACKAGES_DIR}/*" |
| 223 | RDEPENDS:python3-opencv = "python3-core python3-numpy" | 203 | RDEPENDS:python3-opencv = "python3-core python3-numpy" |
| 224 | 204 | ||
| 225 | RDEPENDS:${PN}-apps = "bash" | 205 | RDEPENDS:${PN}-apps = "bash" |
| 226 | 206 | ||
| 227 | do_compile:prepend() { | 207 | do_compile:prepend() { |
| 228 | # remove the build host info to improve reproducibility | 208 | # remove the build host info to improve reproducibility |
| @@ -237,81 +217,108 @@ do_install:append() { | |||
| 237 | mv ${D}/usr/lib/* ${D}/${libdir}/ | 217 | mv ${D}/usr/lib/* ${D}/${libdir}/ |
| 238 | rm -rf ${D}/usr/lib | 218 | rm -rf ${D}/usr/lib |
| 239 | fi | 219 | fi |
| 220 | # remove setup_vars_opencv4.sh as its content is confusing and useless | ||
| 221 | if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then | ||
| 222 | rm -rf ${D}${bindir}/setup_vars_opencv4.sh | ||
| 223 | fi | ||
| 224 | |||
| 225 | for fn in arithm.vsx3.cpp convert.vsx3.cpp; do | ||
| 226 | if [ -f ${B}/modules/core/$fn ]; then | ||
| 227 | sed -i -e 's,${S},/usr/src/debug/${PN}/${PV},g' ${B}/modules/core/$fn | ||
| 228 | fi | ||
| 229 | done | ||
| 230 | |||
| 231 | if [ -d ${D}/${bindir}/shape ]; then | ||
| 232 | # rename shape dir to avoid rootfs conflict with | ||
| 233 | # mesa-demos /usr/bin/shape file. | ||
| 234 | mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape | ||
| 235 | fi | ||
| 236 | } | ||
| 237 | |||
| 238 | do_install:append:class-target() { | ||
| 240 | # remove build host path to improve reproducibility | 239 | # remove build host path to improve reproducibility |
| 241 | if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then | 240 | if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then |
| 242 | sed -e 's@${STAGING_DIR_HOST}@@g' \ | 241 | sed -e 's@${STAGING_DIR_HOST}@@g' \ |
| 243 | -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake | 242 | -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake |
| 244 | fi | 243 | fi |
| 245 | # remove setup_vars_opencv4.sh as its content is confusing and useless | ||
| 246 | if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then | ||
| 247 | rm -rf ${D}${bindir}/setup_vars_opencv4.sh | ||
| 248 | fi | ||
| 249 | } | 244 | } |
| 250 | 245 | ||
| 246 | BBCLASSEXTEND = "native" | ||
| 247 | |||
| 251 | ########## End of meta-openembedded copy ########## | 248 | ########## End of meta-openembedded copy ########## |
| 252 | 249 | ||
| 253 | ########## i.MX overrides ########## | 250 | ########## i.MX overrides ########## |
| 254 | 251 | ||
| 255 | SUMMARY = "Opencv : The Open Computer Vision Library, i.MX Fork" | ||
| 256 | |||
| 257 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 252 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 258 | 253 | ||
| 259 | # Replace the opencv URL with the fork | 254 | # Need to override opencv and contrib URL because they include PV |
| 260 | SRC_URI:remove = "git://github.com/opencv/opencv.git;name=opencv;branch=master;protocol=https" | 255 | IMX_BASE_VERSION = "${@'.'.join((d.getVar('PV') or '').split('.')[:3])}" |
| 261 | SRC_URI =+ "${OPENCV_SRC};branch=${SRCBRANCH};name=opencv" | 256 | SRC_URI:remove = " \ |
| 262 | OPENCV_SRC ?= "git://github.com/nxp-imx/opencv-imx.git;protocol=https;branch=master" | 257 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ |
| 263 | SRCBRANCH = "4.6.0_imx" | 258 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV}" |
| 264 | SRCREV_opencv = "d3440df40a6e90cd1d2a1b729bcbc16aa4d42f5d" | 259 | SRC_URI:prepend = " \ |
| 260 | git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} \ | ||
| 261 | git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${IMX_BASE_VERSION} " | ||
| 265 | 262 | ||
| 266 | # Add opencv_extra | 263 | # i.MX patches |
| 267 | SRC_URI += " \ | 264 | SRC_URI += " \ |
| 268 | git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;branch=master;protocol=https \ | 265 | file://0101-MGS-6470-ccc-Modify-host-ptr-alignment-size-in-UMAT.patch \ |
| 266 | file://0102-MGS-6470-ccc-Add-configuration-parameter-to-force-en.patch \ | ||
| 267 | file://0103-MGS-6470-ccc-Change-configuration-to-enable-hostptr-.patch \ | ||
| 268 | file://0104-MGS-8011-ccc-Fix-the-problem-of-syntax-error-at-doub.patch \ | ||
| 269 | file://0105-MGS-8318-ccc-Fix-error-implicit-declaration-of-funct.patch \ | ||
| 270 | file://0106-core-opencl-fix-inplace-transpose-race-by-enforcing-.patch \ | ||
| 271 | file://0107-imgproc-perf-HoughLines-Fix-test-tolerance-and-compa.patch \ | ||
| 272 | file://0108-imgproc-perf-HoughLines-Fix-lower-bound-for-line-cou.patch \ | ||
| 273 | file://0109-core-ocl-fix-incorrect-results-for-in-place-flip-on-.patch \ | ||
| 274 | " | ||
| 275 | |||
| 276 | # Add opencv_extra | ||
| 277 | SRC_URI += "\ | ||
| 278 | git://github.com/opencv/opencv_extra.git;destsuffix=extra;name=extra;branch=4.x;protocol=https \ | ||
| 269 | file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=${UNPACKDIR}/extra \ | 279 | file://0001-Add-smaller-version-of-download_models.py.patch;patchdir=${UNPACKDIR}/extra \ |
| 270 | " | 280 | " |
| 271 | SRCREV_FORMAT:append = "_extra" | 281 | SRCREV_FORMAT:append = "_extra" |
| 272 | SRCREV_extra = "936854e2b666853d6d0732a8eabc2d699f4fa3d8" | 282 | SRCREV_extra = "b6db059e9b80072d80d009d2ab344f8606a8e964" |
| 273 | 283 | ||
| 274 | # Patch DNN example | 284 | # Patch DNN example |
| 275 | SRC_URI += " \ | 285 | SRC_URI += "\ |
| 276 | file://OpenCV_DNN_examples.patch \ | 286 | file://OpenCV_DNN_examples.patch \ |
| 277 | " | 287 | " |
| 278 | 288 | ||
| 279 | PACKAGECONFIG:remove = "eigen" | 289 | PACKAGECONFIG:remove = "eigen" |
| 280 | 290 | ||
| 281 | PACKAGECONFIG:append:mx8-nxp-bsp = " dnn text" | 291 | PACKAGECONFIG:append = " \ |
| 282 | PACKAGECONFIG:append:mx9-nxp-bsp = " dnn text" | 292 | dnn \ |
| 293 | text \ | ||
| 294 | ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt6-layer', 'qt6', '', d)} \ | ||
| 295 | ${PACKAGECONFIG_OPENCL} \ | ||
| 296 | " | ||
| 283 | 297 | ||
| 284 | PACKAGECONFIG:append = " ${PACKAGECONFIG_OPENCL}" | 298 | PACKAGECONFIG_OPENCL = "" |
| 285 | PACKAGECONFIG_OPENCL = "" | 299 | PACKAGECONFIG_OPENCL:imxgpu = "opencl" |
| 286 | PACKAGECONFIG_OPENCL:mx8-nxp-bsp = "opencl" | 300 | PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = "" |
| 287 | PACKAGECONFIG_OPENCL:mx8dxl-nxp-bsp = "" | ||
| 288 | PACKAGECONFIG_OPENCL:mx8mm-nxp-bsp = "" | ||
| 289 | PACKAGECONFIG_OPENCL:mx8mnul-nxp-bsp = "" | ||
| 290 | 301 | ||
| 291 | PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," | 302 | PACKAGECONFIG[openvx] = "-DWITH_OPENVX=ON -DOPENVX_ROOT=${STAGING_LIBDIR} -DOPENVX_LIB_CANDIDATES='OpenVX;OpenVXU',-DWITH_OPENVX=OFF,virtual/libopenvx," |
| 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," | 303 | 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," |
| 293 | PACKAGECONFIG[qt6] = "-DWITH_QT=ON -DQT_HOST_PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native},-DWITH_QT=OFF,qtbase qtbase-native," | 304 | PACKAGECONFIG[qt6] = "-DWITH_QT=ON -DQT_HOST_PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native},-DWITH_QT=OFF,qtbase qtbase-native qt5compat," |
| 294 | PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${UNPACKDIR}/extra/testdata, -DINSTALL_TESTS=OFF," | 305 | PACKAGECONFIG[tests-imx] = "-DINSTALL_TESTS=ON -DOPENCV_TEST_DATA_PATH=${UNPACKDIR}/extra/testdata, -DINSTALL_TESTS=OFF," |
| 295 | PACKAGECONFIG[tim-vx] = "-DWITH_TIMVX=ON -DTIMVX_INSTALL_DIR=${STAGING_DIR_HOST}${libdir},-DWITH_TIMVX=OFF,tim-vx" | 306 | PACKAGECONFIG[tim-vx] = "-DWITH_TIMVX=ON -DTIMVX_INSTALL_DIR=${STAGING_DIR_HOST}${libdir},-DWITH_TIMVX=OFF,tim-vx" |
| 296 | 307 | ||
| 297 | # Disable cvv module in opencv_contrib as it is not yet suppported for Qt6 | ||
| 298 | # (opencv debug framework) | ||
| 299 | EXTRA_OECMAKE:append = " -DBUILD_opencv_cvv=OFF" | ||
| 300 | |||
| 301 | do_install:append() { | 308 | do_install:append() { |
| 302 | ln -sf opencv4/opencv2 ${D}${includedir}/opencv2 | 309 | ln -sf opencv4/opencv2 ${D}${includedir}/opencv2 |
| 303 | if ${@bb.utils.contains('PACKAGECONFIG', 'samples', 'true', 'false', d)}; then | 310 | install -d ${D}${datadir}/opencv4/samples/data |
| 304 | install -d ${D}${datadir}/OpenCV/samples/data | 311 | cp -r ${S}/samples/data/* ${D}${datadir}/opencv4/samples/data |
| 305 | cp -r ${S}/samples/data/* ${D}${datadir}/OpenCV/samples/data | 312 | install -d ${D}${datadir}/opencv4/samples/bin/ |
| 306 | install -d ${D}${datadir}/OpenCV/samples/bin/ | 313 | cp -f bin/example_* ${D}${datadir}/opencv4/samples/bin/ |
| 307 | cp -f bin/example_* ${D}${datadir}/OpenCV/samples/bin/ | ||
| 308 | fi | ||
| 309 | if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then | 314 | if ${@bb.utils.contains('PACKAGECONFIG', 'tests-imx', 'true', 'false', d)}; then |
| 310 | cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/ | 315 | cp -r share/opencv4/testdata/cv/face/* ${D}${datadir}/opencv4/testdata/cv/face/ |
| 311 | fi | 316 | fi |
| 317 | # Rename cpp folder to avoid collision with GCC /usr/bin/cpp. | ||
| 318 | mv ${D}${bindir}/cpp ${D}${bindir}/opencv_cpp | ||
| 312 | } | 319 | } |
| 313 | 320 | ||
| 314 | FILES:${PN}-samples += "${datadir}/OpenCV/samples" | 321 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 315 | 322 | ||
| 316 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" | 323 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp|mx9-nxp-bsp)" |
| 317 | 324 | ||
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc index 1f63cd7a0..10628e782 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |||
| @@ -9,19 +9,19 @@ python __anonymous () { | |||
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | SRC_URI:append:imxgpu2d = " \ | 11 | SRC_URI:append:imxgpu2d = " \ |
| 12 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ | 12 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ |
| 13 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ | 13 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ |
| 14 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ | 14 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ |
| 15 | file://0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch \ | 15 | file://0001-config.tests-add-DEFINES-to-compile-egl-test-with-im.patch \ |
| 16 | file://0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch \ | 16 | file://0002-config.tests-add-DEFINES-to-compile-egl4gles1-test-w.patch \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" | 19 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" |
| 20 | QT_GLFLAGS:imxgpu2d = "-opengl es2 -openvg" | 20 | QT_GLFLAGS:imxgpu2d = "-opengl es2 -openvg" |
| 21 | QT_CONFIG_FLAGS:append:imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \ | 21 | QT_CONFIG_FLAGS:append:imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \ |
| 22 | -I${STAGING_KERNEL_DIR}/include/ \ | 22 | -I${STAGING_KERNEL_DIR}/include/ \ |
| 23 | -DLINUX=1 -DEGL_API_FB=1 \ | 23 | -DLINUX=1 -DEGL_API_FB=1 \ |
| 24 | -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" | 24 | -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" |
| 25 | 25 | ||
| 26 | # The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx | 26 | # The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx |
| 27 | do_compile:append:mx6-nxp-bsp () { | 27 | do_compile:append:mx6-nxp-bsp () { |
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend index e450e568e..885c65b08 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | |||
| @@ -10,30 +10,30 @@ SRC_URI:append:imxgpu = " \ | |||
| 10 | file://0001-egl.prf-Fix-build-error-when-egl-headers-need-platfo.patch \ | 10 | file://0001-egl.prf-Fix-build-error-when-egl-headers-need-platfo.patch \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | PACKAGECONFIG_GL_IMX_GPU = "" | 13 | PACKAGECONFIG_GL_IMX_GPU = "" |
| 14 | PACKAGECONFIG_GL_IMX_GPU:mx8-nxp-bsp = "gbm kms" | 14 | PACKAGECONFIG_GL_IMX_GPU:mx8-nxp-bsp = "gbm kms" |
| 15 | PACKAGECONFIG_GL_IMX_GPU:mx95-nxp-bsp = "gbm kms" | 15 | PACKAGECONFIG_GL_IMX_GPU:mx95-nxp-bsp = "gbm kms" |
| 16 | 16 | ||
| 17 | PACKAGECONFIG_GL:imxpxp = "gles2" | 17 | PACKAGECONFIG_GL:imxpxp = "gles2" |
| 18 | PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ | 18 | PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ |
| 19 | ${PACKAGECONFIG_GL_IMX_GPU}" | 19 | ${PACKAGECONFIG_GL_IMX_GPU}" |
| 20 | PACKAGECONFIG_GL:imxgpu3d = "gles2 \ | 20 | PACKAGECONFIG_GL:imxgpu3d = "gles2 \ |
| 21 | ${PACKAGECONFIG_GL_IMX_GPU}" | 21 | ${PACKAGECONFIG_GL_IMX_GPU}" |
| 22 | PACKAGECONFIG_GL:use-mainline-bsp ?= "gles2 gbm kms" | 22 | PACKAGECONFIG_GL:use-mainline-bsp ?= "gles2 gbm kms" |
| 23 | 23 | ||
| 24 | PACKAGECONFIG_PLATFORM = "" | 24 | PACKAGECONFIG_PLATFORM = "" |
| 25 | PACKAGECONFIG_PLATFORM:imxgpu2d = "no-opengl linuxfb" | 25 | PACKAGECONFIG_PLATFORM:imxgpu2d = "no-opengl linuxfb" |
| 26 | PACKAGECONFIG_PLATFORM:imxgpu3d = " \ | 26 | PACKAGECONFIG_PLATFORM:imxgpu3d = "\ |
| 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ |
| 28 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 28 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
| 29 | 'eglfs', d), d)}" | 29 | 'eglfs', d), d)}" |
| 30 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" | 30 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" |
| 31 | PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}" | 31 | PACKAGECONFIG += "${PACKAGECONFIG_PLATFORM}" |
| 32 | 32 | ||
| 33 | PACKAGECONFIG_VULKAN_IMX_GPU = "" | 33 | PACKAGECONFIG_VULKAN_IMX_GPU = "" |
| 34 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" | 34 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" |
| 35 | PACKAGECONFIG_VULKAN_IMX_GPU:mx9-nxp-bsp = "vulkan" | 35 | PACKAGECONFIG_VULKAN_IMX_GPU:mx9-nxp-bsp = "vulkan" |
| 36 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" | 36 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" |
| 37 | PACKAGECONFIG_VULKAN = "" | 37 | PACKAGECONFIG_VULKAN = "" |
| 38 | PACKAGECONFIG_VULKAN:imxgpu = "${PACKAGECONFIG_VULKAN_IMX_GPU}" | 38 | PACKAGECONFIG_VULKAN:imxgpu = "${PACKAGECONFIG_VULKAN_IMX_GPU}" |
| 39 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" | 39 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" |
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend index f019c72da..e01bcf525 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtmultimedia_%.bbappend | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | # Fixes QT5 application builds searching for libimx6vivantevideonode.so | 1 | # Fixes QT5 application builds searching for libimx6vivantevideonode.so |
| 2 | # via cmake cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake | 2 | # via cmake cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake |
| 3 | do_install:append:imxgpu() { | 3 | do_install:append:imxgpu() { |
| 4 | install -d ${D}${libdir}/plugins/videoimx6vivantevideonode | 4 | install -d ${D}${libdir}/plugins/videoimx6vivantevideonode |
| 5 | ln -sf ../video/videonode/libeglvideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libeglvideonode.so | 5 | ln -sf ../video/videonode/libeglvideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libeglvideonode.so |
| 6 | ln -sf ../video/videonode/libimx6vivantevideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libimx6vivantevideonode.so | 6 | ln -sf ../video/videonode/libimx6vivantevideonode.so ${D}${libdir}/plugins/videoimx6vivantevideonode/libimx6vivantevideonode.so |
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | INSANE_SKIP:${PN}-plugins:imxgpu = "dev-so" | 9 | INSANE_SKIP:${PN}-plugins:imxgpu = "dev-so" |
diff --git a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend index b12499666..f77bc14c2 100644 --- a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend +++ b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend | |||
| @@ -3,55 +3,55 @@ | |||
| 3 | # Copyright (C) 2016, 2017 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2016, 2017 O.S. Systems Software LTDA. |
| 4 | # Copyright (C) 2017-2018 NXP | 4 | # Copyright (C) 2017-2018 NXP |
| 5 | 5 | ||
| 6 | PACKAGECONFIG_GRAPHICS:imxpxp = " \ | 6 | PACKAGECONFIG_GRAPHICS:imxpxp = "\ |
| 7 | gles2" | 7 | gles2" |
| 8 | PACKAGECONFIG_GRAPHICS:imxgpu2d = " \ | 8 | PACKAGECONFIG_GRAPHICS:imxgpu2d = "\ |
| 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ | 9 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' gl', '', d)} \ |
| 10 | ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" | 10 | ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" |
| 11 | PACKAGECONFIG_GRAPHICS:imxgpu3d = " \ | 11 | PACKAGECONFIG_GRAPHICS:imxgpu3d = "\ |
| 12 | gles2 \ | 12 | gles2 \ |
| 13 | ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" | 13 | ${PACKAGECONFIG_GRAPHICS_IMX_GPU}" |
| 14 | PACKAGECONFIG_GRAPHICS_IMX_GPU = "" | 14 | PACKAGECONFIG_GRAPHICS_IMX_GPU = "" |
| 15 | PACKAGECONFIG_GRAPHICS_IMX_GPU:mx8-nxp-bsp = " \ | 15 | PACKAGECONFIG_GRAPHICS_IMX_GPU:mx8-nxp-bsp = "\ |
| 16 | gbm kms" | 16 | gbm kms" |
| 17 | PACKAGECONFIG_GRAPHICS_IMX_GPU:mx95-nxp-bsp = " \ | 17 | PACKAGECONFIG_GRAPHICS_IMX_GPU:mx95-nxp-bsp = "\ |
| 18 | gbm kms" | 18 | gbm kms" |
| 19 | 19 | ||
| 20 | PACKAGECONFIG_GRAPHICS:use-mainline-bsp ?= " \ | 20 | PACKAGECONFIG_GRAPHICS:use-mainline-bsp ?= "\ |
| 21 | gles2 gbm kms" | 21 | gles2 gbm kms" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG += " \ | 23 | PACKAGECONFIG += "\ |
| 24 | ${PACKAGECONFIG_PLATFORM}" | 24 | ${PACKAGECONFIG_PLATFORM}" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG_PLATFORM = "" | 26 | PACKAGECONFIG_PLATFORM = "" |
| 27 | PACKAGECONFIG_PLATFORM:imxgpu2d = " \ | 27 | PACKAGECONFIG_PLATFORM:imxgpu2d = "\ |
| 28 | no-opengl \ | 28 | no-opengl \ |
| 29 | linuxfb \ | 29 | linuxfb \ |
| 30 | ${PACKAGECONFIG_PLATFORM_EGLFS}" | 30 | ${PACKAGECONFIG_PLATFORM_EGLFS}" |
| 31 | PACKAGECONFIG_PLATFORM:imxgpu3d = " \ | 31 | PACKAGECONFIG_PLATFORM:imxgpu3d = "\ |
| 32 | ${PACKAGECONFIG_PLATFORM_EGLFS}" | 32 | ${PACKAGECONFIG_PLATFORM_EGLFS}" |
| 33 | 33 | ||
| 34 | PACKAGECONFIG_PLATFORM_EGLFS = "" | 34 | PACKAGECONFIG_PLATFORM_EGLFS = "" |
| 35 | PACKAGECONFIG_PLATFORM_EGLFS:imxgpu3d = " \ | 35 | PACKAGECONFIG_PLATFORM_EGLFS:imxgpu3d = "\ |
| 36 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | 36 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ |
| 37 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 37 | bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
| 38 | 'eglfs', d), d)}" | 38 | 'eglfs', d), d)}" |
| 39 | PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = " \ | 39 | PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = "\ |
| 40 | eglfs" | 40 | eglfs" |
| 41 | 41 | ||
| 42 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = " \ | 42 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = "\ |
| 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" | 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" |
| 44 | 44 | ||
| 45 | PACKAGECONFIG += " \ | 45 | PACKAGECONFIG += "\ |
| 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}" | 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}" |
| 47 | PACKAGECONFIG_WAYLAND = "wayland" | 47 | PACKAGECONFIG_WAYLAND = "wayland" |
| 48 | 48 | ||
| 49 | PACKAGECONFIG += " \ | 49 | PACKAGECONFIG += "\ |
| 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" | 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}" |
| 51 | PACKAGECONFIG_VULKAN = "" | 51 | PACKAGECONFIG_VULKAN = "" |
| 52 | PACKAGECONFIG_VULKAN:imxgpu = " \ | 52 | PACKAGECONFIG_VULKAN:imxgpu = "\ |
| 53 | ${PACKAGECONFIG_VULKAN_IMX_GPU}" | 53 | ${PACKAGECONFIG_VULKAN_IMX_GPU}" |
| 54 | PACKAGECONFIG_VULKAN_IMX_GPU = "" | 54 | PACKAGECONFIG_VULKAN_IMX_GPU = "" |
| 55 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" | 55 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8-nxp-bsp = "vulkan" |
| 56 | PACKAGECONFIG_VULKAN_IMX_GPU:mx95-nxp-bsp = "vulkan" | 56 | PACKAGECONFIG_VULKAN_IMX_GPU:mx95-nxp-bsp = "vulkan" |
| 57 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" | 57 | PACKAGECONFIG_VULKAN_IMX_GPU:mx8mm-nxp-bsp = "" |
diff --git a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend index 7cb6c07a3..981a57f46 100644 --- a/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend +++ b/dynamic-layers/virtualization-layer/recipes-extended/libvirt/libvirt_%.bbappend | |||
| @@ -4,6 +4,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | |||
| 4 | SRC_URI:append:qoriq-ppc = " file://qemu.conf" | 4 | SRC_URI:append:qoriq-ppc = " file://qemu.conf" |
| 5 | 5 | ||
| 6 | do_install:append:qoriq-ppc() { | 6 | do_install:append:qoriq-ppc() { |
| 7 | install -m 0644 ${UNPACKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf | 7 | install -m 0644 ${UNPACKDIR}/qemu.conf ${D}${sysconfdir}/libvirt/qemu.conf |
| 8 | } | 8 | } |
| 9 | 9 | ||
diff --git a/oelint.constants.json b/oelint.constants.json new file mode 100644 index 000000000..1379f4eff --- /dev/null +++ b/oelint.constants.json | |||
| @@ -0,0 +1,295 @@ | |||
| 1 | { | ||
| 2 | "comment": "Layer-specific oelint-adv constant DB. contrib/oelint/run-oelint.sh passes this file via --constantmods so standalone lint runs know about real variables/overrides that normally come from the full bitbake metadata context.", | ||
| 3 | "functions": { | ||
| 4 | "known": [ | ||
| 5 | "do_image_uboot_mxsboot_nand", | ||
| 6 | "do_image_uboot_mxsboot_sdcard", | ||
| 7 | "do_image_wic", | ||
| 8 | "module_conf_moal" | ||
| 9 | ] | ||
| 10 | }, | ||
| 11 | "variables": { | ||
| 12 | "known": [ | ||
| 13 | "ACCEPT_FSL_EULA", | ||
| 14 | "ALSA_INSTALL", | ||
| 15 | "ANNOTATED_NAME", | ||
| 16 | "ANT_DIR", | ||
| 17 | "ARM_EXTRA_SOCARCH", | ||
| 18 | "ARM_INSTRUCTION_SET", | ||
| 19 | "ARM_PIPELINES", | ||
| 20 | "ATF_BOOT_UART_BASE", | ||
| 21 | "ATF_BRANCH", | ||
| 22 | "ATF_MACHINE_NAME", | ||
| 23 | "ATF_PLATFORM", | ||
| 24 | "ATF_SRC", | ||
| 25 | "BACKEND", | ||
| 26 | "BASEDEPENDS", | ||
| 27 | "BEEP_RDEPENDS", | ||
| 28 | "BHOST_PKGCONFIG_PATH", | ||
| 29 | "BL32", | ||
| 30 | "BL33", | ||
| 31 | "BOARDS", | ||
| 32 | "BOARD_TARGETS", | ||
| 33 | "BOARD_TYPE", | ||
| 34 | "BOOTTYPE", | ||
| 35 | "BOOT_CONFIG_MACHINE_EXTRA", | ||
| 36 | "BOOT_MODE", | ||
| 37 | "BOOT_SPACE", | ||
| 38 | "BOOT_STAGING", | ||
| 39 | "BOOT_TOOLS", | ||
| 40 | "BOOT_VARIANT", | ||
| 41 | "BUILD_64BIT_KERNEL", | ||
| 42 | "BUILD_IMPLEMENTATION", | ||
| 43 | "CACHED_DMA_HEAP_CONF", | ||
| 44 | "CACHED_DMA_HEAP_DEVICE_NODE_PATH", | ||
| 45 | "CELLCONF_DIR", | ||
| 46 | "CELL_DIR", | ||
| 47 | "CFG_CORE_ARM64_PA_BITS", | ||
| 48 | "CFG_CORE_LARGE_PHYS_ADDR", | ||
| 49 | "CFG_CORE_PAUTH", | ||
| 50 | "CFG_DDR_SIZE", | ||
| 51 | "CFG_NXP_CAAM", | ||
| 52 | "CFG_TA_BTI", | ||
| 53 | "CFG_TA_PAUTH", | ||
| 54 | "CFG_TEE_CORE_LOG_LEVEL", | ||
| 55 | "CFG_TEE_TA_LOG_LEVEL", | ||
| 56 | "CFG_TZDRAM_START", | ||
| 57 | "COMPILER", | ||
| 58 | "CONFIG_CMD_LICENSE", | ||
| 59 | "CONFIG_CPU_BIG_ENDIAN", | ||
| 60 | "CONFIG_LOCALVERSION", | ||
| 61 | "CONFIG_LOCALVERSION_AUTO", | ||
| 62 | "CONFIG_MTD_CFI_BE_BYTE_SWAP", | ||
| 63 | "CONFIG_MX28", | ||
| 64 | "CONFIG_MXC_GPU_VIV", | ||
| 65 | "CROSS_COMPILE64", | ||
| 66 | "CROSS_COMPILE_HOST", | ||
| 67 | "CROSS_COMPILE_TA", | ||
| 68 | "CRRM_DEPLOY_DEPENDS", | ||
| 69 | "CRRM_FILES", | ||
| 70 | "CRYPTO_AF_ALG_SRC", | ||
| 71 | "CST_DIR", | ||
| 72 | "CTRLSW_HDRPATH", | ||
| 73 | "CVE_STATUS", | ||
| 74 | "DDR_CONFIG", | ||
| 75 | "DDR_TYPE", | ||
| 76 | "DEBIAN_NOAUTONAME", | ||
| 77 | "DEFAULT_FS_SUPPORT", | ||
| 78 | "DEMOS_PATH", | ||
| 79 | "DEPENDS_BACKEND", | ||
| 80 | "DEPENDS_IMXGPU", | ||
| 81 | "DEPENDS_IMX_OPENCL_CONVERTER", | ||
| 82 | "DEPENDS_MX8", | ||
| 83 | "DEPENDS_V4L2", | ||
| 84 | "DEPLOY_FOR", | ||
| 85 | "DEPLOY_OPTEE", | ||
| 86 | "DEPLOY_OPTEE_STMM", | ||
| 87 | "DEST", | ||
| 88 | "DEST_DIR", | ||
| 89 | "DIRPATCHVULKAN", | ||
| 90 | "DISABLE_STATIC", | ||
| 91 | "DPAA_VER", | ||
| 92 | "DPDK_APPS", | ||
| 93 | "DPDK_EXAMPLES", | ||
| 94 | "DPDK_SRC", | ||
| 95 | "DTB", | ||
| 96 | "DTB_BASE_NAME", | ||
| 97 | "DTB_EXT", | ||
| 98 | "DTB_NAME", | ||
| 99 | "DTB_SYMLINK_NAME", | ||
| 100 | "ENDIANNESS_GCC", | ||
| 101 | "ENDIANNESS_LD", | ||
| 102 | "ETHOS_U_FIRMWARE", | ||
| 103 | "ETHOS_U_FIRMWARE_SRC", | ||
| 104 | "ETHOS_U_SRC", | ||
| 105 | "EXTENSIONS", | ||
| 106 | "EXTRA_CONF", | ||
| 107 | "EXTRA_KBUILD_DEFCONFIG", | ||
| 108 | "EXTRA_OEMAKE_PLATFORM", | ||
| 109 | "FEATURE_PACKAGES_extfs", | ||
| 110 | "FEATURE_PACKAGES_f2fs", | ||
| 111 | "FEATURE_PACKAGES_mtd", | ||
| 112 | "FSL_EULA_FILE_MD5SUMS", | ||
| 113 | "GLIBC_64BIT_TIME_FLAGS", | ||
| 114 | "GSTREAMER_GPL", | ||
| 115 | "GST_PLUGIN_SET_HAS_EXAMPLES", | ||
| 116 | "GST_WAYLAND_PACKAGES", | ||
| 117 | "GST_X11_PACKAGES", | ||
| 118 | "KBUILD_DEFCONFIG", | ||
| 119 | "KCONFIG_MODE", | ||
| 120 | "KERNEL_DEVICETREE_32BIT_COMPATIBILITY_UPDATE", | ||
| 121 | "LE_UBOOT_FOR_ARMBE_TARGET", | ||
| 122 | "LICENSE_FLAGS", | ||
| 123 | "MC_FLAVOUR", | ||
| 124 | "MFGTOOL_FILESPATH", | ||
| 125 | "NETWORK_TOOLS", | ||
| 126 | "ODP_BUILD_TYPE", | ||
| 127 | "OEI_CORE", | ||
| 128 | "OEI_DDR_CONFIG", | ||
| 129 | "OEI_SOC", | ||
| 130 | "OPENGL_APIS", | ||
| 131 | "OPENGL_PKGCONFIGS", | ||
| 132 | "OPENGL_PLATFORMS", | ||
| 133 | "OPENGL_WINSYS", | ||
| 134 | "OPTEE_ARCH", | ||
| 135 | "OPTEE_CORE", | ||
| 136 | "OPTEEMACHINE", | ||
| 137 | "PACKAGECONFIG_GL", | ||
| 138 | "PACKAGECONFIG_GRAPHICS", | ||
| 139 | "PACKAGECONFIG_IMXGPU_X11", | ||
| 140 | "PACKAGECONFIG_OPENGL", | ||
| 141 | "PACKAGE_FP_TYPE", | ||
| 142 | "PKG", | ||
| 143 | "PLATFORM_FLAVOR", | ||
| 144 | "QEMU_TARGETS", | ||
| 145 | "QT_CONFIG_FLAGS", | ||
| 146 | "QT_GLFLAGS", | ||
| 147 | "REGLEX_b4420", | ||
| 148 | "SCR", | ||
| 149 | "SECO_FIRMWARE_NAME", | ||
| 150 | "SOC_DEFAULT_IMAGE_FSTYPES", | ||
| 151 | "SOC_TOOLS_GPU_FB", | ||
| 152 | "SOC_TOOLS_GPU_WAYLAND", | ||
| 153 | "SOC_TOOLS_GPU_X11", | ||
| 154 | "SOC_TOOLS_GPU_XWAYLAND", | ||
| 155 | "SRCREV_FORMAT:append", | ||
| 156 | "STAGING_INCDIR_IMX", | ||
| 157 | "TA_DEV_KIT_DIR", | ||
| 158 | "TFA_BUILD_TARGET", | ||
| 159 | "TFA_INSTALL_TARGET", | ||
| 160 | "TFA_PLATFORM", | ||
| 161 | "WRAP_TARGET_PREFIX", | ||
| 162 | "ZIMAGE_BASE_NAME" | ||
| 163 | ] | ||
| 164 | }, | ||
| 165 | "replacements": { | ||
| 166 | "distros": [ | ||
| 167 | "imx-nxp-bsp", | ||
| 168 | "use-mainline-bsp", | ||
| 169 | "use-nxp-bsp" | ||
| 170 | ], | ||
| 171 | "machines": [ | ||
| 172 | "arm", | ||
| 173 | "darwin", | ||
| 174 | "e500mc", | ||
| 175 | "e500v2", | ||
| 176 | "e5500", | ||
| 177 | "e6500", | ||
| 178 | "e6500-64b", | ||
| 179 | "fsl-lsch2", | ||
| 180 | "fsl-lsch3", | ||
| 181 | "genericarm64", | ||
| 182 | "imx-generic-bsp", | ||
| 183 | "imx-mainline-bsp", | ||
| 184 | "imx-nxp-bsp", | ||
| 185 | "imx6qpdlsolox", | ||
| 186 | "imx8dxlb0-fips-lpddr4-evk", | ||
| 187 | "imx95-19x19-lpddr5-frdm-pro", | ||
| 188 | "imx95-a1-19x19-verdin", | ||
| 189 | "imxdpu", | ||
| 190 | "imxdrm", | ||
| 191 | "imxfbdev", | ||
| 192 | "imxgpu", | ||
| 193 | "imxgpu2d", | ||
| 194 | "imxgpu3d", | ||
| 195 | "imxipu", | ||
| 196 | "imxmali", | ||
| 197 | "imxpxp", | ||
| 198 | "imxviv", | ||
| 199 | "imxvpu", | ||
| 200 | "imxvulkan", | ||
| 201 | "ls1012a", | ||
| 202 | "ls102xa", | ||
| 203 | "ls1043a", | ||
| 204 | "ls1046a", | ||
| 205 | "ls1088a", | ||
| 206 | "ls2080a", | ||
| 207 | "ls2088a", | ||
| 208 | "lx2160a", | ||
| 209 | "lx2160ardb-rev2", | ||
| 210 | "lx2162a", | ||
| 211 | "mingw32", | ||
| 212 | "mx5-generic-bsp", | ||
| 213 | "mx5-mainline-bsp", | ||
| 214 | "mx6-generic-bsp", | ||
| 215 | "mx6-mainline-bsp", | ||
| 216 | "mx6-nxp-bsp", | ||
| 217 | "mx6dl-nxp-bsp", | ||
| 218 | "mx6q-nxp-bsp", | ||
| 219 | "mx6sl-nxp-bsp", | ||
| 220 | "mx6sll-nxp-bsp", | ||
| 221 | "mx6sx-nxp-bsp", | ||
| 222 | "mx6ull-generic-bsp", | ||
| 223 | "mx6ull-nxp-bsp", | ||
| 224 | "mx6ul-nxp-bsp", | ||
| 225 | "mx6ulz-generic-bsp", | ||
| 226 | "mx6ulz-nxp-bsp", | ||
| 227 | "mx7-generic-bsp", | ||
| 228 | "mx7-mainline-bsp", | ||
| 229 | "mx7-nxp-bsp", | ||
| 230 | "mx7d-nxp-bsp", | ||
| 231 | "mx7ulp-nxp-bsp", | ||
| 232 | "mx8-generic-bsp", | ||
| 233 | "mx8-mainline-bsp", | ||
| 234 | "mx8-nxp-bsp", | ||
| 235 | "mx8dx-generic-bsp", | ||
| 236 | "mx8dx-nxp-bsp", | ||
| 237 | "mx8dxl-generic-bsp", | ||
| 238 | "mx8dxl-nxp-bsp", | ||
| 239 | "mx8m-generic-bsp", | ||
| 240 | "mx8m-nxp-bsp", | ||
| 241 | "mx8mn-nxp-bsp", | ||
| 242 | "mx8mnul-nxp-bsp", | ||
| 243 | "mx8mm-nxp-bsp", | ||
| 244 | "mx8mp-nxp-bsp", | ||
| 245 | "mx8mpul-nxp-bsp", | ||
| 246 | "mx8mq-evk", | ||
| 247 | "mx8mq-generic-bsp", | ||
| 248 | "mx8mq-nxp-bsp", | ||
| 249 | "mx8qm-generic-bsp", | ||
| 250 | "mx8qm-nxp-bsp", | ||
| 251 | "mx8qxp-generic-bsp", | ||
| 252 | "mx8qxp-nxp-bsp", | ||
| 253 | "mx8ulp-generic-bsp", | ||
| 254 | "mx8ulp-nxp-bsp", | ||
| 255 | "mx8x-generic-bsp", | ||
| 256 | "mx8x-nxp-bsp", | ||
| 257 | "mx9-generic-bsp", | ||
| 258 | "mx9-mainline-bsp", | ||
| 259 | "mx9-nxp-bsp", | ||
| 260 | "mx91-generic-bsp", | ||
| 261 | "mx91-nxp-bsp", | ||
| 262 | "mx93-generic-bsp", | ||
| 263 | "mx93-nxp-bsp", | ||
| 264 | "mx943-generic-bsp", | ||
| 265 | "mx943-nxp-bsp", | ||
| 266 | "mx94-generic-bsp", | ||
| 267 | "mx94-nxp-bsp", | ||
| 268 | "mx95-generic-bsp", | ||
| 269 | "mx95-nxp-bsp", | ||
| 270 | "mx952-nxp-bsp", | ||
| 271 | "mxs-generic-bsp", | ||
| 272 | "p1020", | ||
| 273 | "p2020", | ||
| 274 | "p2041", | ||
| 275 | "p3041", | ||
| 276 | "p4080", | ||
| 277 | "p5040", | ||
| 278 | "qoriq", | ||
| 279 | "qoriq-arm", | ||
| 280 | "qoriq-arm64", | ||
| 281 | "qoriq-generic-bsp", | ||
| 282 | "qoriq-ppc", | ||
| 283 | "t1", | ||
| 284 | "t1023", | ||
| 285 | "t1024", | ||
| 286 | "t1040", | ||
| 287 | "t1042", | ||
| 288 | "t4160", | ||
| 289 | "toolchain-clang", | ||
| 290 | "vf-generic-bsp", | ||
| 291 | "virtclass-multilib-lib32", | ||
| 292 | "virtclass-multilib-lib64" | ||
| 293 | ] | ||
| 294 | } | ||
| 295 | } | ||
diff --git a/recipes-bsp/atf/qoriq-atf-2.12.inc b/recipes-bsp/atf/qoriq-atf-2.12.inc index 26d79b4a1..91a412547 100644 --- a/recipes-bsp/atf/qoriq-atf-2.12.inc +++ b/recipes-bsp/atf/qoriq-atf-2.12.inc | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | DESCRIPTION = "ARM Trusted Firmware" | 1 | SUMMARY = "ARM Trusted Firmware for QorIQ" |
| 2 | DESCRIPTION = "ARM Trusted Firmware (TF-A) for NXP QorIQ Layerscape SoCs." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/atf" | ||
| 2 | 4 | ||
| 5 | SECTION = "bsp" | ||
| 3 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 7 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
| 5 | 8 | ||
diff --git a/recipes-bsp/atf/qoriq-atf_2.12.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb index 4eb7be9d3..c6a7ee252 100644 --- a/recipes-bsp/atf/qoriq-atf_2.12.bb +++ b/recipes-bsp/atf/qoriq-atf_2.12.bb | |||
| @@ -2,13 +2,13 @@ require qoriq-atf-${PV}.inc | |||
| 2 | 2 | ||
| 3 | inherit deploy | 3 | inherit deploy |
| 4 | 4 | ||
| 5 | DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native rcw qoriq-cst-native bc-native" | 5 | DEPENDS += "bc-native openssl openssl-native qoriq-cst-native rcw u-boot u-boot-mkimage-native" |
| 6 | do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" | 6 | do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" |
| 7 | 7 | ||
| 8 | PV:append = "+${SRCPV}" | 8 | PV:append = "+${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ | 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ |
| 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ | 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ |
| 12 | " | 12 | " |
| 13 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" | 13 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" |
| 14 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 14 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| @@ -68,7 +68,7 @@ EXTRA_OEMAKE += "\ | |||
| 68 | ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \ | 68 | ${@bb.utils.contains('DISTRO_FEATURES', 'fuse', 'fip_fuse FUSE_PROG=1 FUSE_PROV_FILE=fuse_scr.bin', '', d)} \ |
| 69 | " | 69 | " |
| 70 | 70 | ||
| 71 | PACKAGECONFIG ??= " \ | 71 | PACKAGECONFIG ??= "\ |
| 72 | ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \ | 72 | ${@bb.utils.filter('COMBINED_FEATURES', 'optee', d)} \ |
| 73 | " | 73 | " |
| 74 | PACKAGECONFIG[optee] = ",,optee-os-qoriq" | 74 | PACKAGECONFIG[optee] = ",,optee-os-qoriq" |
| @@ -120,10 +120,10 @@ do_compile() { | |||
| 120 | flexspi_nor) | 120 | flexspi_nor) |
| 121 | rcwimg="${RCWXSPI}${RCW_SUFFIX}" | 121 | rcwimg="${RCWXSPI}${RCW_SUFFIX}" |
| 122 | uefiboot="${UEFI_XSPIBOOT}" | 122 | uefiboot="${UEFI_XSPIBOOT}" |
| 123 | ;; | 123 | ;; |
| 124 | esac | 124 | esac |
| 125 | 125 | ||
| 126 | if [ -f ${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/$rcwimg ]; then | 126 | if [ -f ${DEPLOY_DIR_IMAGE}/rcw/${RCW_FOLDER}/$rcwimg ]; then |
| 127 | make V=1 realclean | 127 | make V=1 realclean |
| 128 | if [ -f rot_key.pem ];then | 128 | if [ -f rot_key.pem ];then |
| 129 | mkdir -p build/${PLATFORM}/release/ | 129 | mkdir -p build/${PLATFORM}/release/ |
| @@ -168,13 +168,13 @@ do_compile() { | |||
| 168 | 168 | ||
| 169 | do_install() { | 169 | do_install() { |
| 170 | install -d ${D}/boot/atf/ | 170 | install -d ${D}/boot/atf/ |
| 171 | cp srk.pri ${D}/boot/atf/ | 171 | install -m 0644 srk.pri ${D}/boot/atf/ |
| 172 | cp srk.pub ${D}/boot/atf/ | 172 | install -m 0644 srk.pub ${D}/boot/atf/ |
| 173 | cp *.pbl ${D}/boot/atf/ | 173 | install -m 0644 *.pbl ${D}/boot/atf/ |
| 174 | if [ ! -e fuse_fip.bin ]; then | 174 | if [ ! -e fuse_fip.bin ]; then |
| 175 | rm -f fuse_scr.bin | 175 | rm -f fuse_scr.bin |
| 176 | fi | 176 | fi |
| 177 | cp *.bin ${D}/boot/atf/ | 177 | install -m 0644 *.bin ${D}/boot/atf/ |
| 178 | chown -R root:root ${D} | 178 | chown -R root:root ${D} |
| 179 | } | 179 | } |
| 180 | 180 | ||
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb index 6b53e228f..f9c7c5bbe 100644 --- a/recipes-bsp/boot-format/boot-format_git.bb +++ b/recipes-bsp/boot-format/boot-format_git.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI" | 1 | DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/boot-format" | ||
| 2 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
| 3 | PR = "r6" | 4 | PR = "r6" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| @@ -10,7 +11,7 @@ SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" | |||
| 10 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' | 11 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' |
| 11 | 12 | ||
| 12 | do_install(){ | 13 | do_install(){ |
| 13 | oe_runmake DESTDIR=${D} PREFIX=${prefix} install | 14 | oe_runmake DESTDIR=${D} PREFIX=${prefix} install |
| 14 | } | 15 | } |
| 15 | 16 | ||
| 16 | PACKAGES =+ "${PN}-config" | 17 | PACKAGES =+ "${PN}-config" |
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 5cfeb935e..5e7126e56 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb | |||
| @@ -1,16 +1,19 @@ | |||
| 1 | SUMMARY = "DDR firmware repository" | 1 | SUMMARY = "DDR firmware repository" |
| 2 | DESCRIPTION = "DDR PHY training firmware binaries for NXP LX2160A/LX2162A SoCs" | ||
| 3 | HOMEPAGE = "https://github.com/nxp/ddr-phy-binary" | ||
| 4 | SECTION = "firmware" | ||
| 2 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 3 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74" | 6 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74" |
| 4 | 7 | ||
| 5 | inherit deploy | 8 | inherit deploy |
| 6 | 9 | ||
| 10 | DEPENDS += "qoriq-atf-tools-native" | ||
| 11 | |||
| 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" | 12 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 13 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| 9 | 14 | ||
| 10 | REGLEX = "lx2160a" | 15 | REGLEX = "lx2160a" |
| 11 | 16 | ||
| 12 | DEPENDS += "qoriq-atf-tools-native" | ||
| 13 | |||
| 14 | do_compile() { | 17 | do_compile() { |
| 15 | cd ${S}/${REGLEX} | 18 | cd ${S}/${REGLEX} |
| 16 | fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ | 19 | fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ |
| @@ -35,8 +38,9 @@ do_deploy () { | |||
| 35 | } | 38 | } |
| 36 | addtask deploy before do_populate_sysroot after do_install | 39 | addtask deploy before do_populate_sysroot after do_install |
| 37 | 40 | ||
| 41 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 42 | |||
| 38 | PACKAGES += "${PN}-image" | 43 | PACKAGES += "${PN}-image" |
| 39 | FILES:${PN}-image += "/boot" | 44 | FILES:${PN}-image += "/boot" |
| 40 | 45 | ||
| 41 | COMPATIBLE_MACHINE = "(lx2160a|lx2162a)" | 46 | COMPATIBLE_MACHINE = "(lx2160a|lx2162a)" |
| 42 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb index 79fff49e6..e5fbc9d7a 100644 --- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "DP firmware" | 1 | SUMMARY = "DP firmware" |
| 2 | DESCRIPTION = "Cadence DisplayPort (HDP) firmware for i.MX8 SoCs." | ||
| 3 | HOMEPAGE = "https://www.nxp.com/" | ||
| 4 | SECTION = "bsp" | ||
| 2 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
| 4 | 7 | ||
| @@ -21,8 +24,9 @@ do_deploy () { | |||
| 21 | } | 24 | } |
| 22 | addtask deploy before do_build after do_install | 25 | addtask deploy before do_build after do_install |
| 23 | 26 | ||
| 27 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 28 | |||
| 24 | PACKAGES += "${PN}-image" | 29 | PACKAGES += "${PN}-image" |
| 25 | FILES:${PN}-image += "/boot" | 30 | FILES:${PN}-image += "/boot" |
| 26 | 31 | ||
| 27 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 32 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
| 28 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb index 0f6edf28b..d2b731ac5 100644 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.5.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | # Copyright 2021-2026 NXP | 1 | # Copyright 2021-2026 NXP |
| 2 | SUMMARY = "NXP i.MX ELE firmware" | 2 | SUMMARY = "NXP i.MX ELE firmware" |
| 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" |
| 4 | HOMEPAGE = "https://www.nxp.com/" | ||
| 4 | SECTION = "base" | 5 | SECTION = "base" |
| 5 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.31.bb b/recipes-bsp/firmware-imx/firmware-imx_8.31.bb index 0847a96c0..288fa13bc 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.31.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.31.bb | |||
| @@ -164,7 +164,7 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu | |||
| 164 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-coda980 ${PN}-vpu-wave511 ${PN}-vpu-wave" | 164 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-coda980 ${PN}-vpu-wave511 ${PN}-vpu-wave" |
| 165 | 165 | ||
| 166 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" | 166 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" |
| 167 | FILES:${PN}-hdmi = " \ | 167 | FILES:${PN}-hdmi = "\ |
| 168 | ${nonarch_base_libdir}/firmware/hdmitxfw.bin \ | 168 | ${nonarch_base_libdir}/firmware/hdmitxfw.bin \ |
| 169 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ | 169 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ |
| 170 | ${nonarch_base_libdir}/firmware/dpfw.bin \ | 170 | ${nonarch_base_libdir}/firmware/dpfw.bin \ |
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb index f43f2adee..ffe86d15c 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
| @@ -2,8 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
| 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ | 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ |
| 5 | is available in linux-firmware, but what is here is the latest and \ | 5 | is available in linux-firmware, but what is here is the latest and \ |
| 6 | should be preferred." | 6 | should be preferred." |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-firmware" | ||
| 7 | 8 | ||
| 8 | SECTION = "kernel" | 9 | SECTION = "kernel" |
| 9 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
| @@ -13,8 +14,6 @@ SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRC | |||
| 13 | SRCBRANCH = "lf-6.18.2_1.0.0" | 14 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| 14 | SRCREV = "d7e4bb37b45bbf93faf888e0ca6763a29e28054a" | 15 | SRCREV = "d7e4bb37b45bbf93faf888e0ca6763a29e28054a" |
| 15 | 16 | ||
| 16 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | ||
| 17 | |||
| 18 | inherit allarch | 17 | inherit allarch |
| 19 | 18 | ||
| 20 | CLEANBROKEN = "1" | 19 | CLEANBROKEN = "1" |
| @@ -39,7 +38,7 @@ do_install() { | |||
| 39 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin | 38 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin |
| 40 | } | 39 | } |
| 41 | 40 | ||
| 42 | PACKAGES =+ " \ | 41 | PACKAGES =+ "\ |
| 43 | ${PN}-all-pcie \ | 42 | ${PN}-all-pcie \ |
| 44 | ${PN}-all-sdio \ | 43 | ${PN}-all-sdio \ |
| 45 | ${PN}-all-usb \ | 44 | ${PN}-all-usb \ |
| @@ -57,7 +56,7 @@ PACKAGES =+ " \ | |||
| 57 | ${PN}-nxpiw612-sdio \ | 56 | ${PN}-nxpiw612-sdio \ |
| 58 | " | 57 | " |
| 59 | 58 | ||
| 60 | RDEPENDS:${PN}-all-sdio = " \ | 59 | RDEPENDS:${PN}-all-sdio = "\ |
| 61 | ${PN}-nxp8987-sdio \ | 60 | ${PN}-nxp8987-sdio \ |
| 62 | ${PN}-nxp8997-sdio \ | 61 | ${PN}-nxp8997-sdio \ |
| 63 | ${PN}-nxp9098-sdio \ | 62 | ${PN}-nxp9098-sdio \ |
| @@ -66,21 +65,21 @@ RDEPENDS:${PN}-all-sdio = " \ | |||
| 66 | ${PN}-nxpiw612-sdio \ | 65 | ${PN}-nxpiw612-sdio \ |
| 67 | " | 66 | " |
| 68 | 67 | ||
| 69 | RDEPENDS:${PN}-all-pcie = " \ | 68 | RDEPENDS:${PN}-all-pcie = "\ |
| 70 | ${PN}-nxp9098-pcie \ | 69 | ${PN}-nxp9098-pcie \ |
| 71 | ${PN}-nxpaw693-pcie \ | 70 | ${PN}-nxpaw693-pcie \ |
| 72 | " | 71 | " |
| 73 | 72 | ||
| 74 | RDEPENDS:${PN}-all-usb = " \ | 73 | RDEPENDS:${PN}-all-usb = "\ |
| 75 | ${PN}-nxpiw610-usb \ | 74 | ${PN}-nxpiw610-usb \ |
| 76 | " | 75 | " |
| 77 | 76 | ||
| 78 | FILES:${PN}-nxp-common = " \ | 77 | FILES:${PN}-nxp-common = "\ |
| 79 | ${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf \ | 78 | ${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf \ |
| 80 | ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ | 79 | ${nonarch_base_libdir}/firmware/nxp/helper_uart_3000000.bin \ |
| 81 | " | 80 | " |
| 82 | 81 | ||
| 83 | FILES:${PN}-nxp8987-sdio = " \ | 82 | FILES:${PN}-nxp8987-sdio = "\ |
| 84 | ${nonarch_base_libdir}/firmware/nxp/*8987* \ | 83 | ${nonarch_base_libdir}/firmware/nxp/*8987* \ |
| 85 | " | 84 | " |
| 86 | RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-common" | 85 | RDEPENDS:${PN}-nxp8987-sdio += "${PN}-nxp-common" |
| @@ -88,11 +87,11 @@ RPROVIDES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | |||
| 88 | RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | 87 | RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" |
| 89 | RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | 88 | RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" |
| 90 | 89 | ||
| 91 | FILES:${PN}-nxp8997-sdio = " \ | 90 | FILES:${PN}-nxp8997-sdio = "\ |
| 92 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ | 91 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ |
| 93 | " | 92 | " |
| 94 | 93 | ||
| 95 | FILES:${PN}-nxp9098-common = " \ | 94 | FILES:${PN}-nxp9098-common = "\ |
| 96 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ | 95 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ |
| 97 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ | 96 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ |
| 98 | ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \ | 97 | ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \ |
| @@ -102,7 +101,7 @@ RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" | |||
| 102 | RREPLACES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" | 101 | RREPLACES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" |
| 103 | RCONFLICTS:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" | 102 | RCONFLICTS:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" |
| 104 | 103 | ||
| 105 | FILES:${PN}-nxp9098-pcie = " \ | 104 | FILES:${PN}-nxp9098-pcie = "\ |
| 106 | ${nonarch_base_libdir}/firmware/nxp/pcie*9098* \ | 105 | ${nonarch_base_libdir}/firmware/nxp/pcie*9098* \ |
| 107 | " | 106 | " |
| 108 | RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common" | 107 | RDEPENDS:${PN}-nxp9098-pcie += "${PN}-nxp9098-common" |
| @@ -110,7 +109,7 @@ RPROVIDES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" | |||
| 110 | RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" | 109 | RREPLACES:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" |
| 111 | RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" | 110 | RCONFLICTS:${PN}-nxp9098-pcie = "linux-firmware-nxp9098-pcie" |
| 112 | 111 | ||
| 113 | FILES:${PN}-nxp9098-sdio = " \ | 112 | FILES:${PN}-nxp9098-sdio = "\ |
| 114 | ${nonarch_base_libdir}/firmware/nxp/sd*9098* \ | 113 | ${nonarch_base_libdir}/firmware/nxp/sd*9098* \ |
| 115 | " | 114 | " |
| 116 | RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" | 115 | RDEPENDS:${PN}-nxp9098-sdio += "${PN}-nxp9098-common" |
| @@ -118,13 +117,13 @@ RPROVIDES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | |||
| 118 | RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 117 | RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| 119 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 118 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
| 120 | 119 | ||
| 121 | FILES:${PN}-nxpaw693-pcie += " \ | 120 | FILES:${PN}-nxpaw693-pcie += "\ |
| 122 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ | 121 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ |
| 123 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ | 122 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ |
| 124 | " | 123 | " |
| 125 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" | 124 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" |
| 126 | 125 | ||
| 127 | FILES:${PN}-nxpiw416-sdio = " \ | 126 | FILES:${PN}-nxpiw416-sdio = "\ |
| 128 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ | 127 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ |
| 129 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ | 128 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ |
| 130 | " | 129 | " |
| @@ -133,7 +132,7 @@ RPROVIDES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | |||
| 133 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 132 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
| 134 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 133 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
| 135 | 134 | ||
| 136 | FILES:${PN}-nxpiw610-sdio += " \ | 135 | FILES:${PN}-nxpiw610-sdio += "\ |
| 137 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ | 136 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ |
| 138 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ | 137 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ |
| 139 | ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ | 138 | ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ |
| @@ -145,12 +144,12 @@ RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | |||
| 145 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 144 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 146 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 145 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 147 | 146 | ||
| 148 | FILES:${PN}-nxpiw610-usb += " \ | 147 | FILES:${PN}-nxpiw610-usb += "\ |
| 149 | ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ | 148 | ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ |
| 150 | " | 149 | " |
| 151 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" | 150 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" |
| 152 | 151 | ||
| 153 | FILES:${PN}-nxpiw612-sdio = " \ | 152 | FILES:${PN}-nxpiw612-sdio = "\ |
| 154 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 153 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
| 155 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_*.bin.se \ | 154 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_*.bin.se \ |
| 156 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_*.bin.se \ | 155 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_*.bin.se \ |
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb index 7c5022761..84e00a32c 100644 --- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb +++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | # Copyright (C) 2020-2022 NXP | 1 | # Copyright (C) 2020-2022 NXP |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | DESCRIPTION = "Sound Open Firmware" | 4 | SUMMARY = "Sound Open Firmware for i.MX" |
| 5 | DESCRIPTION = "Sound Open Firmware (SOF) audio DSP firmware for i.MX SoCs." | ||
| 5 | HOMEPAGE = "https://www.sofproject.org" | 6 | HOMEPAGE = "https://www.sofproject.org" |
| 6 | SECTION = "base" | 7 | SECTION = "base" |
| 7 | LICENSE = "BSD-3-Clause" | 8 | LICENSE = "BSD-3-Clause" |
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb index 53edf58bd..87569b4a3 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.31.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | # Copyright (C) 2018-2026 NXP | 1 | # Copyright (C) 2018-2026 NXP |
| 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" | 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" |
| 3 | DESCRIPTION = "Prebuilt i.MX firmware blobs (HDMI, SECO and related) used during boot." | ||
| 3 | 4 | ||
| 4 | require firmware-imx-${PV}.inc | 5 | require firmware-imx-${PV}.inc |
| 5 | 6 | ||
| @@ -7,10 +8,10 @@ inherit deploy nopackages | |||
| 7 | 8 | ||
| 8 | do_install[noexec] = "1" | 9 | do_install[noexec] = "1" |
| 9 | 10 | ||
| 10 | DEPLOY_FOR = "" | 11 | DEPLOY_FOR = "" |
| 11 | DEPLOY_FOR:mx8-generic-bsp = "mx8" | 12 | DEPLOY_FOR:mx8-generic-bsp = "mx8" |
| 12 | DEPLOY_FOR:mx8m-generic-bsp = "mx8m" | 13 | DEPLOY_FOR:mx8m-generic-bsp = "mx8m" |
| 13 | DEPLOY_FOR:mx9-generic-bsp = "mx9" | 14 | DEPLOY_FOR:mx9-generic-bsp = "mx9" |
| 14 | 15 | ||
| 15 | deploy_for_mx8() { | 16 | deploy_for_mx8() { |
| 16 | # Cadence HDMI | 17 | # Cadence HDMI |
| @@ -30,7 +31,6 @@ deploy_for_mx8m() { | |||
| 30 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR} | 31 | install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin ${DEPLOYDIR} |
| 31 | } | 32 | } |
| 32 | 33 | ||
| 33 | |||
| 34 | deploy_for_mx9() { | 34 | deploy_for_mx9() { |
| 35 | # Synopsys DDR | 35 | # Synopsys DDR |
| 36 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do | 36 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do |
| @@ -57,5 +57,5 @@ addtask deploy after do_install before do_build | |||
| 57 | 57 | ||
| 58 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 58 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 59 | 59 | ||
| 60 | COMPATIBLE_MACHINE = "(mx8-generic-bsp|mx9-generic-bsp)" | 60 | COMPATIBLE_MACHINE = "(mx8-generic-bsp|mx9-generic-bsp)" |
| 61 | COMPATIBLE_MACHINE:mx8x-generic-bsp = "(^$)" | 61 | COMPATIBLE_MACHINE:mx8x-generic-bsp = "(^$)" |
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb index 2b5a9f50d..6337f98ae 100644 --- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb +++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | # Copyright 2021-2022 NXP | 1 | # Copyright 2021-2022 NXP |
| 2 | DESCRIPTION = "NXP i.MX uPower firmware" | 2 | SUMMARY = "i.MX uPower firmware" |
| 3 | DESCRIPTION = "Firmware for the uPower microcontroller found on i.MX SoCs." | ||
| 4 | HOMEPAGE = "https://www.nxp.com/" | ||
| 5 | SECTION = "bsp" | ||
| 3 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
| 4 | SECTION = "BSP" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" |
| 6 | 8 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb index 260b01001..2179df61b 100644 --- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb +++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | SUMMARY = "Freescale TLU(Table Lookup Unit) test package" | 1 | SUMMARY = "Freescale TLU(Table Lookup Unit) test package" |
| 2 | DESCRIPTION = "This package includes the TLU(Table Lookup Unit) test scripts \ | 2 | DESCRIPTION = "This package includes the TLU(Table Lookup Unit) test scripts \ |
| 3 | and configuration files." | 3 | and configuration files." |
| 4 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/fsl-tlu" | ||
| 4 | 5 | ||
| 5 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" |
| @@ -10,9 +11,8 @@ SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" | |||
| 10 | 11 | ||
| 11 | do_install() { | 12 | do_install() { |
| 12 | install -d ${D}${sbindir}/fsl_tlu | 13 | install -d ${D}${sbindir}/fsl_tlu |
| 13 | find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; | 14 | find . -type f -exec install -m 0644 {} ${D}${sbindir}/fsl_tlu/ \; |
| 14 | } | 15 | } |
| 15 | 16 | ||
| 16 | COMPATIBLE_MACHINE = "(e500mc)" | 17 | COMPATIBLE_MACHINE = "(e500mc)" |
| 17 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 18 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 18 | |||
diff --git a/recipes-bsp/imx-atf/imx-atf_2.12.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb index 7cef23416..5b84d91d1 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.12.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | # Copyright (C) 2017-2026 NXP | 1 | # Copyright (C) 2017-2026 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | SUMMARY = "ARM Trusted Firmware for i.MX" |
| 4 | SECTION = "BSP" | 4 | DESCRIPTION = "ARM Trusted Firmware (TF-A) for NXP i.MX SoCs." |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/imx-atf" | ||
| 6 | SECTION = "bsp" | ||
| 5 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" | 8 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
| 7 | 9 | ||
| 8 | PV .= "+git${SRCPV}" | 10 | PV .= "+git${SRCPV}" |
| 9 | 11 | ||
| 10 | SRC_URI = "${ATF_SRC};branch=${SRCBRANCH} \ | 12 | SRC_URI = "${ATF_SRC};branch=${SRCBRANCH} \ |
| 11 | file://0001-scmi-imx9-Remove-unused-tmp-pointer.patch \ | 13 | file://0001-scmi-imx9-Remove-unused-tmp-pointer.patch \ |
| 12 | " | 14 | " |
| 13 | ATF_SRC ?= "git://github.com/nxp-imx/imx-atf.git;protocol=https" | 15 | ATF_SRC ?= "git://github.com/nxp-imx/imx-atf.git;protocol=https" |
| 14 | SRCBRANCH = "lf_v2.12" | 16 | SRCBRANCH = "lf_v2.12" |
| @@ -16,7 +18,7 @@ SRCREV = "4a2e9ef5f9f185bda68470b46365add008903b8c" | |||
| 16 | 18 | ||
| 17 | inherit deploy | 19 | inherit deploy |
| 18 | 20 | ||
| 19 | PACKAGECONFIG ??= " \ | 21 | PACKAGECONFIG ??= "\ |
| 20 | ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} \ | 22 | ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} \ |
| 21 | ${@bb.utils.filter('MACHINE_FEATURES', 'optee', d)}" | 23 | ${@bb.utils.filter('MACHINE_FEATURES', 'optee', d)}" |
| 22 | 24 | ||
| @@ -30,7 +32,7 @@ ATF_PLATFORM ??= "INVALID" | |||
| 30 | # base address in source code. | 32 | # base address in source code. |
| 31 | ATF_BOOT_UART_BASE ?= "" | 33 | ATF_BOOT_UART_BASE ?= "" |
| 32 | 34 | ||
| 33 | EXTRA_OEMAKE += " \ | 35 | EXTRA_OEMAKE += "\ |
| 34 | CROSS_COMPILE=${TARGET_PREFIX} \ | 36 | CROSS_COMPILE=${TARGET_PREFIX} \ |
| 35 | PLAT=${ATF_PLATFORM} \ | 37 | PLAT=${ATF_PLATFORM} \ |
| 36 | ${PACKAGECONFIG_CONFARGS} \ | 38 | ${PACKAGECONFIG_CONFARGS} \ |
| @@ -69,7 +71,7 @@ do_configure[noexec] = "1" | |||
| 69 | 71 | ||
| 70 | do_install[noexec] = "1" | 72 | do_install[noexec] = "1" |
| 71 | 73 | ||
| 72 | ANNOTATED_NAME = "bl31-${ATF_PLATFORM}.bin" | 74 | ANNOTATED_NAME = "bl31-${ATF_PLATFORM}.bin" |
| 73 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '-crrm', '', d)}" | 75 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '-crrm', '', d)}" |
| 74 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'optee', '-optee', '', d)}" | 76 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'optee', '-optee', '', d)}" |
| 75 | 77 | ||
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb index 9c00a05b1..346e50950 100644 --- a/recipes-bsp/imx-kobs/imx-kobs_git.bb +++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | 4 | ||
| 5 | SUMMARY = "Nand boot write source" | 5 | SUMMARY = "Nand boot write source" |
| 6 | HOMEPAGE = "https://github.com/NXPmicro/imx-kobs" | ||
| 6 | SECTION = "base" | 7 | SECTION = "base" |
| 7 | LICENSE = "GPL-2.0-only" | 8 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" |
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 0aa74250f..837df109a 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | # Copyright 2017 NXP | 3 | # Copyright 2017 NXP |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Platform specific libraries for imx platform" | 5 | DESCRIPTION = "Platform specific libraries for imx platform" |
| 6 | HOMEPAGE = "https://github.com/nxp-imx/imx-lib" | ||
| 6 | LICENSE = "LGPL-2.1-only" | 7 | LICENSE = "LGPL-2.1-only" |
| 7 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 8 | 9 | ||
| @@ -18,19 +19,19 @@ SRCREV = "6cad1ba39d16247088f6a45dc07bbbf2cf96a332" | |||
| 18 | 19 | ||
| 19 | inherit use-imx-headers | 20 | inherit use-imx-headers |
| 20 | 21 | ||
| 21 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" | 22 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
| 22 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" | 23 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" |
| 23 | PLATFORM:mx6sl-nxp-bsp = "IMX6S" | 24 | PLATFORM:mx6sl-nxp-bsp = "IMX6S" |
| 24 | PLATFORM:mx6sll-nxp-bsp = "IMX6UL" | 25 | PLATFORM:mx6sll-nxp-bsp = "IMX6UL" |
| 25 | PLATFORM:mx6sx-nxp-bsp = "IMX6S" | 26 | PLATFORM:mx6sx-nxp-bsp = "IMX6S" |
| 26 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" | 27 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" |
| 27 | PLATFORM:mx6ull-nxp-bsp = "IMX6UL" | 28 | PLATFORM:mx6ull-nxp-bsp = "IMX6UL" |
| 28 | PLATFORM:mx7d-nxp-bsp = "IMX7" | 29 | PLATFORM:mx7d-nxp-bsp = "IMX7" |
| 29 | PLATFORM:mx7ulp-nxp-bsp = "IMX7" | 30 | PLATFORM:mx7ulp-nxp-bsp = "IMX7" |
| 30 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 31 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 31 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" | 32 | PLATFORM:mx9-nxp-bsp = "IMX8ULP" |
| 32 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | 33 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" |
| 33 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" | 34 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" |
| 34 | 35 | ||
| 35 | PARALLEL_MAKE = "-j 1" | 36 | PARALLEL_MAKE = "-j 1" |
| 36 | EXTRA_OEMAKE = "" | 37 | EXTRA_OEMAKE = "" |
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index fcc8f84b3..59fe5854f 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
| @@ -2,10 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | require imx-mkimage_git.inc | 3 | require imx-mkimage_git.inc |
| 4 | 4 | ||
| 5 | SUMMARY = "Boot loader image for i.MX 8 devices" | ||
| 5 | DESCRIPTION = "Generate Boot Loader for i.MX 8 device" | 6 | DESCRIPTION = "Generate Boot Loader for i.MX 8 device" |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-mkimage" | ||
| 8 | SECTION = "bsp" | ||
| 6 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 10 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
| 8 | SECTION = "BSP" | ||
| 9 | 11 | ||
| 10 | DEPENDS += "xxd-native" | 12 | DEPENDS += "xxd-native" |
| 11 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native u-boot-mkeficapsule-native" | 13 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native u-boot-mkeficapsule-native" |
| @@ -14,7 +16,7 @@ DEPENDS:append:mx95-generic-bsp = " u-boot-mkeficapsule-native" | |||
| 14 | 16 | ||
| 15 | # This package aggregates output deployed by other packages, | 17 | # This package aggregates output deployed by other packages, |
| 16 | # so set the appropriate dependencies | 18 | # so set the appropriate dependencies |
| 17 | DEPENDS += " \ | 19 | DEPENDS += "\ |
| 18 | virtual/bootloader \ | 20 | virtual/bootloader \ |
| 19 | ${IMX_EXTRA_FIRMWARE} \ | 21 | ${IMX_EXTRA_FIRMWARE} \ |
| 20 | imx-atf \ | 22 | imx-atf \ |
| @@ -25,7 +27,7 @@ DEPENDS += " \ | |||
| 25 | do_compile[deptask] = "do_deploy" | 27 | do_compile[deptask] = "do_deploy" |
| 26 | do_compile[depends] += "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${CRRM_INITRAMFS}:do_build', '', d)}" | 28 | do_compile[depends] += "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${CRRM_INITRAMFS}:do_build', '', d)}" |
| 27 | 29 | ||
| 28 | CRRM_DEPLOY_DEPENDS ?= " \ | 30 | CRRM_DEPLOY_DEPENDS ?= "\ |
| 29 | virtual/kernel \ | 31 | virtual/kernel \ |
| 30 | ${CRRM_INITRAMFS}" | 32 | ${CRRM_INITRAMFS}" |
| 31 | CRRM_INITRAMFS ??= "imx-image-crrm-initramfs" | 33 | CRRM_INITRAMFS ??= "imx-image-crrm-initramfs" |
| @@ -50,7 +52,7 @@ BOOT_VARIANT ?= "" | |||
| 50 | 52 | ||
| 51 | TOOLS_NAME ?= "mkimage_imx8" | 53 | TOOLS_NAME ?= "mkimage_imx8" |
| 52 | 54 | ||
| 53 | IMX_BOOT_SOC_TARGET ?= "INVALID" | 55 | IMX_BOOT_SOC_TARGET ?= "INVALID" |
| 54 | 56 | ||
| 55 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 57 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
| 56 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" | 58 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" |
| @@ -60,51 +62,51 @@ IMXBOOT_TARGETS ?= \ | |||
| 60 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ | 62 | bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \ |
| 61 | 'flash_multi_cores flash_dcd', d), d)}" | 63 | 'flash_multi_cores flash_dcd', d), d)}" |
| 62 | 64 | ||
| 63 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 65 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
| 64 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | 66 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" |
| 65 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" | 67 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" |
| 66 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" | 68 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" |
| 67 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | 69 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" |
| 68 | BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" | 70 | BOOT_STAGING:mx943-generic-bsp = "${S}/iMX94" |
| 69 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | 71 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" |
| 70 | 72 | ||
| 71 | SOC_FAMILY = "INVALID" | 73 | SOC_FAMILY = "INVALID" |
| 72 | SOC_FAMILY:mx8-generic-bsp = "mx8" | 74 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
| 73 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" | 75 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" |
| 74 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" | 76 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" |
| 75 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" | 77 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" |
| 76 | SOC_FAMILY:mx91-generic-bsp = "mx91" | 78 | SOC_FAMILY:mx91-generic-bsp = "mx91" |
| 77 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 79 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
| 78 | SOC_FAMILY:mx943-generic-bsp = "mx943" | 80 | SOC_FAMILY:mx943-generic-bsp = "mx943" |
| 79 | SOC_FAMILY:mx95-generic-bsp = "mx95" | 81 | SOC_FAMILY:mx95-generic-bsp = "mx95" |
| 80 | 82 | ||
| 81 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 83 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
| 82 | 84 | ||
| 83 | MKIMAGE_EXTRA_ARGS ?= "" | 85 | MKIMAGE_EXTRA_ARGS ?= "" |
| 84 | MKIMAGE_EXTRA_ARGS:mx943-nxp-bsp ?= " \ | 86 | MKIMAGE_EXTRA_ARGS:mx943-nxp-bsp ?= "\ |
| 85 | OEI=YES \ | 87 | OEI=YES \ |
| 86 | LPDDR_TYPE=${DDR_TYPE} \ | 88 | LPDDR_TYPE=${DDR_TYPE} \ |
| 87 | MSEL=${MSEL_TYPE} \ | 89 | MSEL=${MSEL_TYPE} \ |
| 88 | " | 90 | " |
| 89 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ | 91 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= "\ |
| 90 | OEI=YES \ | 92 | OEI=YES \ |
| 91 | LPDDR_TYPE=${DDR_TYPE} \ | 93 | LPDDR_TYPE=${DDR_TYPE} \ |
| 92 | ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \ | 94 | ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \ |
| 93 | ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}" | 95 | ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}" |
| 94 | MKIMAGE_EXTRA_ARGS:imx95-19x19-lpddr5-frdm-pro ?= " \ | 96 | MKIMAGE_EXTRA_ARGS:imx95-19x19-lpddr5-frdm-pro ?= "\ |
| 95 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ | 97 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ |
| 96 | QSPI_HEADER=./scripts/fspi_header-W25Q512NWEIQ" | 98 | QSPI_HEADER=./scripts/fspi_header-W25Q512NWEIQ" |
| 97 | 99 | ||
| 98 | MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \ | 100 | MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= "\ |
| 99 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ | 101 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ |
| 100 | QSPI_HEADER=./scripts/fspi_header_133" | 102 | QSPI_HEADER=./scripts/fspi_header_133" |
| 101 | MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= " \ | 103 | MKIMAGE_EXTRA_ARGS:imx95-a1-19x19-verdin ?= "\ |
| 102 | ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ | 104 | ${MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin} \ |
| 103 | " | 105 | " |
| 104 | 106 | ||
| 105 | UBOOT_DTB_BINARY ?= "u-boot.dtb" | 107 | UBOOT_DTB_BINARY ?= "u-boot.dtb" |
| 106 | 108 | ||
| 107 | CRRM_FILES = " \ | 109 | CRRM_FILES = "\ |
| 108 | ${KERNEL_IMAGETYPE}.gz \ | 110 | ${KERNEL_IMAGETYPE}.gz \ |
| 109 | ${KERNEL_IMAGETYPE}_crrm.gz \ | 111 | ${KERNEL_IMAGETYPE}_crrm.gz \ |
| 110 | ${KERNEL_DEVICETREE_BASENAME}.dtb \ | 112 | ${KERNEL_DEVICETREE_BASENAME}.dtb \ |
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb index 282bc45a1..65f65002c 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb | |||
| @@ -3,10 +3,12 @@ | |||
| 3 | 3 | ||
| 4 | require imx-mkimage_git.inc | 4 | require imx-mkimage_git.inc |
| 5 | 5 | ||
| 6 | DESCRIPTION = "i.MX make image" | 6 | SUMMARY = "i.MX boot image generation tool" |
| 7 | DESCRIPTION = "Tooling to assemble i.MX boot images (mkimage_imx8 and related)." | ||
| 8 | HOMEPAGE = "https://github.com/nxp-imx/imx-mkimage" | ||
| 9 | SECTION = "bsp" | ||
| 7 | LICENSE = "GPL-2.0-only" | 10 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 11 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
| 9 | SECTION = "BSP" | ||
| 10 | 12 | ||
| 11 | inherit deploy native | 13 | inherit deploy native |
| 12 | 14 | ||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index 4a4efae01..b8d5d58cc 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Copyright 2017-2026 NXP | 1 | # Copyright 2017-2026 NXP |
| 2 | 2 | ||
| 3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "openssl-native zlib-native" |
| 4 | 4 | ||
| 5 | SRC_URI = "${IMX_MKIMAGE_SRC};branch=${SRCBRANCH} \ | 5 | SRC_URI = "${IMX_MKIMAGE_SRC};branch=${SRCBRANCH} \ |
| 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb index 42e8f6e19..baee026e4 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2024 NXP | 2 | # Copyright (C) 2017-2024 NXP |
| 3 | 3 | ||
| 4 | DESCRIPTION = "i.MX System Controller Firmware" | 4 | SUMMARY = "i.MX System Controller firmware" |
| 5 | DESCRIPTION = "System Controller Unit (SCU) firmware for i.MX8 QuadMax/QuadXPlus SoCs." | ||
| 6 | HOMEPAGE = "https://www.nxp.com/" | ||
| 7 | SECTION = "bsp" | ||
| 5 | LICENSE = "Proprietary" | 8 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
| 7 | SECTION = "BSP" | ||
| 8 | 10 | ||
| 9 | inherit fsl-eula-unpack pkgconfig deploy | 11 | inherit fsl-eula-unpack pkgconfig deploy |
| 10 | 12 | ||
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index fe366aacb..83d6dd13f 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "NXP i.MX SECO library" | 3 | SUMMARY = "NXP i.MX SECO library" |
| 4 | DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem" | 4 | DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem" |
| 5 | HOMEPAGE = "https://github.com/NXP/imx-seco-libs" | ||
| 5 | SECTION = "base" | 6 | SECTION = "base" |
| 6 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" | 8 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc index bb045b6fb..12dc1c31b 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc | |||
| @@ -2,11 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "NXP i.MX SECURE ENCLAVE library" | 3 | SUMMARY = "NXP i.MX SECURE ENCLAVE library" |
| 4 | DESCRIPTION = "NXP IMX SECURE ENCLAVE library" | 4 | DESCRIPTION = "NXP IMX SECURE ENCLAVE library" |
| 5 | HOMEPAGE = "https://github.com/NXP/imx-secure-enclave" | ||
| 5 | SECTION = "base" | 6 | SECTION = "base" |
| 6 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" |
| 8 | 9 | ||
| 9 | DEPENDS = " mbedtls openssl" | 10 | DEPENDS = "mbedtls openssl" |
| 10 | 11 | ||
| 11 | SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" |
| 12 | SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https" | 13 | SECURE_ENCLAVE_LIB_SRC ?= "git://github.com/NXP/imx-secure-enclave.git;protocol=https" |
| @@ -20,7 +21,7 @@ EXTRA_OEMAKE = "PLAT=${PLAT} OPENSSL_PATH=${STAGING_INCDIR} MBEDTLS_PATH=${STAGI | |||
| 20 | TARGET_CC_ARCH += "${LDFLAGS}" | 21 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 21 | 22 | ||
| 22 | do_install() { | 23 | do_install() { |
| 23 | oe_runmake -C ${S} DESTDIR=${D} install_tests | 24 | oe_runmake -C ${S} DESTDIR=${D} install_tests |
| 24 | } | 25 | } |
| 25 | 26 | ||
| 26 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 27 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb index 647a9d768..7095ce7a1 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
| @@ -11,7 +11,7 @@ PACKAGES =+ "${PN}-crrm" | |||
| 11 | 11 | ||
| 12 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" | 12 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" |
| 13 | 13 | ||
| 14 | FILES:${PN}-crrm = " \ | 14 | FILES:${PN}-crrm = "\ |
| 15 | ${bindir}/ele_crrm_test \ | 15 | ${bindir}/ele_crrm_test \ |
| 16 | ${libdir}/lib*crrm${SOLIBS}" | 16 | ${libdir}/lib*crrm${SOLIBS}" |
| 17 | 17 | ||
diff --git a/recipes-bsp/imx-test/imx-test_00.00.00.bb b/recipes-bsp/imx-test/imx-test_00.00.00.bb index 1850a16ae..70b6988fc 100644 --- a/recipes-bsp/imx-test/imx-test_00.00.00.bb +++ b/recipes-bsp/imx-test/imx-test_00.00.00.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | SUMMARY = "Dummy package for SoCs lacking imx-test package" | 1 | SUMMARY = "Dummy package for SoCs lacking imx-test package" |
| 2 | DESCRIPTION = "Dummy package for SoCs lacking imx-test package" | 2 | DESCRIPTION = "Dummy package for SoCs lacking imx-test package" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" | ||
| 3 | SECTION = "base" | 4 | SECTION = "base" |
| 4 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index c5dc6ef50..9007a655c 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -4,17 +4,18 @@ | |||
| 4 | 4 | ||
| 5 | SUMMARY = "Test programs for i.MX BSP" | 5 | SUMMARY = "Test programs for i.MX BSP" |
| 6 | DESCRIPTION = "Unit tests for the i.MX BSP" | 6 | DESCRIPTION = "Unit tests for the i.MX BSP" |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" | ||
| 7 | SECTION = "base" | 8 | SECTION = "base" |
| 8 | LICENSE = "GPL-2.0-or-later" | 9 | LICENSE = "GPL-2.0-or-later" |
| 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" | 10 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" |
| 10 | 11 | ||
| 11 | DEPENDS = "alsa-lib freetype libdrm" | 12 | DEPENDS = "alsa-lib freetype libdrm" |
| 12 | DEPENDS:append:imxvpu = " virtual/imxvpu" | 13 | DEPENDS:append:imxvpu = " virtual/imxvpu" |
| 13 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" | 14 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" |
| 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 15 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
| 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | 16 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" |
| 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" | 17 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" |
| 17 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" | 18 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" |
| 18 | 19 | ||
| 19 | PE = "1" | 20 | PE = "1" |
| 20 | PV = "7.0+${SRCPV}" | 21 | PV = "7.0+${SRCPV}" |
| @@ -31,13 +32,13 @@ inherit module-base use-imx-headers | |||
| 31 | INHIBIT_PACKAGE_STRIP = "1" | 32 | INHIBIT_PACKAGE_STRIP = "1" |
| 32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 33 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 33 | 34 | ||
| 34 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" | 35 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
| 35 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" | 36 | PLATFORM:mx6dl-nxp-bsp = "IMX6Q" |
| 36 | PLATFORM:mx6sl-nxp-bsp = "IMX6SL" | 37 | PLATFORM:mx6sl-nxp-bsp = "IMX6SL" |
| 37 | PLATFORM:mx6sll-nxp-bsp = "IMX6SL" | 38 | PLATFORM:mx6sll-nxp-bsp = "IMX6SL" |
| 38 | PLATFORM:mx6sx-nxp-bsp = "IMX6SX" | 39 | PLATFORM:mx6sx-nxp-bsp = "IMX6SX" |
| 39 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" | 40 | PLATFORM:mx6ul-nxp-bsp = "IMX6UL" |
| 40 | PLATFORM:mx7d-nxp-bsp = "IMX7D" | 41 | PLATFORM:mx7d-nxp-bsp = "IMX7D" |
| 41 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" | 42 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" |
| 42 | PLATFORM:mx8-nxp-bsp = "IMX8" | 43 | PLATFORM:mx8-nxp-bsp = "IMX8" |
| 43 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 44 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| @@ -51,7 +52,7 @@ EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" | |||
| 51 | 52 | ||
| 52 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 53 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
| 53 | PACKAGECONFIG:append:imxvpu = " vpu" | 54 | PACKAGECONFIG:append:imxvpu = " vpu" |
| 54 | PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm" | 55 | PACKAGECONFIG:append:mx8m-nxp-bsp = " swpdm" |
| 55 | 56 | ||
| 56 | PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" | 57 | PACKAGECONFIG[x11] = ",,libx11 libxdamage libxrender libxrandr" |
| 57 | PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" | 58 | PACKAGECONFIG[vpu] = "HAS_VPU=true,HAS_VPU=false,virtual/imxvpu" |
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index ecd33f59f..446fb58e9 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2019,2024-2025 NXP | 2 | # Copyright (C) 2017-2019,2024-2025 NXP |
| 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" | 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" |
| 4 | HOMEPAGE = "https://github.com/nxp-imx/imx-uuc" | ||
| 4 | SECTION = "base" | 5 | SECTION = "base" |
| 5 | DEPENDS = "virtual/kernel dosfstools-native" | 6 | DEPENDS = "dosfstools-native virtual/kernel" |
| 6 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 8 | 9 | ||
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb index 528b05e17..498f7848a 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb | |||
| @@ -1,12 +1,15 @@ | |||
| 1 | # Copyright 2019-2022 NXP | 1 | # Copyright 2019-2022 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX VC8000E Encoder library" | 3 | SUMMARY = "i.MX VC8000E encoder library" |
| 4 | DESCRIPTION = "Hantro VC8000E video encoder library for i.MX SoCs." | ||
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 9 | ||
| 7 | inherit fsl-eula-unpack | 10 | inherit fsl-eula-unpack |
| 8 | 11 | ||
| 9 | SRC_URI = " ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 10 | IMX_SRCREV_ABBREV = "5e18a84" | 13 | IMX_SRCREV_ABBREV = "5e18a84" |
| 11 | 14 | ||
| 12 | SRC_URI[sha256sum] = "04d2a9c5c75804a11a4500a0133dfc7d8e84f74254cee52c42075f5ecc229550" | 15 | SRC_URI[sha256sum] = "04d2a9c5c75804a11a4500a0133dfc7d8e84f74254cee52c42075f5ecc229550" |
| @@ -29,8 +32,8 @@ do_install () { | |||
| 29 | rm ${D}${D_SUBDIR}/${SCR} | 32 | rm ${D}${D_SUBDIR}/${SCR} |
| 30 | } | 33 | } |
| 31 | 34 | ||
| 32 | FILES:${PN} = "/" | ||
| 33 | |||
| 34 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 35 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 35 | 36 | ||
| 37 | FILES:${PN} = "/" | ||
| 38 | |||
| 36 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 39 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb index d24ab66ea..22a307267 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | # Copyright 2021 NXP | 1 | # Copyright 2021 NXP |
| 2 | DESCRIPTION = "i.MX Hantro V4L2 Daemon" | 2 | SUMMARY = "i.MX Hantro V4L2 daemon" |
| 3 | DESCRIPTION = "V4L2 userspace daemon for the Hantro VPU on i.MX SoCs." | ||
| 4 | HOMEPAGE = "https://www.nxp.com/" | ||
| 5 | SECTION = "multimedia" | ||
| 3 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" |
| 5 | 8 | ||
| @@ -17,11 +20,11 @@ PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | |||
| 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 20 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
| 18 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | 21 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" |
| 19 | 22 | ||
| 20 | EXTRA_OEMAKE = " \ | 23 | EXTRA_OEMAKE = "\ |
| 21 | CROSS_COMPILE="${HOST_PREFIX}" \ | 24 | CROSS_COMPILE="${HOST_PREFIX}"\ |
| 22 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | 25 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}"\ |
| 23 | CTRLSW_HDRPATH="${STAGING_INCDIR}" \ | 26 | CTRLSW_HDRPATH="${STAGING_INCDIR}"\ |
| 24 | PLATFORM="${PLATFORM}" \ | 27 | PLATFORM="${PLATFORM}"\ |
| 25 | " | 28 | " |
| 26 | 29 | ||
| 27 | do_install () { | 30 | do_install () { |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb index e5113f1c1..69f4621fb 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb | |||
| @@ -1,12 +1,15 @@ | |||
| 1 | # Copyright (C) 2017-2020,2026 NXP | 1 | # Copyright (C) 2017-2020,2026 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX Hantro VPU library" | 3 | SUMMARY = "i.MX Hantro VPU library" |
| 4 | DESCRIPTION = "Hantro video processing unit (VPU) codec library for i.MX SoCs." | ||
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 9 | ||
| 7 | PROVIDES = "virtual/imxvpu" | 10 | PROVIDES = "virtual/imxvpu" |
| 8 | 11 | ||
| 9 | SRC_URI = " \ | 12 | SRC_URI = "\ |
| 10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 13 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ |
| 11 | " | 14 | " |
| 12 | IMX_SRCREV_ABBREV = "52c7e45" | 15 | IMX_SRCREV_ABBREV = "52c7e45" |
| @@ -28,18 +31,19 @@ PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | |||
| 28 | #| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] | 31 | #| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] |
| 29 | #| 2086 | ref_data = ref.virtual_address; | 32 | #| 2086 | ref_data = ref.virtual_address; |
| 30 | 33 | ||
| 31 | CFLAGS += " -Wno-error=incompatible-pointer-types" | 34 | CFLAGS += "-Wno-error=incompatible-pointer-types" |
| 32 | EXTRA_OEMAKE = " \ | 35 | EXTRA_OEMAKE = "\ |
| 33 | CROSS_COMPILE="${HOST_PREFIX}" \ | 36 | CROSS_COMPILE="${HOST_PREFIX}"\ |
| 34 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | 37 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}"\ |
| 35 | PLATFORM="${PLATFORM}" \ | 38 | PLATFORM="${PLATFORM}"\ |
| 36 | " | 39 | " |
| 37 | 40 | ||
| 38 | do_install () { | 41 | do_install () { |
| 39 | oe_runmake install DEST_DIR="${D}" | 42 | oe_runmake install DEST_DIR="${D}" |
| 40 | } | 43 | } |
| 41 | 44 | ||
| 45 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 46 | |||
| 42 | FILES:${PN} += "/unit_tests" | 47 | FILES:${PN} += "/unit_tests" |
| 43 | 48 | ||
| 44 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 45 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | 49 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb index fc90cdab7..f2162f624 100644 --- a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb +++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb | |||
| @@ -2,7 +2,10 @@ | |||
| 2 | # Copyright (C) 2013-2016 Freescale Semiconductor | 2 | # Copyright (C) 2013-2016 Freescale Semiconductor |
| 3 | # Copyright (C) 2017-2020 NXP | 3 | # Copyright (C) 2017-2020 NXP |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX VPU library for Chips&Media VPU" | ||
| 5 | DESCRIPTION = "Freescale VPU library for Chips&Media VPU" | 6 | DESCRIPTION = "Freescale VPU library for Chips&Media VPU" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | ||
| 8 | SECTION = "multimedia" | ||
| 6 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" |
| 8 | 11 | ||
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb index 5c2e4197f..9c8046b7c 100644 --- a/recipes-bsp/inphi/inphi_git.bb +++ b/recipes-bsp/inphi/inphi_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Firmwares and Standalone Applications" | 1 | SUMMARY = "Firmwares and Standalone Applications" |
| 2 | DESCRIPTION = "Inphi IN112525 PHY microcode firmware for NXP QorIQ platforms" | ||
| 3 | HOMEPAGE = "https://github.com/nxp/qoriq-firmware-inphi" | ||
| 4 | SECTION = "firmware" | ||
| 2 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 3 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" | 6 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" |
| 4 | 7 | ||
| @@ -9,7 +12,7 @@ SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" | |||
| 9 | 12 | ||
| 10 | do_install () { | 13 | do_install () { |
| 11 | install -d ${D}/boot | 14 | install -d ${D}/boot |
| 12 | cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot | 15 | install -m 0644 ${S}/in112525-phy-ucode.txt ${D}/boot |
| 13 | } | 16 | } |
| 14 | 17 | ||
| 15 | do_deploy () { | 18 | do_deploy () { |
| @@ -18,9 +21,9 @@ do_deploy () { | |||
| 18 | } | 21 | } |
| 19 | addtask deploy before do_build after do_install | 22 | addtask deploy before do_build after do_install |
| 20 | 23 | ||
| 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 25 | |||
| 21 | PACKAGES += "${PN}-image" | 26 | PACKAGES += "${PN}-image" |
| 22 | FILES:${PN}-image += "/boot" | 27 | FILES:${PN}-image += "/boot" |
| 23 | 28 | ||
| 24 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | 29 | COMPATIBLE_MACHINE = "(qoriq-arm64)" |
| 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 26 | |||
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb index 11580dfd2..cb4adeaee 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright 2020-2024 NXP | 1 | # Copyright 2020-2024 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "Basler camera binary drivers" | 3 | SUMMARY = "Basler camera binary drivers" |
| 4 | DESCRIPTION = "Basler camera binary drivers for the i.MX ISP." | ||
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 9 | ||
| @@ -25,5 +28,4 @@ FILES:${PN} = "${libdir} /opt" | |||
| 25 | INSANE_SKIP:${PN} = "already-stripped" | 28 | INSANE_SKIP:${PN} = "already-stripped" |
| 26 | RDEPENDS:${PN} += "isp-imx" | 29 | RDEPENDS:${PN} += "isp-imx" |
| 27 | 30 | ||
| 28 | |||
| 29 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 31 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb index 0a8ce57c0..9c6cbec00 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb | |||
| @@ -1,10 +1,13 @@ | |||
| 1 | # Copyright 2020-2025 NXP | 1 | # Copyright 2020-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | 3 | SUMMARY = "i.MX VeriSilicon software ISP" |
| 4 | DESCRIPTION = "VeriSilicon image signal processing (ISP) software stack for i.MX SoCs." | ||
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 9 | ||
| 7 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | 10 | DEPENDS = "boost jsoncpp libdrm libtinyxml2 patchelf-native virtual/libg2d" |
| 8 | 11 | ||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 10 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)}" | 13 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)}" |
| @@ -34,7 +37,7 @@ LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse- | |||
| 34 | 37 | ||
| 35 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | 38 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" |
| 36 | 39 | ||
| 37 | EXTRA_OECMAKE += " \ | 40 | EXTRA_OECMAKE += "\ |
| 38 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | 41 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ |
| 39 | -DCMAKE_BUILD_TYPE=release \ | 42 | -DCMAKE_BUILD_TYPE=release \ |
| 40 | -DISP_VERSION=ISP8000NANO_V1802 \ | 43 | -DISP_VERSION=ISP8000NANO_V1802 \ |
| @@ -83,7 +86,7 @@ do_install() { | |||
| 83 | FILES_SOLIBSDEV = "" | 86 | FILES_SOLIBSDEV = "" |
| 84 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | 87 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" |
| 85 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | 88 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" |
| 86 | FILES_SOLIBS_VERSIONED = " \ | 89 | FILES_SOLIBS_VERSIONED = "\ |
| 87 | ${libdir}/libcppnetlib-client-connections.so \ | 90 | ${libdir}/libcppnetlib-client-connections.so \ |
| 88 | ${libdir}/libcppnetlib-server-parsers.so \ | 91 | ${libdir}/libcppnetlib-server-parsers.so \ |
| 89 | ${libdir}/libcppnetlib-uri.so \ | 92 | ${libdir}/libcppnetlib-uri.so \ |
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb index a94d6bf14..3296ebd94 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ | 1 | DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ |
| 2 | ("DMA memory" or "DMA buffers") on i.MX devices.' | 2 | ("DMA memory" or "DMA buffers") on i.MX devices.' |
| 3 | HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" | 3 | HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" |
| 4 | LICENSE = "LGPL-2.1-only" | 4 | LICENSE = "LGPL-2.1-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" |
| @@ -11,7 +11,7 @@ SRCBRANCH ?= "master" | |||
| 11 | SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" | 11 | SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" |
| 12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ | 12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ |
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | inherit pkgconfig waf use-imx-headers ptest | 16 | inherit pkgconfig waf use-imx-headers ptest |
| 17 | 17 | ||
| @@ -47,33 +47,33 @@ CACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${CACHED_DMA_HEAP_DEVICE_NOD | |||
| 47 | UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \ | 47 | UNCACHED_DMA_HEAP_CONF = "--dma-heap-device-node-path=${UNCACHED_DMA_HEAP_DEVICE_NODE_PATH} \ |
| 48 | --dma-heap-uncached-memory" | 48 | --dma-heap-uncached-memory" |
| 49 | 49 | ||
| 50 | PACKAGECONFIG ?= " " | 50 | PACKAGECONFIG ?= "" |
| 51 | PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" | 51 | PACKAGECONFIG:append:imxgpu2d = " ${LIBG2D_PACKAGECONFIG}" |
| 52 | PACKAGECONFIG:append:imxipu = " ipu" | 52 | PACKAGECONFIG:append:imxipu = " ipu" |
| 53 | PACKAGECONFIG:append:imxpxp = " pxp" | 53 | PACKAGECONFIG:append:imxpxp = " pxp" |
| 54 | # All i.MX8 machines can use the dma-heap allocator. i.MX8m ones | 54 | # All i.MX8 machines can use the dma-heap allocator. i.MX8m ones |
| 55 | # can also use the DWL allocator, though dma-heap is preferred. | 55 | # can also use the DWL allocator, though dma-heap is preferred. |
| 56 | # Vendor kernels that are older than kernel 5.6 cannot use | 56 | # Vendor kernels that are older than kernel 5.6 cannot use |
| 57 | # dma-heap, however, and should use ion instead, since the | 57 | # dma-heap, however, and should use ion instead, since the |
| 58 | # former is not available pre-5.6. Out of the dma-heaps, we | 58 | # former is not available pre-5.6. Out of the dma-heaps, we |
| 59 | # pick the uncached one by default (see above). | 59 | # pick the uncached one by default (see above). |
| 60 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" | 60 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" |
| 61 | PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" | 61 | PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" |
| 62 | PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" | 62 | PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" |
| 63 | PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" | 63 | PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" |
| 64 | 64 | ||
| 65 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" | 65 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" |
| 66 | 66 | ||
| 67 | PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro" | 67 | PACKAGECONFIG[dwl] = "--with-dwl-allocator=yes ${HANTRO_CONF}, --with-dwl-allocator=no,imx-vpu-hantro" |
| 68 | PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no," | 68 | PACKAGECONFIG[ion] = "--with-ion-allocator=yes, --with-ion-allocator=no," |
| 69 | PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no," | 69 | PACKAGECONFIG[ipu] = "--with-ipu-allocator=yes, --with-ipu-allocator=no," |
| 70 | PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d" | 70 | PACKAGECONFIG[g2d] = "--with-g2d-allocator=yes, --with-g2d-allocator=no,virtual/libg2d" |
| 71 | PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no," | 71 | PACKAGECONFIG[pxp] = "--with-pxp-allocator=yes, --with-pxp-allocator=no," |
| 72 | # --with-dma-heap-allocator=no is not added by these packageconfigs. | 72 | # --with-dma-heap-allocator=no is not added by these packageconfigs. |
| 73 | # Otherwise, it would always be added, since only one of these two | 73 | # Otherwise, it would always be added, since only one of these two |
| 74 | # dma-heap-* packageconfigs can be selected. Instead, that switch | 74 | # dma-heap-* packageconfigs can be selected. Instead, that switch |
| 75 | # is added to EXTRA_OECONF above. | 75 | # is added to EXTRA_OECONF above. |
| 76 | PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \ | 76 | PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEAP_CONF}, \ |
| 77 | ,,,,dma-heap-uncached" | 77 | ,,,,dma-heap-uncached" |
| 78 | PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ | 78 | PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ |
| 79 | ,,,,dma-heap-cached" | 79 | ,,,,dma-heap-cached" |
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb index 60ab5e183..4a6e5ea87 100644 --- a/recipes-bsp/ls2-phy/ls2-phy_git.bb +++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Firmwares and Standalone Applications" | 1 | SUMMARY = "Firmwares and Standalone Applications" |
| 2 | DESCRIPTION = "Cortina PHY firmware and standalone applications for NXP QorIQ platforms" | ||
| 3 | HOMEPAGE = "https://github.com/nxp/qoriq-firmware-cortina" | ||
| 4 | SECTION = "firmware" | ||
| 2 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 3 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" | 6 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798" |
| 4 | 7 | ||
| @@ -9,7 +12,7 @@ SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" | |||
| 9 | 12 | ||
| 10 | do_install () { | 13 | do_install () { |
| 11 | install -d ${D}/boot | 14 | install -d ${D}/boot |
| 12 | cp -fr ${S}/* ${D}/boot | 15 | install -m 0644 ${S}/* ${D}/boot |
| 13 | } | 16 | } |
| 14 | 17 | ||
| 15 | do_deploy () { | 18 | do_deploy () { |
| @@ -18,9 +21,10 @@ do_deploy () { | |||
| 18 | } | 21 | } |
| 19 | addtask deploy before do_build after do_install | 22 | addtask deploy before do_build after do_install |
| 20 | 23 | ||
| 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 25 | |||
| 21 | PACKAGES += "${PN}-image" | 26 | PACKAGES += "${PN}-image" |
| 22 | FILES:${PN}-image += "/boot" | 27 | FILES:${PN}-image += "/boot" |
| 23 | 28 | ||
| 24 | COMPATIBLE_MACHINE = "(qoriq)" | 29 | COMPATIBLE_MACHINE = "(qoriq)" |
| 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 26 | 30 | ||
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 2d09bbcc8..ff502afb4 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | DESCRIPTION = "The Management Complex (MC) is a key component of DPAA" | 1 | DESCRIPTION = "The Management Complex (MC) is a key component of DPAA" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/mc-utils" | ||
| 2 | SECTION = "mc-utils" | 3 | SECTION = "mc-utils" |
| 3 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987" |
| @@ -20,20 +21,20 @@ MC_FLAVOUR ?= "${@oe.utils.ifelse(d.getVar('MACHINE').endswith('qds'), 'QDS', 'R | |||
| 20 | MC_FOLDER ?= "${@d.getVar('MC_CFG').upper() + '-' + d.getVar('MC_FLAVOUR')}" | 21 | MC_FOLDER ?= "${@d.getVar('MC_CFG').upper() + '-' + d.getVar('MC_FLAVOUR')}" |
| 21 | 22 | ||
| 22 | do_compile () { | 23 | do_compile () { |
| 23 | oe_runmake -C config | 24 | oe_runmake -C config |
| 24 | } | 25 | } |
| 25 | 26 | ||
| 26 | do_install () { | 27 | do_install () { |
| 27 | install -d ${D}/boot/mc-utils | 28 | install -d ${D}/boot/mc-utils |
| 28 | if [ -e ${S}/config/${MC_CFG}/${MC_FOLDER} ]; then | 29 | if [ -e ${S}/config/${MC_CFG}/${MC_FOLDER} ]; then |
| 29 | cp -r ${S}/config/${MC_CFG}/${MC_FOLDER}/* ${D}/boot/mc-utils/ | 30 | cp -r ${S}/config/${MC_CFG}/${MC_FOLDER}/* ${D}/boot/mc-utils/ |
| 30 | fi | 31 | fi |
| 31 | find ${D}/boot/mc-utils/ ! -name "*.dtb" ! -type d -exec rm {} \; | 32 | find ${D}/boot/mc-utils/ ! -name "*.dtb" ! -type d -exec rm {} \; |
| 32 | } | 33 | } |
| 33 | 34 | ||
| 34 | do_deploy () { | 35 | do_deploy () { |
| 35 | install -d ${DEPLOYDIR}/mc-utils | 36 | install -d ${DEPLOYDIR}/mc-utils |
| 36 | cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/ | 37 | cp -r ${D}/boot/mc-utils/* ${DEPLOYDIR}/mc-utils/ |
| 37 | } | 38 | } |
| 38 | addtask deploy after do_install | 39 | addtask deploy after do_install |
| 39 | 40 | ||
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb index ade3570c4..f6ba313da 100644 --- a/recipes-bsp/mxsldr/mxsldr_git.bb +++ b/recipes-bsp/mxsldr/mxsldr_git.bb | |||
| @@ -1,24 +1,26 @@ | |||
| 1 | # Copyright (C) 2012 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012 O.S. Systems Software LTDA. |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | SUMMARY = "i.MX233/i.MX28 USB loader" | ||
| 4 | DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader" | 5 | DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader" |
| 5 | DEPENDS = "libusb1" | 6 | HOMEPAGE = "https://source.denx.de/denx/mxsldr" |
| 7 | SECTION = "devel" | ||
| 6 | LICENSE = "GPL-2.0-or-later" | 8 | LICENSE = "GPL-2.0-or-later" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 10 | DEPENDS = "libusb1" | ||
| 8 | 11 | ||
| 9 | SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" | 12 | PV = "0.0.0+git${SRCPV}" |
| 10 | SRC_URI = "git://source.denx.de/denx/mxsldr.git;branch=master;protocol=https \ | 13 | SRC_URI = "git://source.denx.de/denx/mxsldr.git;branch=master;protocol=https \ |
| 11 | file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \ | 14 | file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \ |
| 12 | " | 15 | " |
| 13 | 16 | SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" | |
| 14 | PV = "0.0.0+git${SRCPV}" | ||
| 15 | 17 | ||
| 16 | inherit pkgconfig | 18 | inherit pkgconfig |
| 17 | 19 | ||
| 18 | do_compile() { | 20 | do_compile() { |
| 19 | oe_runmake | 21 | oe_runmake |
| 20 | } | 22 | } |
| 21 | do_install() { | 23 | do_install() { |
| 22 | oe_runmake install DESTDIR="${D}" | 24 | oe_runmake install DESTDIR="${D}" |
| 23 | } | 25 | } |
| 24 | BBCLASSEXTEND = "native nativesdk" | 26 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index ddbb2031c..f01939adc 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | |||
| @@ -1,8 +1,10 @@ | |||
| 1 | SUMMARY = "PPFE Linux firmware" | 1 | SUMMARY = "PPFE Linux firmware" |
| 2 | DESCRIPTION = "Packet Forwarding Engine (PFE) firmware binaries for NXP LS1012A SoCs" | ||
| 3 | HOMEPAGE = "https://github.com/NXP/qoriq-engine-pfe-bin" | ||
| 4 | SECTION = "firmware" | ||
| 2 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 3 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85" | 6 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=92723670f432558b9e2494ed177d2a85" |
| 4 | 7 | ||
| 5 | |||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | 8 | INHIBIT_DEFAULT_DEPS = "1" |
| 7 | 9 | ||
| 8 | inherit deploy | 10 | inherit deploy |
| @@ -26,6 +28,8 @@ do_deploy () { | |||
| 26 | addtask deploy after do_install | 28 | addtask deploy after do_install |
| 27 | 29 | ||
| 28 | FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/" | 30 | FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/" |
| 31 | # Prebuilt firmware blobs: foreign target arch, already stripped. | ||
| 32 | # nooelint: oelint.vars.insaneskip | ||
| 29 | INSANE_SKIP:${PN} += "arch already-stripped" | 33 | INSANE_SKIP:${PN} += "arch already-stripped" |
| 30 | INHIBIT_PACKAGE_STRIP = "1" | 34 | INHIBIT_PACKAGE_STRIP = "1" |
| 31 | INHIBIT_SYSROOT_STRIP = "1" | 35 | INHIBIT_SYSROOT_STRIP = "1" |
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 582fb1e46..0d1820326 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | DESCRIPTION = "qe microcode binary" | 1 | DESCRIPTION = "qe microcode binary" |
| 2 | HOMEPAGE = "https://github.com/NXP/qoriq-qe-ucode" | ||
| 2 | SECTION = "qe-ucode" | 3 | SECTION = "qe-ucode" |
| 3 | LICENSE = "NXP-Binary-EULA" | 4 | LICENSE = "NXP-Binary-EULA" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c" |
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index f7e309ae7..dbcc42108 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | SUMMARY = "Reset Configuration Word" | 1 | SUMMARY = "Reset Configuration Word" |
| 2 | DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" | 2 | DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/rcw" | ||
| 3 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=44a0d0fad189770cc022af4ac6262cbe" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=44a0d0fad189770cc022af4ac6262cbe" |
| 5 | 6 | ||
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc index 9cc6b958d..7d0189e17 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc +++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | inherit fsl-u-boot-localversion | 4 | inherit fsl-u-boot-localversion |
| 5 | 5 | ||
| 6 | LICENSE = "GPL-2.0-or-later" | 6 | LICENSE = "GPL-2.0-or-later" |
| 7 | HOMEPAGE = "https://github.com/Freescale/u-boot-fslc" | ||
| 7 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" | 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" |
| 8 | 9 | ||
| 9 | DEPENDS += "flex-native bison-native" | 10 | DEPENDS += "flex-native bison-native" |
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb index b7e4ca760..fe2e62452 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb | |||
| @@ -5,7 +5,7 @@ SECTION = "bootloader" | |||
| 5 | 5 | ||
| 6 | inherit python3native | 6 | inherit python3native |
| 7 | 7 | ||
| 8 | DEPENDS += " \ | 8 | DEPENDS += "\ |
| 9 | bison-native \ | 9 | bison-native \ |
| 10 | dtc \ | 10 | dtc \ |
| 11 | gnutls \ | 11 | gnutls \ |
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb index 4dc698219..681156041 100644 --- a/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb +++ b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb | |||
| @@ -2,9 +2,9 @@ require recipes-bsp/u-boot/u-boot.inc | |||
| 2 | require u-boot-fslc-common_${PV}.inc | 2 | require u-boot-fslc-common_${PV}.inc |
| 3 | 3 | ||
| 4 | DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ | 4 | DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ |
| 5 | order to provide support for some backported features and fixes, or because it \ | 5 | order to provide support for some backported features and fixes, or because it \ |
| 6 | was submitted for revision and it takes some time to become part of a stable \ | 6 | was submitted for revision and it takes some time to become part of a stable \ |
| 7 | version, or because it is not applicable for upstreaming." | 7 | version, or because it is not applicable for upstreaming." |
| 8 | 8 | ||
| 9 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 9 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 10 | 10 | ||
| @@ -16,8 +16,8 @@ B = "${WORKDIR}/build" | |||
| 16 | # used for generating the boot logo and other tools used | 16 | # used for generating the boot logo and other tools used |
| 17 | # during the build process. | 17 | # during the build process. |
| 18 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | 18 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ |
| 19 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ | 19 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ |
| 20 | HOSTSTRIP=true' | 20 | HOSTSTRIP=true' |
| 21 | 21 | ||
| 22 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | 22 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} |
| 23 | inherit uuu_bootloader_tag | 23 | inherit uuu_bootloader_tag |
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc index b80bf61d7..9dd2b61fe 100644 --- a/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc +++ b/recipes-bsp/u-boot/u-boot-imx-common_2025.04.inc | |||
| @@ -9,7 +9,7 @@ SRCBRANCH = "lf_v2025.04" | |||
| 9 | LOCALVERSION ?= "-${SRCBRANCH}" | 9 | LOCALVERSION ?= "-${SRCBRANCH}" |
| 10 | SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692" | 10 | SRCREV = "4ddbad60eff308a5b356fb9ab8734ac382ddd692" |
| 11 | 11 | ||
| 12 | DEPENDS += " \ | 12 | DEPENDS += "\ |
| 13 | bc-native \ | 13 | bc-native \ |
| 14 | bison-native \ | 14 | bison-native \ |
| 15 | dtc-native \ | 15 | dtc-native \ |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb index a27291460..31424c27a 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
| 6 | require u-boot-imx-common_${PV}.inc | 6 | require u-boot-imx-common_${PV}.inc |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/uboot-imx" | ||
| 7 | 8 | ||
| 8 | PROVIDES += "u-boot u-boot-mfgtool" | 9 | PROVIDES += "u-boot u-boot-mfgtool" |
| 9 | 10 | ||
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index 11e5ea0ff..b7162df8c 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -1,12 +1,13 @@ | |||
| 1 | require recipes-bsp/u-boot/u-boot.inc | 1 | require recipes-bsp/u-boot/u-boot.inc |
| 2 | 2 | ||
| 3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" | 3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ boards" |
| 4 | HOMEPAGE = "https://github.com/nxp-qoriq/u-boot" | ||
| 4 | PROVIDES += "u-boot" | 5 | PROVIDES += "u-boot" |
| 5 | 6 | ||
| 6 | inherit fsl-u-boot-localversion | 7 | inherit fsl-u-boot-localversion |
| 7 | 8 | ||
| 8 | LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only" | 9 | LICENSE = "GPL-2.0-only & BSD-3-Clause & BSD-2-Clause & LGPL-2.0-only & LGPL-2.1-only" |
| 9 | LIC_FILES_CHKSUM = " \ | 10 | LIC_FILES_CHKSUM = "\ |
| 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 11 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | 12 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ |
| 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | 13 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ |
| @@ -26,7 +27,7 @@ PV:append = "+fslgit" | |||
| 26 | LOCALVERSION = "+fsl" | 27 | LOCALVERSION = "+fsl" |
| 27 | 28 | ||
| 28 | INHIBIT_DEFAULT_DEPS = "1" | 29 | INHIBIT_DEFAULT_DEPS = "1" |
| 29 | DEPENDS = "libgcc virtual/cross-cc bison-native bc-native gnutls-native swig-native python3-native" | 30 | DEPENDS = "bc-native bison-native gnutls-native libgcc python3-native swig-native virtual/cross-cc" |
| 30 | DEPENDS:append:qoriq-arm64 = " dtc-native" | 31 | DEPENDS:append:qoriq-arm64 = " dtc-native" |
| 31 | DEPENDS:append:qoriq-arm = " dtc-native" | 32 | DEPENDS:append:qoriq-arm = " dtc-native" |
| 32 | DEPENDS:append:qoriq-ppc = " boot-format-native" | 33 | DEPENDS:append:qoriq-ppc = " boot-format-native" |
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index c0222a817..be47c1f57 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | DESCRIPTION = "Unified Extensible Firmware Interface" | 1 | DESCRIPTION = "Unified Extensible Firmware Interface" |
| 2 | HOMEPAGE = "https://github.com/NXP/qoriq-uefi-binary" | ||
| 2 | SECTION = "bootloaders" | 3 | SECTION = "bootloaders" |
| 3 | LICENSE = "NXP-Binary-EULA" | 4 | LICENSE = "NXP-Binary-EULA" |
| 4 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" | 5 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" |
diff --git a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb index e6dfe4309..18d3f9598 100644 --- a/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb +++ b/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb | |||
| @@ -1,18 +1,18 @@ | |||
| 1 | SUMMARY = "Lightweight crypto and SSL/TLS library" | 1 | SUMMARY = "Lightweight crypto and SSL/TLS library" |
| 2 | DESCRIPTION = "mbedtls is a lean open source crypto library \ | 2 | DESCRIPTION = "mbedtls is a lean open source crypto library \ |
| 3 | for providing SSL and TLS support in your programs. It offers \ | 3 | for providing SSL and TLS support in your programs. It offers \ |
| 4 | an intuitive API and documented header files, so you can actually \ | 4 | an intuitive API and documented header files, so you can actually \ |
| 5 | understand what the code does. It features: \ | 5 | understand what the code does. It features: \ |
| 6 | \ | 6 | \ |
| 7 | - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ | 7 | - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ |
| 8 | Camellia and XTEA \ | 8 | Camellia and XTEA \ |
| 9 | - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ | 9 | - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ |
| 10 | - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ | 10 | - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ |
| 11 | - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ | 11 | - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ |
| 12 | ECDSA and ECDH \ | 12 | ECDSA and ECDH \ |
| 13 | - SSL v3 and TLS 1.0, 1.1 and 1.2 \ | 13 | - SSL v3 and TLS 1.0, 1.1 and 1.2 \ |
| 14 | - Abstraction layers for ciphers, hashes, public key operations, \ | 14 | - Abstraction layers for ciphers, hashes, public key operations, \ |
| 15 | platform abstraction and threading \ | 15 | platform abstraction and threading \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | HOMEPAGE = "https://tls.mbed.org/" | 18 | HOMEPAGE = "https://tls.mbed.org/" |
| @@ -59,20 +59,20 @@ CVE_PRODUCT = "mbed_tls" | |||
| 59 | 59 | ||
| 60 | # Strip host paths from autogenerated test files | 60 | # Strip host paths from autogenerated test files |
| 61 | do_compile:append() { | 61 | do_compile:append() { |
| 62 | sed -i 's+${S}/++g' ${B}/tests/*.c 2>/dev/null || : | 62 | sed -i 's+${S}/++g' ${B}/tests/*.c 2>/dev/null || : |
| 63 | sed -i 's+${B}/++g' ${B}/tests/*.c 2>/dev/null || : | 63 | sed -i 's+${B}/++g' ${B}/tests/*.c 2>/dev/null || : |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | # Export source files/headers needed by Arm Trusted Firmware | 66 | # Export source files/headers needed by Arm Trusted Firmware |
| 67 | sysroot_stage_all:append() { | 67 | sysroot_stage_all:append() { |
| 68 | sysroot_stage_dir "${S}/library" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library" | 68 | sysroot_stage_dir "${S}/library" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/library" |
| 69 | sysroot_stage_dir "${S}/include" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include" | 69 | sysroot_stage_dir "${S}/include" "${SYSROOT_DESTDIR}/usr/share/mbedtls-source/include" |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | do_install_ptest () { | 72 | do_install_ptest () { |
| 73 | install -d ${D}${PTEST_PATH}/tests | 73 | install -d ${D}${PTEST_PATH}/tests |
| 74 | install -d ${D}${PTEST_PATH}/framework | 74 | install -d ${D}${PTEST_PATH}/framework |
| 75 | cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ | 75 | cp -f ${B}/tests/test_suite_* ${D}${PTEST_PATH}/tests/ |
| 76 | find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete | 76 | find ${D}${PTEST_PATH}/tests/ -type f -name "*.c" -delete |
| 77 | cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ | 77 | cp -fR ${S}/framework/data_files ${D}${PTEST_PATH}/framework/ |
| 78 | } | 78 | } |
diff --git a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend index 5c492725b..a20bf03a5 100644 --- a/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend +++ b/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | RDEPENDS:${PN} += " \ | 1 | RDEPENDS:${PN} += "\ |
| 2 | nativesdk-mxsldr \ | 2 | nativesdk-mxsldr \ |
| 3 | nativesdk-u-boot-mkimage \ | 3 | nativesdk-u-boot-mkimage \ |
| 4 | nativesdk-imx-usb-loader \ | 4 | nativesdk-imx-usb-loader \ |
diff --git a/recipes-core/udev/udev-rules-imx.bb b/recipes-core/udev/udev-rules-imx.bb index cd8d5ccb6..0f510e760 100644 --- a/recipes-core/udev/udev-rules-imx.bb +++ b/recipes-core/udev/udev-rules-imx.bb | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | SUMMARY = "udev rules for i.MX SoCs" | ||
| 1 | DESCRIPTION = "udev rules for Freescale i.MX SOCs" | 2 | DESCRIPTION = "udev rules for Freescale i.MX SOCs" |
| 2 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | 3 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" |
| 4 | SECTION = "base" | ||
| 3 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 5 | 7 | ||
| 6 | SRC_URI = " file://10-imx.rules" | 8 | SRC_URI = "file://10-imx.rules" |
| 7 | 9 | ||
| 8 | S = "${UNPACKDIR}" | 10 | S = "${UNPACKDIR}" |
| 9 | 11 | ||
diff --git a/recipes-core/udev/udev-rules-qoriq.bb b/recipes-core/udev/udev-rules-qoriq.bb index bd6158fe6..d30fb91b1 100644 --- a/recipes-core/udev/udev-rules-qoriq.bb +++ b/recipes-core/udev/udev-rules-qoriq.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "udev rules for QorIQ SoCs" | ||
| 1 | DESCRIPTION = "udev rules for Freescale QorIQ SOCs" | 2 | DESCRIPTION = "udev rules for Freescale QorIQ SOCs" |
| 3 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | ||
| 4 | SECTION = "base" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 4 | 7 | ||
| @@ -16,10 +19,10 @@ RULE:e6500 = "72-fsl-dpaa-persistent-networking.rules" | |||
| 16 | RULE:e6500-64b = "72-fsl-dpaa-persistent-networking.rules" | 19 | RULE:e6500-64b = "72-fsl-dpaa-persistent-networking.rules" |
| 17 | RULE:t1024 = "72-fsl-dpaa-persistent-networking.rules" | 20 | RULE:t1024 = "72-fsl-dpaa-persistent-networking.rules" |
| 18 | RULE:qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \ | 21 | RULE:qoriq-arm64 = "73-fsl-dpaa-persistent-networking.rules \ |
| 19 | 73-fsl-enetc-networking.rules \ | 22 | 73-fsl-enetc-networking.rules \ |
| 20 | " | 23 | " |
| 21 | RULE:ls1046a = "73-fsl-dpaa-persistent-networking.rules \ | 24 | RULE:ls1046a = "73-fsl-dpaa-persistent-networking.rules \ |
| 22 | 74-ls1046a-xfi2-networking.rules \ | 25 | 74-ls1046a-xfi2-networking.rules \ |
| 23 | " | 26 | " |
| 24 | RULE:ls1012a = "" | 27 | RULE:ls1012a = "" |
| 25 | 28 | ||
diff --git a/recipes-devtools/devregs/devregs_git.bb b/recipes-devtools/devregs/devregs_git.bb index 9d2155e1f..4ac89c43f 100644 --- a/recipes-devtools/devregs/devregs_git.bb +++ b/recipes-devtools/devregs/devregs_git.bb | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | DESCRIPTION = "i.MX Register tool" | 1 | SUMMARY = "i.MX register access tool" |
| 2 | DESCRIPTION = "Command-line tool to read and write i.MX SoC registers by name" | ||
| 3 | HOMEPAGE = "https://github.com/boundarydevices/devregs" | ||
| 2 | SECTION = "devel" | 4 | SECTION = "devel" |
| 3 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924" |
| 5 | 7 | ||
| 6 | SRCREV = "dcc3e3f26d3d867d5297a104dc32bd99f5e6fa71" | ||
| 7 | SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=https;branch=master" | ||
| 8 | |||
| 9 | PV = "1.0+${SRCPV}" | 8 | PV = "1.0+${SRCPV}" |
| 9 | SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=https;branch=master" | ||
| 10 | SRCREV = "dcc3e3f26d3d867d5297a104dc32bd99f5e6fa71" | ||
| 10 | 11 | ||
| 11 | inherit autotools | 12 | inherit autotools |
diff --git a/recipes-devtools/half/half_2.1.0.bb b/recipes-devtools/half/half_2.1.0.bb index 4914f8701..ca7984a4c 100644 --- a/recipes-devtools/half/half_2.1.0.bb +++ b/recipes-devtools/half/half_2.1.0.bb | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | SUMMARY = "C++ library for half precision floating point arithmetics" | 1 | SUMMARY = "C++ library for half precision floating point arithmetics" |
| 2 | DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \ | 2 | DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \ |
| 3 | half-precision floating point type along with corresponding arithmetic operators, \ | 3 | half-precision floating point type along with corresponding arithmetic operators, \ |
| 4 | type conversions and common mathematical functions." | 4 | type conversions and common mathematical functions." |
| 5 | HOMEPAGE = "https://half.sourceforge.net/" | ||
| 5 | 6 | ||
| 6 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831" |
diff --git a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb index c14fd955b..1f8c95f86 100644 --- a/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb +++ b/recipes-devtools/imx-usb-loader/imx-usb-loader_git.bb | |||
| @@ -1,17 +1,18 @@ | |||
| 1 | DESCRIPTION = "i.MX/Vybrid recovery utility" | 1 | SUMMARY = "i.MX/Vybrid USB recovery utility" |
| 2 | DESCRIPTION = "Utility to load and run programs on i.MX/Vybrid SoCs over USB using the serial download protocol" | ||
| 3 | HOMEPAGE = "https://github.com/boundarydevices/imx_usb_loader" | ||
| 2 | SECTION = "devel" | 4 | SECTION = "devel" |
| 3 | LICENSE = "LGPL-2.1-only" | 5 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 5 | 7 | ||
| 6 | DEPENDS = "libusb1" | 8 | DEPENDS = "libusb1" |
| 7 | 9 | ||
| 8 | SRCREV = "f009770d841468204ab104bf7d3b0c5bc8425dbb" | ||
| 9 | SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=https;branch=master" | ||
| 10 | |||
| 11 | PV = "1.0+${SRCPV}" | 10 | PV = "1.0+${SRCPV}" |
| 11 | SRC_URI = "git://github.com/boundarydevices/imx_usb_loader.git;protocol=https;branch=master" | ||
| 12 | SRCREV = "f009770d841468204ab104bf7d3b0c5bc8425dbb" | ||
| 12 | 13 | ||
| 13 | do_install () { | 14 | do_install () { |
| 14 | oe_runmake DESTDIR=${D} install | 15 | oe_runmake DESTDIR=${D} install |
| 15 | } | 16 | } |
| 16 | 17 | ||
| 17 | inherit pkgconfig | 18 | inherit pkgconfig |
diff --git a/recipes-devtools/qemu/qemu-qoriq.inc b/recipes-devtools/qemu/qemu-qoriq.inc index 60686bde8..c9a0b68e8 100644 --- a/recipes-devtools/qemu/qemu-qoriq.inc +++ b/recipes-devtools/qemu/qemu-qoriq.inc | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | SUMMARY = "Fast open source processor emulator" | 1 | SUMMARY = "Fast open source processor emulator" |
| 2 | DESCRIPTION = "QEMU is a hosted virtual machine monitor: it emulates the \ | 2 | DESCRIPTION = "QEMU is a hosted virtual machine monitor: it emulates the \ |
| 3 | machine's processor through dynamic binary translation and provides a set \ | 3 | machine's processor through dynamic binary translation and provides a set \ |
| 4 | of different hardware and device models for the machine, enabling it to run \ | 4 | of different hardware and device models for the machine, enabling it to run \ |
| 5 | a variety of guest operating systems" | 5 | a variety of guest operating systems" |
| 6 | HOMEPAGE = "http://qemu.org" | 6 | HOMEPAGE = "http://qemu.org" |
| 7 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | 7 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
| 8 | 8 | ||
| @@ -37,9 +37,9 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ | |||
| 37 | file://CVE-2020-25624.patch \ | 37 | file://CVE-2020-25624.patch \ |
| 38 | file://CVE-2020-25723.patch \ | 38 | file://CVE-2020-25723.patch \ |
| 39 | file://CVE-2020-28916.patch \ | 39 | file://CVE-2020-28916.patch \ |
| 40 | file://CVE-2020-35517.patch \ | 40 | file://CVE-2020-35517.patch \ |
| 41 | file://CVE-2020-29443.patch \ | 41 | file://CVE-2020-29443.patch \ |
| 42 | file://CVE-2021-20203.patch \ | 42 | file://CVE-2021-20203.patch \ |
| 43 | " | 43 | " |
| 44 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" | 44 | UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar" |
| 45 | 45 | ||
| @@ -58,25 +58,25 @@ do_install:append() { | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | do_compile_ptest() { | 60 | do_compile_ptest() { |
| 61 | make buildtest-TESTS | 61 | make buildtest-TESTS |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | do_install_ptest() { | 64 | do_install_ptest() { |
| 65 | cp -rL ${B}/tests ${D}${PTEST_PATH} | 65 | cp -rL ${B}/tests ${D}${PTEST_PATH} |
| 66 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} | 66 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} |
| 67 | 67 | ||
| 68 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests | 68 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests |
| 69 | # Don't check the file genreated by configure | 69 | # Don't check the file genreated by configure |
| 70 | sed -i -e '/wildcard config-host.mak/d' \ | 70 | sed -i -e '/wildcard config-host.mak/d' \ |
| 71 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include | 71 | -e '$ {/endif/d}' ${D}${PTEST_PATH}/tests/Makefile.include |
| 72 | sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ | 72 | sed -i -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ |
| 73 | ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env | 73 | ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | # QEMU_TARGETS is overridable variable | 76 | # QEMU_TARGETS is overridable variable |
| 77 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64" | 77 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 ppc64le riscv32 riscv64 sh4 x86_64" |
| 78 | 78 | ||
| 79 | EXTRA_OECONF = " \ | 79 | EXTRA_OECONF = "\ |
| 80 | --prefix=${prefix} \ | 80 | --prefix=${prefix} \ |
| 81 | --bindir=${bindir} \ | 81 | --bindir=${bindir} \ |
| 82 | --includedir=${includedir} \ | 82 | --includedir=${includedir} \ |
| @@ -95,7 +95,7 @@ EXTRA_OECONF = " \ | |||
| 95 | --with-git=/bin/false \ | 95 | --with-git=/bin/false \ |
| 96 | --disable-git-update \ | 96 | --disable-git-update \ |
| 97 | ${PACKAGECONFIG_CONFARGS} \ | 97 | ${PACKAGECONFIG_CONFARGS} \ |
| 98 | " | 98 | " |
| 99 | 99 | ||
| 100 | export LIBTOOL = "${HOST_SYS}-libtool" | 100 | export LIBTOOL = "${HOST_SYS}-libtool" |
| 101 | 101 | ||
| @@ -104,11 +104,11 @@ B = "${WORKDIR}/build" | |||
| 104 | EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3" | 104 | EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3" |
| 105 | 105 | ||
| 106 | do_configure:prepend:class-native() { | 106 | do_configure:prepend:class-native() { |
| 107 | # Append build host pkg-config paths for native target since the host may provide sdl | 107 | # Append build host pkg-config paths for native target since the host may provide sdl |
| 108 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") | 108 | BHOST_PKGCONFIG_PATH=$(PATH=/usr/bin:/bin pkg-config --variable pc_path pkg-config || echo "") |
| 109 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then | 109 | if [ ! -z "$BHOST_PKGCONFIG_PATH" ]; then |
| 110 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH | 110 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$BHOST_PKGCONFIG_PATH |
| 111 | fi | 111 | fi |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | do_configure() { | 114 | do_configure() { |
| @@ -117,8 +117,8 @@ do_configure() { | |||
| 117 | do_configure[cleandirs] += "${B}" | 117 | do_configure[cleandirs] += "${B}" |
| 118 | 118 | ||
| 119 | do_install () { | 119 | do_install () { |
| 120 | export STRIP="" | 120 | export STRIP="" |
| 121 | oe_runmake 'DESTDIR=${D}' install | 121 | oe_runmake 'DESTDIR=${D}' install |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | # The following fragment will create a wrapper for qemu-mips user emulation | 124 | # The following fragment will create a wrapper for qemu-mips user emulation |
| @@ -128,10 +128,10 @@ do_install () { | |||
| 128 | # the qemu-mips works fine. | 128 | # the qemu-mips works fine. |
| 129 | # IMPORTANT: This piece needs to be removed once the root cause is fixed! | 129 | # IMPORTANT: This piece needs to be removed once the root cause is fixed! |
| 130 | do_install:append() { | 130 | do_install:append() { |
| 131 | if [ -e "${D}/${bindir}/qemu-mips" ]; then | 131 | if [ -e "${D}/${bindir}/qemu-mips" ]; then |
| 132 | create_wrapper ${D}/${bindir}/qemu-mips \ | 132 | create_wrapper ${D}/${bindir}/qemu-mips \ |
| 133 | QEMU_RESERVED_VA=0x0 | 133 | QEMU_RESERVED_VA=0x0 |
| 134 | fi | 134 | fi |
| 135 | } | 135 | } |
| 136 | # END of qemu-mips workaround | 136 | # END of qemu-mips workaround |
| 137 | 137 | ||
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.2.bb b/recipes-devtools/qemu/qemu-qoriq_4.2.bb index 8996a2f44..db0ed3423 100644 --- a/recipes-devtools/qemu/qemu-qoriq_4.2.bb +++ b/recipes-devtools/qemu/qemu-qoriq_4.2.bb | |||
| @@ -4,7 +4,7 @@ require qemu-qoriq.inc | |||
| 4 | 4 | ||
| 5 | COMPATIBLE_MACHINE = "(qoriq)" | 5 | COMPATIBLE_MACHINE = "(qoriq)" |
| 6 | 6 | ||
| 7 | DEPENDS = "glib-2.0 zlib pixman bison-native" | 7 | DEPENDS = "bison-native glib-2.0 pixman zlib" |
| 8 | 8 | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ |
| 10 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" | 10 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" |
| @@ -49,7 +49,7 @@ do_install_ptest() { | |||
| 49 | ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env | 49 | ${D}/${PTEST_PATH}/tests/qemu-iotests/common.env |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | PACKAGECONFIG ??= " \ | 52 | PACKAGECONFIG ??= "\ |
| 53 | fdt sdl kvm aio libusb vhost numa \ | 53 | fdt sdl kvm aio libusb vhost numa \ |
| 54 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ | 54 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ |
| 55 | " | 55 | " |
diff --git a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb index eb01f5427..48e410e8a 100644 --- a/recipes-devtools/qoriq-cst/qoriq-cst_git.bb +++ b/recipes-devtools/qoriq-cst/qoriq-cst_git.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | SUMMARY = "utility for security boot" | 1 | SUMMARY = "utility for security boot" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/cst" | ||
| 2 | SECTION = "cst" | 3 | SECTION = "cst" |
| 3 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 4 | 5 | ||
| @@ -37,5 +38,5 @@ do_install () { | |||
| 37 | 38 | ||
| 38 | FILES:${PN}-dbg += "${bindir}/cst/.debug" | 39 | FILES:${PN}-dbg += "${bindir}/cst/.debug" |
| 39 | BBCLASSEXTEND = "native nativesdk" | 40 | BBCLASSEXTEND = "native nativesdk" |
| 40 | INSANE_SKIP:${PN}-dbg += " buildpaths" | 41 | INSANE_SKIP:${PN}-dbg += "buildpaths" |
| 41 | 42 | ||
diff --git a/recipes-devtools/stb/stb_git.bb b/recipes-devtools/stb/stb_git.bb index f5d52f809..db165588b 100644 --- a/recipes-devtools/stb/stb_git.bb +++ b/recipes-devtools/stb/stb_git.bb | |||
| @@ -1,11 +1,14 @@ | |||
| 1 | SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++" | 1 | SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++" |
| 2 | DESCRIPTION = "Collection of single-file public domain (or MIT licensed) libraries for C/C++ covering image loading and writing, font rasterisation and more" | ||
| 3 | HOMEPAGE = "https://github.com/nothings/stb" | ||
| 4 | SECTION = "libs" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2" | 6 | LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2" |
| 4 | 7 | ||
| 5 | PV = "0.0+git${SRCPV}" | 8 | PV = "0.0+git${SRCPV}" |
| 6 | 9 | ||
| 7 | SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0" | ||
| 8 | SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master" |
| 11 | SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0" | ||
| 9 | 12 | ||
| 10 | do_install() { | 13 | do_install() { |
| 11 | install -d ${D}${includedir} | 14 | install -d ${D}${includedir} |
diff --git a/recipes-devtools/uuu/uuu-bin_1.5.233.bb b/recipes-devtools/uuu/uuu-bin_1.5.233.bb index ec2f40e00..b0fcbc09a 100644 --- a/recipes-devtools/uuu/uuu-bin_1.5.233.bb +++ b/recipes-devtools/uuu/uuu-bin_1.5.233.bb | |||
| @@ -9,7 +9,7 @@ LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" | |||
| 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ | 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ |
| 10 | file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68" | 10 | file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68" |
| 11 | 11 | ||
| 12 | SRC_URI = " \ | 12 | SRC_URI = "\ |
| 13 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ | 13 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ |
| 14 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \ | 14 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \ |
| 15 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \ | 15 | https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \ |
diff --git a/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb index 7b3c2f606..02693c4fe 100644 --- a/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb +++ b/recipes-downgrade/glslang/glslang_1.3.275.0.imx.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | SUMMARY = "OpenGL / OpenGL ES Reference Compiler" | 1 | SUMMARY = "OpenGL / OpenGL ES Reference Compiler" |
| 2 | DESCRIPTION = "Glslang is the official reference compiler front end for the \ | 2 | DESCRIPTION = "Glslang is the official reference compiler front end for the \ |
| 3 | OpenGL ES and OpenGL shading languages. It implements a strict interpretation \ | 3 | OpenGL ES and OpenGL shading languages. It implements a strict interpretation \ |
| 4 | of the specifications for these languages. It is open and free for anyone to use, \ | 4 | of the specifications for these languages. It is open and free for anyone to use, \ |
| 5 | either from a command line or programmatically." | 5 | either from a command line or programmatically." |
| 6 | SECTION = "graphics" | 6 | SECTION = "graphics" |
| 7 | HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" | 7 | HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" |
| 8 | LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" | 8 | LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" |
| @@ -24,7 +24,7 @@ inherit cmake python3native | |||
| 24 | 24 | ||
| 25 | DEPENDS = "spirv-tools" | 25 | DEPENDS = "spirv-tools" |
| 26 | 26 | ||
| 27 | EXTRA_OECMAKE = " \ | 27 | EXTRA_OECMAKE = "\ |
| 28 | -DCMAKE_BUILD_TYPE=Release \ | 28 | -DCMAKE_BUILD_TYPE=Release \ |
| 29 | -DBUILD_SHARED_LIBS=ON \ | 29 | -DBUILD_SHARED_LIBS=ON \ |
| 30 | -DENABLE_PCH=OFF \ | 30 | -DENABLE_PCH=OFF \ |
diff --git a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb index 6b0c0a3f7..c1141bde7 100644 --- a/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb +++ b/recipes-downgrade/spir/spirv-tools_1.3.275.0.imx.bb | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | SUMMARY = "The SPIR-V Tools project provides an API and commands for \ | 1 | SUMMARY = "The SPIR-V Tools project provides an API and commands for \ |
| 2 | processing SPIR-V modules" | 2 | processing SPIR-V modules" |
| 3 | DESCRIPTION = "The project includes an assembler, binary module parser, \ | 3 | DESCRIPTION = "The project includes an assembler, binary module parser, \ |
| 4 | disassembler, validator, and optimizer for SPIR-V." | 4 | disassembler, validator, and optimizer for SPIR-V." |
| 5 | HOMEPAGE = "https://github.com/KhronosGroup/SPIRV-Tools" | 5 | HOMEPAGE = "https://github.com/KhronosGroup/SPIRV-Tools" |
| 6 | SECTION = "graphics" | 6 | SECTION = "graphics" |
| 7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 9 | 9 | ||
| 10 | SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc" | 10 | SRCREV = "f0cc85efdbbe3a46eae90e0f915dc1509836d0fc" |
diff --git a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb index 24630d0db..60a0c3a1a 100644 --- a/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-headers_1.3.275.0.imx.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | SUMMARY = "Vulkan Header files and API registry" | 1 | SUMMARY = "Vulkan Header files and API registry" |
| 2 | DESCRIPTION = "Vulkan is a 3D graphics and compute API providing cross-platform access \ | 2 | DESCRIPTION = "Vulkan is a 3D graphics and compute API providing cross-platform access \ |
| 3 | to modern GPUs with low overhead and targeting realtime graphics applications such as \ | 3 | to modern GPUs with low overhead and targeting realtime graphics applications such as \ |
| 4 | games and interactive media. This package contains the development headers \ | 4 | games and interactive media. This package contains the development headers \ |
| 5 | for packages wanting to make use of Vulkan." | 5 | for packages wanting to make use of Vulkan." |
| 6 | HOMEPAGE = "https://www.khronos.org/vulkan/" | 6 | HOMEPAGE = "https://www.khronos.org/vulkan/" |
| 7 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Headers" | 7 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Headers" |
| 8 | SECTION = "libs" | 8 | SECTION = "libs" |
diff --git a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb index 24fef1743..9d0df70dd 100644 --- a/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-loader_1.3.275.0.imx.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | SUMMARY = "3D graphics and compute API common loader" | 1 | SUMMARY = "3D graphics and compute API common loader" |
| 2 | DESCRIPTION = "Vulkan is a new generation graphics and compute API \ | 2 | DESCRIPTION = "Vulkan is a new generation graphics and compute API \ |
| 3 | that provides efficient access to modern GPUs. These packages \ | 3 | that provides efficient access to modern GPUs. These packages \ |
| 4 | provide only the common vendor-agnostic library loader, headers and \ | 4 | provide only the common vendor-agnostic library loader, headers and \ |
| 5 | the vulkaninfo utility." | 5 | the vulkaninfo utility." |
| 6 | HOMEPAGE = "https://www.khronos.org/vulkan/" | 6 | HOMEPAGE = "https://www.khronos.org/vulkan/" |
| 7 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader" | 7 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader" |
| 8 | SECTION = "libs" | 8 | SECTION = "libs" |
| @@ -19,12 +19,12 @@ inherit cmake features_check pkgconfig | |||
| 19 | DEPENDS += "vulkan-headers" | 19 | DEPENDS += "vulkan-headers" |
| 20 | 20 | ||
| 21 | EXTRA_OECMAKE = "\ | 21 | EXTRA_OECMAKE = "\ |
| 22 | -DBUILD_TESTS=OFF \ | 22 | -DBUILD_TESTS=OFF \ |
| 23 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ | 23 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ |
| 24 | -DASSEMBLER_WORKS=FALSE \ | 24 | -DASSEMBLER_WORKS=FALSE \ |
| 25 | -DVulkanHeaders_INCLUDE_DIR=${STAGING_INCDIR} \ | 25 | -DVulkanHeaders_INCLUDE_DIR=${STAGING_INCDIR} \ |
| 26 | -DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \ | 26 | -DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | 29 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" |
| 30 | 30 | ||
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb index f5fe8523d..4b0304f82 100644 --- a/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-tools_1.3.275.0.imx.bb | |||
| @@ -16,10 +16,10 @@ REQUIRED_DISTRO_FEATURES = "vulkan" | |||
| 16 | DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" | 16 | DEPENDS += "vulkan-headers vulkan-loader vulkan-volk" |
| 17 | 17 | ||
| 18 | EXTRA_OECMAKE = "\ | 18 | EXTRA_OECMAKE = "\ |
| 19 | -DBUILD_TESTS=OFF \ | 19 | -DBUILD_TESTS=OFF \ |
| 20 | -DBUILD_CUBE=OFF \ | 20 | -DBUILD_CUBE=OFF \ |
| 21 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ | 21 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | # must choose x11 or wayland or both | 24 | # must choose x11 or wayland or both |
| 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" |
diff --git a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb index 8ec4cbae9..fce4e0313 100644 --- a/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-utility-libraries_1.3.275.0.imx.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | SUMMARY = "Vulkan Utility Libraries" | 1 | SUMMARY = "Vulkan Utility Libraries" |
| 2 | DESCRIPTION = "Common libraries created to share code across various \ | 2 | DESCRIPTION = "Common libraries created to share code across various \ |
| 3 | Vulkan repositories, solving long standing issues for Vulkan SDK \ | 3 | Vulkan repositories, solving long standing issues for Vulkan SDK \ |
| 4 | developers and users." | 4 | developers and users." |
| 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" | 5 | HOMEPAGE = "https://www.khronos.org/vulkan/" |
| 6 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" | 6 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries" |
| 7 | SECTION = "libs" | 7 | SECTION = "libs" |
| @@ -18,7 +18,7 @@ DEPENDS = "vulkan-headers" | |||
| 18 | 18 | ||
| 19 | EXTRA_OECMAKE = "\ | 19 | EXTRA_OECMAKE = "\ |
| 20 | -DBUILD_TESTS=OFF \ | 20 | -DBUILD_TESTS=OFF \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | inherit cmake features_check pkgconfig | 23 | inherit cmake features_check pkgconfig |
| 24 | 24 | ||
diff --git a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb index 3068dd184..facad5834 100644 --- a/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb +++ b/recipes-downgrade/vulkan/vulkan-validation-layers_1.3.275.0.imx.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | SUMMARY = "Vulkan Validation layers" | 1 | SUMMARY = "Vulkan Validation layers" |
| 2 | DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ | 2 | DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ |
| 3 | in verifying that their applications correctly use the Vulkan API" | 3 | in verifying that their applications correctly use the Vulkan API" |
| 4 | HOMEPAGE = "https://www.khronos.org/vulkan/" | 4 | HOMEPAGE = "https://www.khronos.org/vulkan/" |
| 5 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" | 5 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" |
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| @@ -13,7 +13,7 @@ SRCREV = "780c65337e111c7385109c7b720d757a778e4fe2" | |||
| 13 | 13 | ||
| 14 | REQUIRED_DISTRO_FEATURES = "vulkan" | 14 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 15 | 15 | ||
| 16 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" | 16 | DEPENDS = "glslang spirv-headers spirv-tools vulkan-headers vulkan-loader vulkan-utility-libraries" |
| 17 | 17 | ||
| 18 | # BUILD_TESTS - Not required for OE builds | 18 | # BUILD_TESTS - Not required for OE builds |
| 19 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. | 19 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. |
| @@ -24,7 +24,7 @@ EXTRA_OECMAKE = "\ | |||
| 24 | -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \ | 24 | -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \ |
| 25 | -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | 25 | -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ |
| 26 | -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | 26 | -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" | 29 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" |
| 30 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | 30 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" |
diff --git a/recipes-dpaa/eth-config/eth-config_git.bb b/recipes-dpaa/eth-config/eth-config_git.bb index 858442aff..6d8f2d349 100644 --- a/recipes-dpaa/eth-config/eth-config_git.bb +++ b/recipes-dpaa/eth-config/eth-config_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "Ethernet config files" | ||
| 1 | DESCRIPTION = "Ethernet Configuration Files" | 2 | DESCRIPTION = "Ethernet Configuration Files" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/eth-config" | ||
| 2 | SECTION = "eth-config" | 4 | SECTION = "eth-config" |
| 3 | LICENSE = "BSD-3-Clause & GPL-2.0-or-later" | 5 | LICENSE = "BSD-3-Clause & GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=47716bd5b656aa5e298a132a64d2d1e4" |
diff --git a/recipes-dpaa/flib/flib_git.bb b/recipes-dpaa/flib/flib_git.bb index b7eafe627..f04def836 100644 --- a/recipes-dpaa/flib/flib_git.bb +++ b/recipes-dpaa/flib/flib_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | DESCRIPTION = "Foundation Library" | 1 | SUMMARY = "SEC descriptor foundation library" |
| 2 | DESCRIPTION = "Foundation library of frame descriptors for the QorIQ SEC (crypto) block." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/flib" | ||
| 2 | SECTION = "flib" | 4 | SECTION = "flib" |
| 3 | LICENSE = "BSD-3-Clause & GPL-2.0-only" | 5 | LICENSE = "BSD-3-Clause & GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=9f6d1afdf6b0f6b3ba65c25ba589ee53" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9f6d1afdf6b0f6b3ba65c25ba589ee53" |
diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb b/recipes-dpaa/fm-ucode/fm-ucode_git.bb index 77305958d..60306b9b3 100644 --- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb +++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "Fman microcode" | ||
| 1 | DESCRIPTION = "Fman microcode binary" | 2 | DESCRIPTION = "Fman microcode binary" |
| 3 | HOMEPAGE = "https://github.com/NXP/qoriq-fm-ucode" | ||
| 2 | SECTION = "fm-ucode" | 4 | SECTION = "fm-ucode" |
| 3 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=12e248d404ce1ea8bed0148fcf127e69" |
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index 2276ac3c6..761f48611 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | DESCRIPTION = "Frame Manager User Space Library" | 1 | SUMMARY = "Frame Manager userspace library" |
| 2 | DESCRIPTION = "Userspace library to configure the QorIQ DPAA Frame Manager (FMan)." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/fmlib" | ||
| 2 | SECTION = "fman" | 4 | SECTION = "fman" |
| 3 | LICENSE = "BSD-3-Clause & GPL-2.0-only" | 5 | LICENSE = "BSD-3-Clause & GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c7bd5e45d066db084bdb3543d55b1ac" |
| @@ -9,10 +11,10 @@ SRC_URI = "git://github.com/nxp-qoriq/fmlib;protocol=https;nobranch=1" | |||
| 9 | SRCREV = "7a58ecaf0d90d71d6b78d3ac7998282a472c4394" | 11 | SRCREV = "7a58ecaf0d90d71d6b78d3ac7998282a472c4394" |
| 10 | 12 | ||
| 11 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ | 13 | CFLAGS += "-fmacro-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1 \ |
| 12 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" | 14 | -fdebug-prefix-map=${STAGING_KERNEL_DIR}=/usr/src/debug/fmlib/git-r1" |
| 13 | 15 | ||
| 14 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | 16 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ |
| 15 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | 17 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" |
| 16 | 18 | ||
| 17 | TARGET_ARCH_FMLIB = "${DEFAULTTUNE}" | 19 | TARGET_ARCH_FMLIB = "${DEFAULTTUNE}" |
| 18 | TARGET_ARCH_FMLIB:qoriq-arm = "arm" | 20 | TARGET_ARCH_FMLIB:qoriq-arm = "arm" |
diff --git a/recipes-dpaa2/aiopsl/aiopsl_git.bb b/recipes-dpaa2/aiopsl/aiopsl_git.bb index b57e33afd..661c3af50 100644 --- a/recipes-dpaa2/aiopsl/aiopsl_git.bb +++ b/recipes-dpaa2/aiopsl/aiopsl_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "DPAA2 AIOP service layer" | ||
| 1 | DESCRIPTION = "DPAA2 Accelerated I/O Processing service layer" | 2 | DESCRIPTION = "DPAA2 Accelerated I/O Processing service layer" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/aiopsl" | ||
| 2 | SECTION = "dpaa2" | 4 | SECTION = "dpaa2" |
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=faf479bdc4702d8033049f97e153f876" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=faf479bdc4702d8033049f97e153f876" |
diff --git a/recipes-dpaa2/dce/dce_git.bb b/recipes-dpaa2/dce/dce_git.bb index a40b1672e..f2c6e5b88 100644 --- a/recipes-dpaa2/dce/dce_git.bb +++ b/recipes-dpaa2/dce/dce_git.bb | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | SUMMARY = "DPAA2 DCE userspace utilities" | ||
| 1 | DESCRIPTION = "Decompression Compression Engine Userspace Utils" | 2 | DESCRIPTION = "Decompression Compression Engine Userspace Utils" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/dce" | ||
| 2 | SECTION = "dpaa2" | 4 | SECTION = "dpaa2" |
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=956df5ea6cfe0a1dcf2dee7ca37c0cdf" |
| 5 | 7 | ||
| 6 | SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \ | 8 | SRC_URI = "git://github.com/nxp-qoriq/dce;protocol=https;nobranch=1 \ |
| 7 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/lib/qbman_userspace \ | 9 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/lib/qbman_userspace \ |
| 8 | file://0001-support-user-merge.patch \ | 10 | file://0001-support-user-merge.patch \ |
| 9 | " | 11 | " |
| 10 | SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807" | 12 | SRCREV = "88ef2e8c3845532ee64cea4349fd38fb2bd5f807" |
| 11 | SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3" | 13 | SRCREV_qbman = "2f92993a9f34e5221d6b36c63b9e30ef703e9ac3" |
diff --git a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb index 853dda9d7..026ce7100 100644 --- a/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb +++ b/recipes-dpaa2/gpp-aioptool/gpp-aioptool_git.bb | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | SUMMARY = "AIOP Tool userspace application" | ||
| 1 | DESCRIPTION = "AIOP Tool is a userspace application for performing operations \ | 2 | DESCRIPTION = "AIOP Tool is a userspace application for performing operations \ |
| 2 | on an AIOP Tile using MC interfaces. This application enables the user to \ | 3 | on an AIOP Tile using MC interfaces. This application enables the user to \ |
| 3 | fetch status of tile, load a valid ELF file and run it on a tile and get and set \ | 4 | fetch status of tile, load a valid ELF file and run it on a tile and get and set \ |
| 4 | time of day." | 5 | time of day." |
| 6 | HOMEPAGE = "https://github.com/nxp-qoriq/gpp-aioptool" | ||
| 5 | SECTION = "dpaa2" | 7 | SECTION = "dpaa2" |
| 6 | LICENSE = "BSD-3-Clause" | 8 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" | 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
| 8 | 10 | ||
| 9 | SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \ | 11 | SRC_URI = "git://github.com/nxp-qoriq/gpp-aioptool;protocol=https;nobranch=1 \ |
| 10 | file://0001-remove-libio.h.patch \ | 12 | file://0001-remove-libio.h.patch \ |
| 11 | file://0001-add-fcommon-to-fix-gcc-10-build-issue.patch \ | 13 | file://0001-add-fcommon-to-fix-gcc-10-build-issue.patch \ |
| 12 | " | 14 | " |
| 13 | SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1" | 15 | SRCREV = "6ead470dde043f3ca67f1ba19b313dd64ec199e1" |
| 14 | 16 | ||
diff --git a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb index 3b5ae98ed..3e25e929c 100644 --- a/recipes-dpaa2/management-complex/management-complex_10.39.0.bb +++ b/recipes-dpaa2/management-complex/management-complex_10.39.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "DPAA2 Management Complex Firmware" | 1 | SUMMARY = "DPAA2 Management Complex Firmware" |
| 2 | DESCRIPTION = "DPAA2 Management Complex (MC) firmware for NXP QorIQ Layerscape SoCs." | ||
| 3 | HOMEPAGE = "https://github.com/nxp/qoriq-mc-binary" | ||
| 4 | SECTION = "bsp" | ||
| 2 | LICENSE = "NXP-Binary-EULA" | 5 | LICENSE = "NXP-Binary-EULA" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0701845051a61f6012009d7d6d11b32b" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0701845051a61f6012009d7d6d11b32b" |
| 4 | 7 | ||
diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index 7a90bc996..601517115 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "DPAA2 Resource Manager Tool" | 1 | SUMMARY = "DPAA2 Resource Manager Tool" |
| 2 | DESCRIPTION = "Userspace resource manager tool for DPAA2 objects on NXP QorIQ SoCs." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/restool" | ||
| 4 | SECTION = "base" | ||
| 2 | LICENSE = "BSD-3-Clause | GPL-2.0-or-later" | 5 | LICENSE = "BSD-3-Clause | GPL-2.0-or-later" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=83af78c71766dd5fb1c1c3dd64a75ee7" |
| 4 | 7 | ||
diff --git a/recipes-dpaa2/spc/spc_git.bb b/recipes-dpaa2/spc/spc_git.bb index 93630a20c..8459dda01 100644 --- a/recipes-dpaa2/spc/spc_git.bb +++ b/recipes-dpaa2/spc/spc_git.bb | |||
| @@ -1,18 +1,21 @@ | |||
| 1 | SUMMARY = "Soft Parser Configuration tool" | 1 | SUMMARY = "Soft Parser Configuration tool" |
| 2 | DESCRIPTION = "Soft Parser Configuration tool for the DPAA Frame Manager." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/spc" | ||
| 4 | SECTION = "base" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=163b09a1c249a6ff2b28da1ceca2e0a8" |
| 4 | 7 | ||
| 5 | DEPENDS = "libxml2 fmlib tclap" | 8 | DEPENDS = "fmlib libxml2 tclap" |
| 6 | 9 | ||
| 7 | SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/spc;protocol=https;nobranch=1" |
| 8 | SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4" | 11 | SRCREV = "b8d69580e5c6aeeb9f1354ee2faed6e0134eaef4" |
| 9 | 12 | ||
| 10 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 13 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 11 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 14 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 12 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 15 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
| 13 | EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 16 | EXTRA_OEMAKE:class-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 14 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 17 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 15 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 18 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
| 16 | 19 | ||
| 17 | EXTRA_OEMAKE_PLATFORM ?= "" | 20 | EXTRA_OEMAKE_PLATFORM ?= "" |
| 18 | 21 | ||
diff --git a/recipes-extended/crconf/crconf_git.bb b/recipes-extended/crconf/crconf_git.bb index ed76351e1..5483c5a6c 100644 --- a/recipes-extended/crconf/crconf_git.bb +++ b/recipes-extended/crconf/crconf_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "crconf -Linux crypto layer configuraton tool" | 1 | SUMMARY = "crconf -Linux crypto layer configuraton tool" |
| 2 | DESCRIPTION = "Command-line tool to configure the Linux kernel crypto layer (crconf)." | ||
| 3 | HOMEPAGE = "https://sourceforge.net/projects/crconf/" | ||
| 2 | SECTION = "base" | 4 | SECTION = "base" |
| 3 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111" | 6 | LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=5;md5=0f77fc44eb5911007ae4ac9f6736e111" |
diff --git a/recipes-extended/dpdk/dpdk_22.11.bb b/recipes-extended/dpdk/dpdk_22.11.bb index 84bda4770..6460c855a 100644 --- a/recipes-extended/dpdk/dpdk_22.11.bb +++ b/recipes-extended/dpdk/dpdk_22.11.bb | |||
| @@ -9,7 +9,7 @@ DEPENDS = "python3-pyelftools-native" | |||
| 9 | 9 | ||
| 10 | DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https" | 10 | DPDK_SRC ?= "git://github.com/nxp-qoriq/dpdk;protocol=https" |
| 11 | SRC_URI = "${DPDK_SRC};nobranch=1 \ | 11 | SRC_URI = "${DPDK_SRC};nobranch=1 \ |
| 12 | file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch" | 12 | file://0001-meson.build-march-and-mcpu-already-passed-by-Yocto.patch" |
| 13 | SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae" | 13 | SRCREV = "e09ece7ebcda131ee3d5a45999ad3396ee2092ae" |
| 14 | 14 | ||
| 15 | inherit meson pkgconfig | 15 | inherit meson pkgconfig |
| @@ -25,14 +25,14 @@ DPDK_EXAMPLES ?= "l2fwd,l3fwd,l2fwd-crypto,ipsec-secgw,ip_fragmentation,ip_reass | |||
| 25 | DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf" | 25 | DPDK_APPS ?= "pdump,test-pmd,proc-info,test-crypto-perf" |
| 26 | 26 | ||
| 27 | # kernel module is provide by dpdk-module recipe, so disable here | 27 | # kernel module is provide by dpdk-module recipe, so disable here |
| 28 | EXTRA_OEMESON = " \ | 28 | EXTRA_OEMESON = "\ |
| 29 | -Denable_kmods=false \ | 29 | -Denable_kmods=false \ |
| 30 | -Doptimization=3 \ | 30 | -Doptimization=3 \ |
| 31 | --cross-file ${S}/config/arm/arm64_poky_linux_gcc \ | 31 | --cross-file ${S}/config/arm/arm64_poky_linux_gcc \ |
| 32 | -Denable_driver_sdk=true \ | 32 | -Denable_driver_sdk=true \ |
| 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \ | 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'vpp', '-Dc_args="-Ofast -fPIC -ftls-model=local-dynamic"', '', d)} \ |
| 34 | -Denable_examples_source_install=false \ | 34 | -Denable_examples_source_install=false \ |
| 35 | -Denable_apps=${DPDK_APPS} \ | 35 | -Denable_apps=${DPDK_APPS} \ |
| 36 | " | 36 | " |
| 37 | 37 | ||
| 38 | do_install:append(){ | 38 | do_install:append(){ |
diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb index 4bcb597e7..0eb23807a 100644 --- a/recipes-extended/jailhouse/jailhouse-imx_git.bb +++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb | |||
| @@ -4,13 +4,13 @@ SECTION = "jailhouse" | |||
| 4 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
| 5 | 5 | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ |
| 7 | file://tools/root-cell-config.c.tmpl;beginline=6;endline=33;md5=2825581c1666c44a17955dc574cfbfb3 \ | 7 | file://tools/root-cell-config.c.tmpl;beginline=6;endline=33;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 8 | file://include/jailhouse/hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 8 | file://include/jailhouse/hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 9 | file://include/jailhouse/cell-config.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 9 | file://include/jailhouse/cell-config.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 10 | file://include/arch/arm/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 10 | file://include/arch/arm/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 11 | file://include/arch/arm64/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 11 | file://include/arch/arm64/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 12 | file://include/arch/x86/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 12 | file://include/arch/x86/asm/jailhouse_hypercall.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 13 | file://driver/jailhouse.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ | 13 | file://driver/jailhouse.h;beginline=9;endline=36;md5=2825581c1666c44a17955dc574cfbfb3 \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | PROVIDES = "jailhouse" | 16 | PROVIDES = "jailhouse" |
| @@ -26,9 +26,9 @@ SRC_URI = "${IMX_JAILHOUSE_SRC};branch=${SRCBRANCH} \ | |||
| 26 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ | 26 | file://arm-arm64-Makefile-Remove-march-option-from-Makefile.patch \ |
| 27 | file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \ | 27 | file://0001-YOCIMX-9281-1-Fix-gcc15-errors.patch \ |
| 28 | file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \ | 28 | file://0002-YOCIMX-9281-2-hypervisor-arm64-fix-strh-usage.patch \ |
| 29 | " | 29 | " |
| 30 | 30 | ||
| 31 | DEPENDS = " \ | 31 | DEPENDS = "\ |
| 32 | make-native \ | 32 | make-native \ |
| 33 | python3-mako-native \ | 33 | python3-mako-native \ |
| 34 | python3-mako \ | 34 | python3-mako \ |
| @@ -96,14 +96,14 @@ FILES:${PN} += "${nonarch_base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DA | |||
| 96 | FILES:${PN}:remove = "${libdir}/*" | 96 | FILES:${PN}:remove = "${libdir}/*" |
| 97 | FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}" | 97 | FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}" |
| 98 | 98 | ||
| 99 | RDEPENDS:${PN} += " \ | 99 | RDEPENDS:${PN} += "\ |
| 100 | pyjailhouse \ | 100 | pyjailhouse \ |
| 101 | python3-curses \ | 101 | python3-curses \ |
| 102 | python3-datetime \ | 102 | python3-datetime \ |
| 103 | python3-mmap \ | 103 | python3-mmap \ |
| 104 | " | 104 | " |
| 105 | 105 | ||
| 106 | RDEPENDS:pyjailhouse = " \ | 106 | RDEPENDS:pyjailhouse = "\ |
| 107 | python3-core \ | 107 | python3-core \ |
| 108 | python3-ctypes \ | 108 | python3-ctypes \ |
| 109 | python3-fcntl \ | 109 | python3-fcntl \ |
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index 347a8ef9a..2f97de27e 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | DESCRIPTION = "PKCS library" | 1 | DESCRIPTION = "PKCS library" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/libpkcs11" | ||
| 2 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" |
| 4 | 5 | ||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ | 6 | SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ |
| 6 | file://0001-fix-multiple-definition-error.patch \ | 7 | file://0001-fix-multiple-definition-error.patch \ |
| 7 | " | 8 | " |
| 8 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" | 9 | SRCREV = "8d85182b7a7cd393ab6dd72930f8d1b69468f741" |
| 9 | 10 | ||
| @@ -20,7 +21,7 @@ EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}"' | |||
| 20 | do_compile() { | 21 | do_compile() { |
| 21 | export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" | 22 | export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" |
| 22 | export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" | 23 | export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" |
| 23 | oe_runmake all | 24 | oe_runmake all |
| 24 | } | 25 | } |
| 25 | 26 | ||
| 26 | do_install(){ | 27 | do_install(){ |
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb index a1f8a35a7..b3ed0040c 100644 --- a/recipes-extended/merge-files/merge-files_1.0.bb +++ b/recipes-extended/merge-files/merge-files_1.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Merge extra files into the rootfs" | ||
| 1 | DESCRIPTION = "Merge prebuilt/extra files into rootfs" | 2 | DESCRIPTION = "Merge prebuilt/extra files into rootfs" |
| 3 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | ||
| 4 | SECTION = "base" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 4 | 7 | ||
diff --git a/recipes-extended/odp/odp.inc b/recipes-extended/odp/odp.inc index 412667f01..adfd936d7 100644 --- a/recipes-extended/odp/odp.inc +++ b/recipes-extended/odp/odp.inc | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | SUMMARY = "Open Data Plane Interface Implementation" | 1 | SUMMARY = "Open Data Plane Interface Implementation" |
| 2 | DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \ | 2 | DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \ |
| 3 | environment that is easy to use, high performance, and portable between networking SoCs." | 3 | environment that is easy to use, high performance, and portable between networking SoCs." |
| 4 | HOMEPAGE = "http://www.opendataplane.org" | 4 | HOMEPAGE = "http://www.opendataplane.org" |
| 5 | SECTION = "console/network" | 5 | SECTION = "console/network" |
| 6 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
| @@ -8,10 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ca6103dc75397fb6bec596187d6b7829" | |||
| 8 | 8 | ||
| 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/odp:" | 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/odp:" |
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = "\ |
| 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ | 12 | git://github.com/nxp-qoriq/odp;protocol=https;nobranch=1 \ |
| 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ | 13 | git://github.com/nxp-qoriq/qbman_userspace;protocol=https;nobranch=1;name=qbman;destsuffix=${S}/platform/linux-dpaa2/flib/qbman \ |
| 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \ | 14 | git://github.com/nxp-qoriq/flib;protocol=https;nobranch=1;name=rta;destsuffix=${S}/platform/linux-dpaa2/flib/rta \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" | 17 | SRC_URI += "file://0001-Fix-this-build-error.patch" |
diff --git a/recipes-extended/odp/odp_git.bb b/recipes-extended/odp/odp_git.bb index 7d6600d00..e531515b1 100644 --- a/recipes-extended/odp/odp_git.bb +++ b/recipes-extended/odp/odp_git.bb | |||
| @@ -4,9 +4,9 @@ inherit autotools-brokensep | |||
| 4 | 4 | ||
| 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 6 | 6 | ||
| 7 | DEPENDS = "openssl cunit libxml2" | 7 | DEPENDS = "cunit libxml2 openssl" |
| 8 | 8 | ||
| 9 | RDEPENDS:${PN} = "bash libcrypto libssl odp-module odp-counters" | 9 | RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module" |
| 10 | 10 | ||
| 11 | ODP_SOC ?= "" | 11 | ODP_SOC ?= "" |
| 12 | ODP_SOC:ls1043ardb = "LS1043" | 12 | ODP_SOC:ls1043ardb = "LS1043" |
| @@ -28,7 +28,7 @@ EXTRA_OEMAKE = "CROSS_COMPILE="${TARGET_PREFIX}" \ | |||
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \ | 30 | CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \ |
| 31 | -Wno-stringop-truncation \ | 31 | -Wno-stringop-truncation \ |
| 32 | " | 32 | " |
| 33 | 33 | ||
| 34 | PACKAGECONFIG[perf] = "--enable-test-perf,,," | 34 | PACKAGECONFIG[perf] = "--enable-test-perf,,," |
diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb index 0f90dc5bb..98816ae60 100644 --- a/recipes-extended/ofp/ofp_git.bb +++ b/recipes-extended/ofp/ofp_git.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | SUMMARY = "An open source user space fast path TCP/IP stack" | 1 | SUMMARY = "An open source user space fast path TCP/IP stack" |
| 2 | DESCRIPTION = "openfastpath is used to enable accelerated routing/forwarding for IPv4 and IPv6, \ | 2 | DESCRIPTION = "openfastpath is used to enable accelerated routing/forwarding for IPv4 and IPv6, \ |
| 3 | tunneling and termination for a variety of protocols." | 3 | tunneling and termination for a variety of protocols." |
| 4 | HOMEPAGE = "http://www.openfastpath.org" | 4 | HOMEPAGE = "http://www.openfastpath.org" |
| @@ -16,7 +16,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 16 | 16 | ||
| 17 | DEPENDS = "odp" | 17 | DEPENDS = "odp" |
| 18 | 18 | ||
| 19 | EXTRA_OECONF = " \ | 19 | EXTRA_OECONF = "\ |
| 20 | --prefix=/usr \ | 20 | --prefix=/usr \ |
| 21 | --libdir=${libdir} \ | 21 | --libdir=${libdir} \ |
| 22 | --host=${SIMPLE_TARGET_SYS} \ | 22 | --host=${SIMPLE_TARGET_SYS} \ |
diff --git a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb index 5f235b4cf..263f1c12c 100644 --- a/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb +++ b/recipes-extended/ovs-dpdk/ovs-dpdk_3.1.bb | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | DESCRIPTION = "Open Virtual switch based on DPDK" | 1 | DESCRIPTION = "Open Virtual switch based on DPDK" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/ovs-dpdk" | ||
| 2 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" |
| 4 | 5 | ||
| 5 | DEPENDS = "dpdk python3-six-native coreutils-native autoconf-native automake-native" | 6 | DEPENDS = "autoconf-native automake-native coreutils-native dpdk python3-six-native" |
| 6 | RDEPENDS:${PN} = "bash libcrypto libssl python3" | 7 | RDEPENDS:${PN} = "bash libcrypto libssl python3" |
| 7 | 8 | ||
| 8 | inherit python3native pkgconfig | 9 | inherit python3native pkgconfig |
| @@ -13,7 +14,7 @@ SRCREV = "7b4861e1f77bbea5ff9952717b66362fdecbca4d" | |||
| 13 | do_configure() { | 14 | do_configure() { |
| 14 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} | 15 | export SYSROOT_DPDK=${PKG_CONFIG_SYSROOT_DIR} |
| 15 | ${S}/boot.sh | 16 | ${S}/boot.sh |
| 16 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" | 17 | ${S}/configure --host aarch64-fsl-linux --with-dpdk=static --with-openssl=${SYSROOT_DPDK}/usr CFLAGS="-g -Wno-cast-align -Ofast" |
| 17 | } | 18 | } |
| 18 | 19 | ||
| 19 | do_install:append() { | 20 | do_install:append() { |
| @@ -27,8 +28,8 @@ do_install:append() { | |||
| 27 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk | 28 | install -m 0755 ${S}/utilities/ovs-ofctl ${D}${bindir}/ovs-dpdk |
| 28 | } | 29 | } |
| 29 | 30 | ||
| 30 | INSANE_SKIP:${PN}-dbg += " buildpaths" | 31 | INSANE_SKIP:${PN}-dbg += "buildpaths" |
| 31 | INSANE_SKIP:${PN} += " buildpaths" | 32 | INSANE_SKIP:${PN} += "buildpaths" |
| 32 | 33 | ||
| 33 | ALLOW_EMPTY:${PN} = "1" | 34 | ALLOW_EMPTY:${PN} = "1" |
| 34 | INHIBIT_PACKAGE_STRIP = "1" | 35 | INHIBIT_PACKAGE_STRIP = "1" |
diff --git a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb index 485f763bf..49a506a13 100644 --- a/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb +++ b/recipes-extended/pktgen-dpdk/pktgen-dpdk_21.05.0.bb | |||
| @@ -1,11 +1,12 @@ | |||
| 1 | DESCRIPTION = "PKTGEN DPDK" | 1 | DESCRIPTION = "PKTGEN DPDK" |
| 2 | HOMEPAGE = "https://git.dpdk.org/apps/pktgen-dpdk/" | ||
| 2 | LICENSE = "BSD" | 3 | LICENSE = "BSD" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0245ceedaef59ae0129500b0ce1e8a45" |
| 4 | 5 | ||
| 5 | DEPENDS += "libpcap dpdk lua lua-native" | 6 | DEPENDS += "dpdk libpcap lua lua-native" |
| 6 | 7 | ||
| 7 | SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \ | 8 | SRC_URI = "git://dpdk.org/git/apps/pktgen-dpdk;protocol=https;nobranch=1 \ |
| 8 | file://fix-gcc11-mismatched-dealloc-error.patch \ | 9 | file://fix-gcc11-mismatched-dealloc-error.patch \ |
| 9 | " | 10 | " |
| 10 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" | 11 | SRCREV = "3a09aa916597fb9a97ee8eec50044cbdb9c4abde" |
| 11 | 12 | ||
| @@ -23,9 +24,9 @@ do_configure:prepend() { | |||
| 23 | } | 24 | } |
| 24 | 25 | ||
| 25 | do_install() { | 26 | do_install() { |
| 26 | install -d ${D}${bindir}/ | 27 | install -d ${D}${bindir}/ |
| 27 | install -m 0755 app/pktgen ${D}${bindir}/ | 28 | install -m 0755 app/pktgen ${D}${bindir}/ |
| 28 | install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/ | 29 | install -m 0644 ${S}/Pktgen.lua ${D}${bindir}/ |
| 29 | } | 30 | } |
| 30 | 31 | ||
| 31 | INSANE_SKIP:${PN} = "ldflags" | 32 | INSANE_SKIP:${PN} = "ldflags" |
diff --git a/recipes-extended/secure-obj/secure-obj-module_git.bb b/recipes-extended/secure-obj/secure-obj-module_git.bb index c6bbc41df..73adcebf1 100644 --- a/recipes-extended/secure-obj/secure-obj-module_git.bb +++ b/recipes-extended/secure-obj/secure-obj-module_git.bb | |||
| @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=751419260aa954499f7abaabaa882bbe" | |||
| 4 | 4 | ||
| 5 | DEPENDS += "virtual/kernel" | 5 | DEPENDS += "virtual/kernel" |
| 6 | 6 | ||
| 7 | inherit module | 7 | inherit module |
| 8 | 8 | ||
| 9 | S = "${UNPACKDIR}/${BP}/securekeydev" | 9 | S = "${UNPACKDIR}/${BP}/securekeydev" |
| 10 | 10 | ||
diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc index 16115ff03..4ce06d17b 100644 --- a/recipes-extended/secure-obj/secure-obj.inc +++ b/recipes-extended/secure-obj/secure-obj.inc | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | DESCRIPTION = "Secure Object" | 1 | DESCRIPTION = "Secure Object" |
| 2 | HOMEPAGE = "https://github.com/nxp-qoriq/secure_obj" | ||
| 2 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 3 | 4 | ||
| 4 | DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" | 5 | DEPENDS = "openssl optee-client-qoriq optee-os-qoriq" |
| 5 | RDEPENDS:${PN} = "bash libcrypto libssl" | 6 | RDEPENDS:${PN} = "bash libcrypto libssl" |
| 6 | 7 | ||
| 7 | DEPENDS += "python3-pycryptodomex-native" | 8 | DEPENDS += "python3-pycryptodomex-native" |
diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb index 4d197f57c..d0c513ba5 100644 --- a/recipes-extended/secure-obj/secure-obj_git.bb +++ b/recipes-extended/secure-obj/secure-obj_git.bb | |||
| @@ -2,9 +2,9 @@ require secure-obj.inc | |||
| 2 | 2 | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" |
| 4 | 4 | ||
| 5 | DEPENDS:remove = " python3-pycryptodomex-native" | 5 | DEPENDS:remove = "python3-pycryptodomex-native" |
| 6 | DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" | 6 | DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" |
| 7 | RDEPENDS:{PN} += "secure-obj-module" | 7 | RDEPENDS:${PN} += "secure-obj-module" |
| 8 | 8 | ||
| 9 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 9 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
| 10 | export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" | 10 | export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" |
| @@ -24,23 +24,23 @@ do_compile() { | |||
| 24 | for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do | 24 | for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do |
| 25 | cd ${APP} | 25 | cd ${APP} |
| 26 | oe_runmake | 26 | oe_runmake |
| 27 | cd .. | 27 | cd .. |
| 28 | done | 28 | done |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | do_install() { | 31 | do_install() { |
| 32 | install -d ${D}${bindir} | 32 | install -d ${D}${bindir} |
| 33 | install -d ${D}${includedir} | 33 | install -d ${D}${includedir} |
| 34 | install -d ${D}${base_libdir}/optee_armtz | 34 | install -d ${D}${base_libdir}/optee_armtz |
| 35 | install -d ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines | 35 | install -d ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines |
| 36 | cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz | 36 | cp ${S}/secure_storage_ta/ta/b05bcf48-9732-4efa-a9e0-141c7c888c34.ta ${D}${base_libdir}/optee_armtz |
| 37 | cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir} | 37 | cp ${S}/securekey_lib/out/export/lib/libsecure_obj.so ${D}${libdir} |
| 38 | cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines | 38 | cp ${S}/secure_obj-openssl-engine/libeng_secure_obj.so ${D}${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines |
| 39 | cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir} | 39 | cp ${S}/securekey_lib/out/export/app/*_app ${D}${bindir} |
| 40 | cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir} | 40 | cp ${S}/securekey_lib/out/export/app/mp_verify ${D}${bindir} |
| 41 | cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir} | 41 | cp ${S}/secure_obj-openssl-engine/app/sobj_eng_app ${D}${bindir} |
| 42 | cp ${S}/securekey_lib/out/export/include/* ${D}${includedir} | 42 | cp ${S}/securekey_lib/out/export/include/* ${D}${includedir} |
| 43 | rm -rf ${D}${bindir}/test | 43 | rm -rf ${D}${bindir}/test |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | FILES:${PN} += "${base_libdir}/optee_armtz ${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines" | 46 | FILES:${PN} += "${base_libdir}/optee_armtz ${libdir}/${ARCH}-linux-gnu/openssl-1.0.0/engines" |
diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb index 72638766c..e6211ed9f 100644 --- a/recipes-extended/skmm-ep/skmm-ep_git.bb +++ b/recipes-extended/skmm-ep/skmm-ep_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "SKMM PCIe endpoint application" | ||
| 1 | DESCRIPTION = "SKMM application for PCIe endpoint" | 2 | DESCRIPTION = "SKMM application for PCIe endpoint" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/skmm-ep" | ||
| 2 | SECTION = "skmm-ep" | 4 | SECTION = "skmm-ep" |
| 3 | LICENSE = "BSD & GPL-2.0-only" | 5 | LICENSE = "BSD & GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f" | 6 | LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f" |
| @@ -8,7 +10,7 @@ DEPENDS = "libedit openssl virtual/kernel" | |||
| 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 9 | 11 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch=1 \ | 12 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-ep;protocol=https;nobranch=1 \ |
| 11 | file://add-two-missing-header-files.patch \ | 13 | file://add-two-missing-header-files.patch \ |
| 12 | " | 14 | " |
| 13 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" | 15 | SRCREV = "de6816c7d66129683bc62229b482ac3cf585d896" |
| 14 | 16 | ||
| @@ -18,11 +20,11 @@ export LIBEDIT_CFLAGS = "`pkg-config --cflags libedit`" | |||
| 18 | export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`" | 20 | export LIBEDIT_LDFLAGS = "`pkg-config --libs --static libedit`" |
| 19 | 21 | ||
| 20 | do_compile () { | 22 | do_compile () { |
| 21 | oe_runmake | 23 | oe_runmake |
| 22 | } | 24 | } |
| 23 | 25 | ||
| 24 | do_install () { | 26 | do_install () { |
| 25 | oe_runmake install DESTDIR=${D} | 27 | oe_runmake install DESTDIR=${D} |
| 26 | } | 28 | } |
| 27 | 29 | ||
| 28 | COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)" | 30 | COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)" |
diff --git a/recipes-extended/testfloat/testfloat_2a.bb b/recipes-extended/testfloat/testfloat_2a.bb index 45e9365da..87187aa83 100644 --- a/recipes-extended/testfloat/testfloat_2a.bb +++ b/recipes-extended/testfloat/testfloat_2a.bb | |||
| @@ -1,14 +1,17 @@ | |||
| 1 | SUMMARY = "Floating-point implementation test suite" | ||
| 1 | DESCRIPTION = "A program for testing floating-point implementation" | 2 | DESCRIPTION = "A program for testing floating-point implementation" |
| 3 | HOMEPAGE = "http://www.jhauser.us/arithmetic/TestFloat.html" | ||
| 4 | SECTION = "devel" | ||
| 2 | LICENSE = "TestFloat" | 5 | LICENSE = "TestFloat" |
| 3 | 6 | ||
| 4 | LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145" | 7 | LIC_FILES_CHKSUM = "file://testfloat/testfloat.txt;beginline=87;endline=95;md5=bdb2e8111838a48015c29bd97f5b6145" |
| 5 | 8 | ||
| 6 | SRC_URI = " http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \ | 9 | SRC_URI = "http://www.jhauser.us/arithmetic/TestFloat-2a.tar.Z;name=TestFloat \ |
| 7 | http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \ | 10 | http://www.jhauser.us/arithmetic/SoftFloat-2b.tar.Z;name=SoftFloat \ |
| 8 | " | 11 | " |
| 9 | SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \ | 12 | SRC_URI:append:qoriq-ppc = " file://SoftFloat-powerpc-1.patch \ |
| 10 | file://TestFloat-powerpc-E500v2-SPE-1.patch \ | 13 | file://TestFloat-powerpc-E500v2-SPE-1.patch \ |
| 11 | file://Yocto-replace-COMPILE_PREFIX-gcc.patch \ | 14 | file://Yocto-replace-COMPILE_PREFIX-gcc.patch \ |
| 12 | " | 15 | " |
| 13 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" | 16 | SRC_URI[TestFloat.sha256sum] = "84d14aa42adefbda2ec9708b42946f7fa59f93689b042684bd027863481f8e4e" |
| 14 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" | 17 | SRC_URI[SoftFloat.sha256sum] = "89d14b55113a2ba8cbda7011443ba1d298d381c89d939515d56c5f18f2febf81" |
diff --git a/recipes-extended/tsntool/tsntool_git.bb b/recipes-extended/tsntool/tsntool_git.bb index f70e64e2b..f2911ddab 100644 --- a/recipes-extended/tsntool/tsntool_git.bb +++ b/recipes-extended/tsntool/tsntool_git.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | SUMMARY = "Configure TSN funtionalitie" | 1 | SUMMARY = "Configure TSN funtionalitie" |
| 2 | DESCRIPTION = "A tool to configure TSN funtionalities in user space" | 2 | DESCRIPTION = "A tool to configure TSN funtionalities in user space" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/tsntool" | ||
| 3 | LICENSE = "GPL-2.0-only" | 4 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ef58f855337069acd375717db0dbbb6d" |
| 5 | 6 | ||
| @@ -13,7 +14,7 @@ SRC_URI = "git://github.com/nxp-qoriq/tsntool;protocol=https;nobranch=1" | |||
| 13 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" | 14 | SRCREV = "a0769e23304957a22f0cbeee6d1f547b20c3c21e" |
| 14 | 15 | ||
| 15 | SRC_URI:append = " \ | 16 | SRC_URI:append = " \ |
| 16 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ | 17 | file://0001-tsntool-remove-redundant-parameters-from-BIN_LDFLAGS.patch \ |
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 20 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| @@ -21,7 +22,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir" | |||
| 21 | do_compile:prepend() { | 22 | do_compile:prepend() { |
| 22 | mkdir -p ${S}/include/linux | 23 | mkdir -p ${S}/include/linux |
| 23 | cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux | 24 | cp -r ${STAGING_KERNEL_DIR}/include/uapi/linux/tsn.h ${S}/include/linux |
| 24 | } | 25 | } |
| 25 | do_install() { | 26 | do_install() { |
| 26 | install -d ${D}${bindir} ${D}${libdir} | 27 | install -d ${D}${bindir} ${D}${libdir} |
| 27 | install -m 0755 ${S}/tsntool ${D}${bindir} | 28 | install -m 0755 ${S}/tsntool ${D}${bindir} |
diff --git a/recipes-fsl/fsl-rc-local/fsl-rc-local.bb b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb index d5c8ebc31..607790f47 100644 --- a/recipes-fsl/fsl-rc-local/fsl-rc-local.bb +++ b/recipes-fsl/fsl-rc-local/fsl-rc-local.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright (C) 2012 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012 O.S. Systems Software LTDA. |
| 2 | 2 | ||
| 3 | DESCRIPTION = "Extra files for fsl-gui-image" | 3 | SUMMARY = "Extra rc.local files for i.MX images" |
| 4 | DESCRIPTION = "rc.local init snippets and helper files for Freescale/NXP images." | ||
| 5 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | ||
| 6 | SECTION = "base" | ||
| 4 | LICENSE = "LGPL-2.0-only" | 7 | LICENSE = "LGPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42" |
| 6 | 9 | ||
diff --git a/recipes-fsl/images/fsl-image-machine-test.bb b/recipes-fsl/images/fsl-image-machine-test.bb index 43af6f7e9..34be8b32a 100644 --- a/recipes-fsl/images/fsl-image-machine-test.bb +++ b/recipes-fsl/images/fsl-image-machine-test.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | DESCRIPTION = "A console-only image that includes gstreamer packages, \ | 1 | DESCRIPTION = "A console-only image that includes gstreamer packages, \ |
| 2 | Freescale's multimedia packages (VPU and GPU) when available, and \ | 2 | Freescale's multimedia packages (VPU and GPU) when available, and \ |
| 3 | test and benchmark applications." | 3 | test and benchmark applications." |
| 4 | 4 | ||
| 5 | IMAGE_FEATURES += " \ | 5 | IMAGE_FEATURES += "\ |
| 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
| 7 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \ | 7 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \ |
| 8 | '', d), d)} \ | 8 | '', d), d)} \ |
| @@ -15,7 +15,7 @@ LICENSE = "MIT" | |||
| 15 | 15 | ||
| 16 | inherit core-image | 16 | inherit core-image |
| 17 | 17 | ||
| 18 | CORE_IMAGE_EXTRA_INSTALL += " \ | 18 | CORE_IMAGE_EXTRA_INSTALL += "\ |
| 19 | packagegroup-fsl-gstreamer1.0 \ | 19 | packagegroup-fsl-gstreamer1.0 \ |
| 20 | packagegroup-fsl-gstreamer1.0-full \ | 20 | packagegroup-fsl-gstreamer1.0-full \ |
| 21 | packagegroup-fsl-tools-gpu \ | 21 | packagegroup-fsl-tools-gpu \ |
diff --git a/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb index 7d79d1efe..63a599e13 100644 --- a/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb +++ b/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Copyright (C) 2014 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2014 O.S. Systems Software LTDA. |
| 2 | 2 | ||
| 3 | DESCRIPTION = "Small image to be used with Manufacturing Tool \ | 3 | DESCRIPTION = "Small image to be used with Manufacturing Tool \ |
| 4 | (mfg-tool) in a production environment." | 4 | (mfg-tool) in a production environment." |
| 5 | 5 | ||
| 6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
| 7 | 7 | ||
diff --git a/recipes-fsl/images/fsl-image-multimedia-full.bb b/recipes-fsl/images/fsl-image-multimedia-full.bb index 0384162bc..24fdeae9e 100644 --- a/recipes-fsl/images/fsl-image-multimedia-full.bb +++ b/recipes-fsl/images/fsl-image-multimedia-full.bb | |||
| @@ -3,6 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | require fsl-image-multimedia.bb | 4 | require fsl-image-multimedia.bb |
| 5 | 5 | ||
| 6 | CORE_IMAGE_EXTRA_INSTALL += " \ | 6 | CORE_IMAGE_EXTRA_INSTALL += "\ |
| 7 | packagegroup-fsl-gstreamer1.0-full \ | 7 | packagegroup-fsl-gstreamer1.0-full \ |
| 8 | " | 8 | " |
diff --git a/recipes-fsl/images/fsl-image-multimedia.bb b/recipes-fsl/images/fsl-image-multimedia.bb index 3a3ce28b8..86730c5cc 100644 --- a/recipes-fsl/images/fsl-image-multimedia.bb +++ b/recipes-fsl/images/fsl-image-multimedia.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | DESCRIPTION = "A console-only image that includes gstreamer packages and \ | 1 | DESCRIPTION = "A console-only image that includes gstreamer packages and \ |
| 2 | Freescale's multimedia packages (VPU and GPU) when available for the specific \ | 2 | Freescale's multimedia packages (VPU and GPU) when available for the specific \ |
| 3 | machine." | 3 | machine." |
| 4 | 4 | ||
| 5 | IMAGE_FEATURES += "\ | 5 | IMAGE_FEATURES += "\ |
| 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \ | 6 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \ |
| @@ -12,7 +12,7 @@ LICENSE = "MIT" | |||
| 12 | 12 | ||
| 13 | inherit core-image | 13 | inherit core-image |
| 14 | 14 | ||
| 15 | CORE_IMAGE_EXTRA_INSTALL += " \ | 15 | CORE_IMAGE_EXTRA_INSTALL += "\ |
| 16 | packagegroup-fsl-tools-gpu \ | 16 | packagegroup-fsl-tools-gpu \ |
| 17 | packagegroup-fsl-gstreamer1.0 \ | 17 | packagegroup-fsl-gstreamer1.0 \ |
| 18 | packagegroup-imx-tools-audio \ | 18 | packagegroup-imx-tools-audio \ |
diff --git a/recipes-fsl/images/fsl-image-network-full-cmdline.bb b/recipes-fsl/images/fsl-image-network-full-cmdline.bb index 01f47c3e5..6b9fa705e 100644 --- a/recipes-fsl/images/fsl-image-network-full-cmdline.bb +++ b/recipes-fsl/images/fsl-image-network-full-cmdline.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | DESCRIPTION = "A console-only image that includes full cmdline and \ | 1 | DESCRIPTION = "A console-only image that includes full cmdline and \ |
| 2 | Freescale's networking packages (QorIQ DPAA/DPAA2) when available." | 2 | Freescale's networking packages (QorIQ DPAA/DPAA2) when available." |
| 3 | 3 | ||
| 4 | IMAGE_FEATURES += " \ | 4 | IMAGE_FEATURES += "\ |
| 5 | debug-tweaks \ | 5 | debug-tweaks \ |
| 6 | tools-profile \ | 6 | tools-profile \ |
| 7 | " | 7 | " |
diff --git a/recipes-fsl/mcore-demos/imx-mcore-demos.inc b/recipes-fsl/mcore-demos/imx-mcore-demos.inc index 2375e471d..0d6797b59 100644 --- a/recipes-fsl/mcore-demos/imx-mcore-demos.inc +++ b/recipes-fsl/mcore-demos/imx-mcore-demos.inc | |||
| @@ -2,38 +2,40 @@ | |||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | SUMMARY = "i.MX M4/M7/M33 core Demo images" | 4 | SUMMARY = "i.MX M4/M7/M33 core Demo images" |
| 5 | DESCRIPTION = "Prebuilt demo firmware images for the Cortex-M auxiliary cores (M4/M7/M33) found on i.MX application processors." | ||
| 6 | HOMEPAGE = "https://www.nxp.com/" | ||
| 5 | SECTION = "app" | 7 | SECTION = "app" |
| 6 | LICENSE = "Proprietary" | 8 | LICENSE = "Proprietary" |
| 7 | 9 | ||
| 8 | inherit deploy fsl-eula-unpack | 10 | inherit deploy fsl-eula-unpack |
| 9 | 11 | ||
| 10 | SOC ?= "INVALID" | 12 | SOC ?= "INVALID" |
| 11 | SOC:mx7ulp-nxp-bsp = "imx7ulp" | 13 | SOC:mx7ulp-nxp-bsp = "imx7ulp" |
| 12 | SOC:mx7d-nxp-bsp = "imx7d-sabresd" | 14 | SOC:mx7d-nxp-bsp = "imx7d-sabresd" |
| 13 | SOC:mx8dxl-nxp-bsp = "imx8dxl" | 15 | SOC:mx8dxl-nxp-bsp = "imx8dxl" |
| 14 | SOC:mx8mm-nxp-bsp = "imx8mm" | 16 | SOC:mx8mm-nxp-bsp = "imx8mm" |
| 15 | SOC:mx8mn-nxp-bsp = "imx8mn" | 17 | SOC:mx8mn-nxp-bsp = "imx8mn" |
| 16 | SOC:mx8mnul-nxp-bsp = "imx8mnddr3l" | 18 | SOC:mx8mnul-nxp-bsp = "imx8mnddr3l" |
| 17 | SOC:mx8mp-nxp-bsp = "imx8mp" | 19 | SOC:mx8mp-nxp-bsp = "imx8mp" |
| 18 | SOC:mx8mpul-nxp-bsp = "imx8mp" | 20 | SOC:mx8mpul-nxp-bsp = "imx8mp" |
| 19 | SOC:mx8mq-nxp-bsp = "imx8mq" | 21 | SOC:mx8mq-nxp-bsp = "imx8mq" |
| 20 | SOC:mx8qm-nxp-bsp = "imx8qm" | 22 | SOC:mx8qm-nxp-bsp = "imx8qm" |
| 21 | SOC:mx8qxp-nxp-bsp = "imx8qx" | 23 | SOC:mx8qxp-nxp-bsp = "imx8qx" |
| 22 | SOC:mx8dx-nxp-bsp = "imx8qx" | 24 | SOC:mx8dx-nxp-bsp = "imx8qx" |
| 23 | SOC:mx8ulp-nxp-bsp = "imx8ulp" | 25 | SOC:mx8ulp-nxp-bsp = "imx8ulp" |
| 24 | SOC:mx93-nxp-bsp = "imx93" | 26 | SOC:mx93-nxp-bsp = "imx93" |
| 25 | SOC:mx94-nxp-bsp = "imx943" | 27 | SOC:mx94-nxp-bsp = "imx943" |
| 26 | SOC:mx95-nxp-bsp = "imx95" | 28 | SOC:mx95-nxp-bsp = "imx95" |
| 27 | 29 | ||
| 28 | MCORE_TYPE ?= "m4" | 30 | MCORE_TYPE ?= "m4" |
| 29 | MCORE_TYPE:mx8mn-nxp-bsp = "m7" | 31 | MCORE_TYPE:mx8mn-nxp-bsp = "m7" |
| 30 | MCORE_TYPE:mx8mnul-nxp-bsp = "m7" | 32 | MCORE_TYPE:mx8mnul-nxp-bsp = "m7" |
| 31 | MCORE_TYPE:mx8mp-nxp-bsp = "m7" | 33 | MCORE_TYPE:mx8mp-nxp-bsp = "m7" |
| 32 | MCORE_TYPE:mx8mpul-nxp-bsp = "m7" | 34 | MCORE_TYPE:mx8mpul-nxp-bsp = "m7" |
| 33 | MCORE_TYPE:mx8ulp-nxp-bsp = "m33" | 35 | MCORE_TYPE:mx8ulp-nxp-bsp = "m33" |
| 34 | MCORE_TYPE:mx93-nxp-bsp = "m33" | 36 | MCORE_TYPE:mx93-nxp-bsp = "m33" |
| 35 | MCORE_TYPE:mx943-nxp-bsp = "mcore" | 37 | MCORE_TYPE:mx943-nxp-bsp = "mcore" |
| 36 | MCORE_TYPE:mx95-nxp-bsp = "m7" | 38 | MCORE_TYPE:mx95-nxp-bsp = "m7" |
| 37 | 39 | ||
| 38 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" | 40 | SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true" |
| 39 | 41 | ||
| @@ -41,7 +43,7 @@ S = "${UNPACKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}" | |||
| 41 | 43 | ||
| 42 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" | 44 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" |
| 43 | 45 | ||
| 44 | MCORE_DEMO_FILE_EXTENSION ?= "bin" | 46 | MCORE_DEMO_FILE_EXTENSION ?= "bin" |
| 45 | MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img" | 47 | MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img" |
| 46 | 48 | ||
| 47 | do_install () { | 49 | do_install () { |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb index 9a86e5013..e4f8d5e05 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb | |||
| @@ -1,17 +1,17 @@ | |||
| 1 | DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \ | 1 | DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \ |
| 2 | that are subject to restricted licensing and/or royalties and thus require \ | 2 | that are subject to restricted licensing and/or royalties and thus require \ |
| 3 | the 'commercial' license whitelist flag" | 3 | the 'commercial' license whitelist flag" |
| 4 | SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag" | 4 | SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag" |
| 5 | LICENSE_FLAGS = "commercial" | 5 | LICENSE_FLAGS = "commercial" |
| 6 | 6 | ||
| 7 | inherit packagegroup | 7 | inherit packagegroup |
| 8 | 8 | ||
| 9 | RDEPENDS:${PN} = " \ | 9 | RDEPENDS:${PN} = "\ |
| 10 | packagegroup-fsl-gstreamer1.0 \ | 10 | packagegroup-fsl-gstreamer1.0 \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | # Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set | 13 | # Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set |
| 14 | RDEPENDS:${PN} = " \ | 14 | RDEPENDS:${PN} = "\ |
| 15 | gstreamer1.0-plugins-ugly-asf \ | 15 | gstreamer1.0-plugins-ugly-asf \ |
| 16 | gstreamer1.0-libav \ | 16 | gstreamer1.0-libav \ |
| 17 | " | 17 | " |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb index 6b2c3ac0e..0dc138bac 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \ | 1 | DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \ |
| 2 | base, good, and bad packages, as well as the ugly and libav ones if commercial packages \ | 2 | base, good, and bad packages, as well as the ugly and libav ones if commercial packages \ |
| 3 | are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)." | 3 | are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)." |
| 4 | SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins" | 4 | SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins" |
| 5 | 5 | ||
| 6 | inherit packagegroup | 6 | inherit packagegroup |
| 7 | 7 | ||
| 8 | RDEPENDS:${PN} = " \ | 8 | RDEPENDS:${PN} = "\ |
| 9 | packagegroup-fsl-gstreamer1.0 \ | 9 | packagegroup-fsl-gstreamer1.0 \ |
| 10 | ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \ | 10 | ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \ |
| 11 | gstreamer1.0-plugins-base-meta \ | 11 | gstreamer1.0-plugins-base-meta \ |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb index aef582a57..ebc098664 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0.bb | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \ | 1 | DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \ |
| 2 | GStreamer plugins with the required hardware acceleration (if supported by the SoC)." | 2 | GStreamer plugins with the required hardware acceleration (if supported by the SoC)." |
| 3 | SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins" | 3 | SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins" |
| 4 | 4 | ||
| 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 5 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 6 | 6 | ||
| 7 | inherit packagegroup | 7 | inherit packagegroup |
| 8 | 8 | ||
| 9 | PACKAGES += " \ | 9 | PACKAGES += "\ |
| 10 | ${PN}-base \ | 10 | ${PN}-base \ |
| 11 | ${PN}-audio \ | 11 | ${PN}-audio \ |
| 12 | ${PN}-video \ | 12 | ${PN}-video \ |
| @@ -18,26 +18,26 @@ PACKAGES += " \ | |||
| 18 | 18 | ||
| 19 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | 19 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" |
| 20 | 20 | ||
| 21 | RDEPENDS:${PN} = " \ | 21 | RDEPENDS:${PN} = "\ |
| 22 | ${PN}-audio \ | 22 | ${PN}-audio \ |
| 23 | ${PN}-video \ | ||
| 24 | ${PN}-network-base \ | ||
| 25 | ${PN}-debug \ | 23 | ${PN}-debug \ |
| 24 | ${PN}-network-base \ | ||
| 25 | ${PN}-video \ | ||
| 26 | " | 26 | " |
| 27 | 27 | ||
| 28 | # List of X11 specific plugins | 28 | # List of X11 specific plugins |
| 29 | GST_X11_PACKAGES = " \ | 29 | GST_X11_PACKAGES = "\ |
| 30 | gstreamer1.0-plugins-base-ximagesink \ | 30 | gstreamer1.0-plugins-base-ximagesink \ |
| 31 | gstreamer1.0-plugins-base-xvimagesink \ | 31 | gstreamer1.0-plugins-base-xvimagesink \ |
| 32 | " | 32 | " |
| 33 | 33 | ||
| 34 | # List of Wayland specific plugins | 34 | # List of Wayland specific plugins |
| 35 | GST_WAYLAND_PACKAGES = " \ | 35 | GST_WAYLAND_PACKAGES = "\ |
| 36 | gstreamer1.0-plugins-bad-waylandsink \ | 36 | gstreamer1.0-plugins-bad-waylandsink \ |
| 37 | " | 37 | " |
| 38 | 38 | ||
| 39 | # basic plugins required in virtually every pipeline | 39 | # basic plugins required in virtually every pipeline |
| 40 | RDEPENDS:${PN}-base = " \ | 40 | RDEPENDS:${PN}-base = "\ |
| 41 | gstreamer1.0 \ | 41 | gstreamer1.0 \ |
| 42 | gstreamer1.0-plugins-base-playback \ | 42 | gstreamer1.0-plugins-base-playback \ |
| 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \ | 43 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \ |
| @@ -52,14 +52,14 @@ RDEPENDS:${PN}-base = " \ | |||
| 52 | ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \ | 52 | ${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-tools", "", d)} \ |
| 53 | " | 53 | " |
| 54 | 54 | ||
| 55 | RRECOMMENDS:${PN}-base = " \ | 55 | RRECOMMENDS:${PN}-base = "\ |
| 56 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \ | 56 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \ |
| 57 | bb.utils.contains('DISTRO_FEATURES', 'wayland', \ | 57 | bb.utils.contains('DISTRO_FEATURES', 'wayland', \ |
| 58 | '${GST_WAYLAND_PACKAGES}', '', d), d)} \ | 58 | '${GST_WAYLAND_PACKAGES}', '', d), d)} \ |
| 59 | " | 59 | " |
| 60 | 60 | ||
| 61 | # Basic audio plugins: parsers, demuxers, decoders | 61 | # Basic audio plugins: parsers, demuxers, decoders |
| 62 | RDEPENDS:${PN}-audio = " \ | 62 | RDEPENDS:${PN}-audio = "\ |
| 63 | ${PN}-base \ | 63 | ${PN}-base \ |
| 64 | gstreamer1.0-plugins-base-ogg \ | 64 | gstreamer1.0-plugins-base-ogg \ |
| 65 | gstreamer1.0-plugins-good-audioparsers \ | 65 | gstreamer1.0-plugins-good-audioparsers \ |
| @@ -71,7 +71,7 @@ RDEPENDS:${PN}-audio = " \ | |||
| 71 | " | 71 | " |
| 72 | 72 | ||
| 73 | # Basic video plugins: parsers, demuxers | 73 | # Basic video plugins: parsers, demuxers |
| 74 | RDEPENDS:${PN}-video = " \ | 74 | RDEPENDS:${PN}-video = "\ |
| 75 | ${PN}-base \ | 75 | ${PN}-base \ |
| 76 | gstreamer1.0-plugins-base-subparse \ | 76 | gstreamer1.0-plugins-base-subparse \ |
| 77 | gstreamer1.0-plugins-base-theora \ | 77 | gstreamer1.0-plugins-base-theora \ |
| @@ -81,12 +81,12 @@ RDEPENDS:${PN}-video = " \ | |||
| 81 | gstreamer1.0-plugins-good-matroska \ | 81 | gstreamer1.0-plugins-good-matroska \ |
| 82 | " | 82 | " |
| 83 | 83 | ||
| 84 | RRECOMMENDS:${PN}-video = " \ | 84 | RRECOMMENDS:${PN}-video = "\ |
| 85 | ${PN}-audio \ | 85 | ${PN}-audio \ |
| 86 | " | 86 | " |
| 87 | 87 | ||
| 88 | # Additional video plugins from the -bad collection | 88 | # Additional video plugins from the -bad collection |
| 89 | RDEPENDS:${PN}-video-bad = " \ | 89 | RDEPENDS:${PN}-video-bad = "\ |
| 90 | ${PN}-video \ | 90 | ${PN}-video \ |
| 91 | gstreamer1.0-plugins-bad-mpegpsdemux \ | 91 | gstreamer1.0-plugins-bad-mpegpsdemux \ |
| 92 | gstreamer1.0-plugins-bad-mpegtsdemux \ | 92 | gstreamer1.0-plugins-bad-mpegtsdemux \ |
| @@ -94,7 +94,7 @@ RDEPENDS:${PN}-video-bad = " \ | |||
| 94 | " | 94 | " |
| 95 | 95 | ||
| 96 | # Plugins used for diagnostics and debugging of pipelines | 96 | # Plugins used for diagnostics and debugging of pipelines |
| 97 | RDEPENDS:${PN}-debug = " \ | 97 | RDEPENDS:${PN}-debug = "\ |
| 98 | ${PN}-base \ | 98 | ${PN}-base \ |
| 99 | gstreamer1.0-plugins-base-audiotestsrc \ | 99 | gstreamer1.0-plugins-base-audiotestsrc \ |
| 100 | gstreamer1.0-plugins-base-videotestsrc \ | 100 | gstreamer1.0-plugins-base-videotestsrc \ |
| @@ -103,14 +103,14 @@ RDEPENDS:${PN}-debug = " \ | |||
| 103 | " | 103 | " |
| 104 | 104 | ||
| 105 | # Basic networking plugins required by most pipelines that receive and/or send data | 105 | # Basic networking plugins required by most pipelines that receive and/or send data |
| 106 | RDEPENDS:${PN}-network-base = " \ | 106 | RDEPENDS:${PN}-network-base = "\ |
| 107 | gstreamer1.0-plugins-base-tcp \ | 107 | gstreamer1.0-plugins-base-tcp \ |
| 108 | gstreamer1.0-plugins-good-soup \ | 108 | gstreamer1.0-plugins-good-soup \ |
| 109 | gstreamer1.0-plugins-good-udp \ | 109 | gstreamer1.0-plugins-good-udp \ |
| 110 | " | 110 | " |
| 111 | 111 | ||
| 112 | # Additional networking plugins | 112 | # Additional networking plugins |
| 113 | RDEPENDS:${PN}-network = " \ | 113 | RDEPENDS:${PN}-network = "\ |
| 114 | ${PN}-network-base \ | 114 | ${PN}-network-base \ |
| 115 | gstreamer1.0-plugins-good-rtp \ | 115 | gstreamer1.0-plugins-good-rtp \ |
| 116 | gstreamer1.0-plugins-good-rtpmanager \ | 116 | gstreamer1.0-plugins-good-rtpmanager \ |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb index 09eac053b..60905bd8a 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-isp.bb | |||
| @@ -4,12 +4,12 @@ DESCRIPTION = "Add packages for ISP build" | |||
| 4 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 5 | inherit packagegroup | 5 | inherit packagegroup |
| 6 | 6 | ||
| 7 | ISP_PKGS ?= "" | 7 | ISP_PKGS ?= "" |
| 8 | ISP_PKGS:mx8mp-nxp-bsp = " \ | 8 | ISP_PKGS:mx8mp-nxp-bsp = "\ |
| 9 | isp-imx \ | 9 | isp-imx \ |
| 10 | basler-camera \ | 10 | basler-camera \ |
| 11 | kernel-module-isp-vvcam \ | 11 | kernel-module-isp-vvcam \ |
| 12 | " | 12 | " |
| 13 | RDEPENDS:${PN} = " \ | 13 | RDEPENDS:${PN} = "\ |
| 14 | ${ISP_PKGS} \ | 14 | ${ISP_PKGS} \ |
| 15 | " | 15 | " |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb index d0367fdb7..890cd3cea 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb | |||
| @@ -7,7 +7,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 7 | 7 | ||
| 8 | inherit packagegroup | 8 | inherit packagegroup |
| 9 | 9 | ||
| 10 | PACKAGES = " \ | 10 | PACKAGES = "\ |
| 11 | ${PN}-base \ | 11 | ${PN}-base \ |
| 12 | ${PN}-mtd \ | 12 | ${PN}-mtd \ |
| 13 | ${PN}-extfs \ | 13 | ${PN}-extfs \ |
| @@ -20,7 +20,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | |||
| 20 | # Distro can override the following VIRTUAL-RUNTIME providers: | 20 | # Distro can override the following VIRTUAL-RUNTIME providers: |
| 21 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | 21 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" |
| 22 | 22 | ||
| 23 | RDEPENDS:${PN}-base = " \ | 23 | RDEPENDS:${PN}-base = "\ |
| 24 | bash \ | 24 | bash \ |
| 25 | imx-uuc \ | 25 | imx-uuc \ |
| 26 | util-linux \ | 26 | util-linux \ |
| @@ -34,16 +34,16 @@ RDEPENDS:${PN}-base = " \ | |||
| 34 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ | 34 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ |
| 35 | " | 35 | " |
| 36 | 36 | ||
| 37 | RDEPENDS:${PN}-mtd = " \ | 37 | RDEPENDS:${PN}-mtd = "\ |
| 38 | ${PN}-base \ | 38 | ${PN}-base \ |
| 39 | imx-kobs \ | 39 | imx-kobs \ |
| 40 | mtd-utils \ | 40 | mtd-utils \ |
| 41 | mtd-utils-ubifs \ | 41 | mtd-utils-ubifs \ |
| 42 | " | 42 | " |
| 43 | 43 | ||
| 44 | RDEPENDS:${PN}-extfs = " \ | 44 | RDEPENDS:${PN}-extfs = "\ |
| 45 | ${PN}-base \ | 45 | ${PN}-base \ |
| 46 | e2fsprogs-mke2fs \ | ||
| 47 | e2fsprogs-e2fsck \ | 46 | e2fsprogs-e2fsck \ |
| 47 | e2fsprogs-mke2fs \ | ||
| 48 | " | 48 | " |
| 49 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 49 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-network.bb b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb index 96e3097d5..12c0aa3eb 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-network.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-network.bb | |||
| @@ -9,41 +9,41 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 9 | inherit packagegroup | 9 | inherit packagegroup |
| 10 | 10 | ||
| 11 | NETWORK_TOOLS = "\ | 11 | NETWORK_TOOLS = "\ |
| 12 | ethtool \ | 12 | ethtool \ |
| 13 | " | 13 | " |
| 14 | 14 | ||
| 15 | NETWORK_TOOLS:append:qoriq = " \ | 15 | NETWORK_TOOLS:append:qoriq = " \ |
| 16 | ceetm \ | 16 | ceetm \ |
| 17 | dpdk \ | 17 | dpdk \ |
| 18 | ovs-dpdk \ | 18 | ovs-dpdk \ |
| 19 | pktgen-dpdk \ | 19 | pktgen-dpdk \ |
| 20 | tsntool \ | 20 | tsntool \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | # Data Place Acceleration Architecture | 23 | # Data Place Acceleration Architecture |
| 24 | NETWORK_TOOLS:append:fsl-lsch2 = "\ | 24 | NETWORK_TOOLS:append:fsl-lsch2 = " \ |
| 25 | eth-config \ | 25 | eth-config \ |
| 26 | " | 26 | " |
| 27 | 27 | ||
| 28 | # 2nd generation Data Place Acceleration Architecture | 28 | # 2nd generation Data Place Acceleration Architecture |
| 29 | NETWORK_TOOLS:append:ls1088a = "\ | 29 | NETWORK_TOOLS:append:ls1088a = " \ |
| 30 | aiopsl \ | 30 | aiopsl \ |
| 31 | gpp-aioptool \ | 31 | gpp-aioptool \ |
| 32 | ofp \ | 32 | ofp \ |
| 33 | " | 33 | " |
| 34 | 34 | ||
| 35 | NETWORK_TOOLS:append:ls2088a = "\ | 35 | NETWORK_TOOLS:append:ls2088a = " \ |
| 36 | aiopsl \ | 36 | aiopsl \ |
| 37 | gpp-aioptool \ | 37 | gpp-aioptool \ |
| 38 | ofp \ | 38 | ofp \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | NETWORK_TOOLS:append:fsl-lsch3 = "\ | 41 | NETWORK_TOOLS:append:fsl-lsch3 = " \ |
| 42 | dce \ | 42 | dce \ |
| 43 | restool \ | 43 | restool \ |
| 44 | spc \ | 44 | spc \ |
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | RDEPENDS:${PN} = " \ | 47 | RDEPENDS:${PN} = "\ |
| 48 | ${NETWORK_TOOLS} \ | 48 | ${NETWORK_TOOLS} \ |
| 49 | " | 49 | " |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb index a361a4dd2..6011fff27 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | # Copyright (C) 2015, 2016 O.S. Systems Software LTDA. | 2 | # Copyright (C) 2015, 2016 O.S. Systems Software LTDA. |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \ | 4 | DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \ |
| 5 | to test the several hardware accelerated graphics APIs including packages not \ | 5 | to test the several hardware accelerated graphics APIs including packages not \ |
| 6 | provided by Freescale." | 6 | provided by Freescale." |
| 7 | SUMMARY = "FSL Community Package group - tools/gpu/external" | 7 | SUMMARY = "FSL Community Package group - tools/gpu/external" |
| 8 | 8 | ||
| 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| @@ -11,7 +11,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
| 11 | inherit packagegroup | 11 | inherit packagegroup |
| 12 | 12 | ||
| 13 | SOC_TOOLS_GPU_X11 = "" | 13 | SOC_TOOLS_GPU_X11 = "" |
| 14 | SOC_TOOLS_GPU_X11:imxgpu2d = " mesa-demos glmark2 gtkperf" | 14 | SOC_TOOLS_GPU_X11:imxgpu2d = "mesa-demos glmark2 gtkperf" |
| 15 | 15 | ||
| 16 | SOC_TOOLS_GPU_FB = "" | 16 | SOC_TOOLS_GPU_FB = "" |
| 17 | 17 | ||
| @@ -20,7 +20,7 @@ SOC_TOOLS_GPU_WAYLAND = "" | |||
| 20 | SOC_TOOLS_GPU_XWAYLAND = "" | 20 | SOC_TOOLS_GPU_XWAYLAND = "" |
| 21 | SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf" | 21 | SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf" |
| 22 | 22 | ||
| 23 | RDEPENDS:${PN} = " \ | 23 | RDEPENDS:${PN} = "\ |
| 24 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \ | 24 | ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \ |
| 25 | bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \ | 25 | bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \ |
| 26 | bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \ | 26 | bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \ |
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb index c7e820adb..11c6a9b55 100644 --- a/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb +++ b/recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb | |||
| @@ -12,7 +12,7 @@ inherit packagegroup | |||
| 12 | SOC_TOOLS_GPU = "" | 12 | SOC_TOOLS_GPU = "" |
| 13 | 13 | ||
| 14 | # i.MX6 SoloLite does not support apitrace because of its dependency on gles2. | 14 | # i.MX6 SoloLite does not support apitrace because of its dependency on gles2. |
| 15 | SOC_TOOLS_GPU:imxgpu2d = " \ | 15 | SOC_TOOLS_GPU:imxgpu2d = "\ |
| 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ |
| 17 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \ | 17 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \ |
| 18 | '', d), d)} \ | 18 | '', d), d)} \ |
| @@ -27,6 +27,6 @@ SOC_TOOLS_GPU:append:imxgpu = " \ | |||
| 27 | imx-gpu-viv-tools \ | 27 | imx-gpu-viv-tools \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | RDEPENDS:${PN} = " \ | 30 | RDEPENDS:${PN} = "\ |
| 31 | ${SOC_TOOLS_GPU} \ | 31 | ${SOC_TOOLS_GPU} \ |
| 32 | " | 32 | " |
diff --git a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb index 54a428fdf..ae4683723 100644 --- a/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb +++ b/recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb | |||
| @@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 9 | 9 | ||
| 10 | inherit packagegroup | 10 | inherit packagegroup |
| 11 | 11 | ||
| 12 | ALSA_INSTALL = " \ | 12 | ALSA_INSTALL = "\ |
| 13 | alsa-utils \ | 13 | alsa-utils \ |
| 14 | alsa-tools \ | 14 | alsa-tools \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | PULSEAUDIO_INSTALL = " \ | 17 | PULSEAUDIO_INSTALL = "\ |
| 18 | pulseaudio-server \ | 18 | pulseaudio-server \ |
| 19 | pulseaudio-module-cli \ | 19 | pulseaudio-module-cli \ |
| 20 | pulseaudio-misc \ | 20 | pulseaudio-misc \ |
| @@ -27,7 +27,7 @@ PULSEAUDIO_INSTALL = " \ | |||
| 27 | "", d)} \ | 27 | "", d)} \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | RDEPENDS:${PN} = " \ | 30 | RDEPENDS:${PN} = "\ |
| 31 | ${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \ | 31 | ${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \ |
| 32 | ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \ | 32 | ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \ |
| 33 | " | 33 | " |
diff --git a/recipes-graphics/devil/devil_1.8.0.bb b/recipes-graphics/devil/devil_1.8.0.bb index dcbdf3ac1..4c37b6298 100644 --- a/recipes-graphics/devil/devil_1.8.0.bb +++ b/recipes-graphics/devil/devil_1.8.0.bb | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | SUMMARY = "Cross-platform image library" | ||
| 1 | DESCRIPTION = "A full featured cross-platform image library" | 2 | DESCRIPTION = "A full featured cross-platform image library" |
| 3 | HOMEPAGE = "https://openil.sourceforge.net/" | ||
| 2 | SECTION = "libs" | 4 | SECTION = "libs" |
| 3 | LICENSE = "LGPL-2.1-only" | 5 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" |
| 5 | PR = "r0" | 7 | PR = "r0" |
| 6 | 8 | ||
| 7 | DEPENDS = "libpng jpeg tiff xz" | 9 | DEPENDS = "jpeg libpng tiff xz" |
| 8 | 10 | ||
| 9 | SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip" | 11 | SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip" |
| 10 | SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895" | 12 | SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895" |
diff --git a/recipes-graphics/drm/libdrm_2.4.127.imx.bb b/recipes-graphics/drm/libdrm_2.4.127.imx.bb index 198db014e..685e3f04a 100644 --- a/recipes-graphics/drm/libdrm_2.4.127.imx.bb +++ b/recipes-graphics/drm/libdrm_2.4.127.imx.bb | |||
| @@ -7,9 +7,9 @@ HOMEPAGE = "http://dri.freedesktop.org" | |||
| 7 | SECTION = "x11/base" | 7 | SECTION = "x11/base" |
| 8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb1f4831351ab42d762c40b3ebb7add \ |
| 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" | 10 | file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" |
| 11 | PROVIDES = "drm" | ||
| 12 | DEPENDS = "libpthread-stubs" | 11 | DEPENDS = "libpthread-stubs" |
| 12 | PROVIDES = "drm" | ||
| 13 | 13 | ||
| 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" | 14 | SRC_URI = "${IMX_LIBDRM_SRC};branch=${SRCBRANCH}" |
| 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" | 15 | IMX_LIBDRM_SRC ?= "git://github.com/nxp-imx/libdrm-imx.git;protocol=https" |
| @@ -46,10 +46,6 @@ PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | |||
| 46 | ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | 46 | ${PN}-intel ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ |
| 47 | ${PN}-etnaviv" | 47 | ${PN}-etnaviv" |
| 48 | 48 | ||
| 49 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
| 50 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | ||
| 51 | ${PN}-etnaviv" | ||
| 52 | |||
| 53 | FILES:${PN}-tests = "${bindir}/*" | 49 | FILES:${PN}-tests = "${bindir}/*" |
| 54 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" | 50 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" |
| 55 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" | 51 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" |
| @@ -60,6 +56,10 @@ FILES:${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" | |||
| 60 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" | 56 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" |
| 61 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" | 57 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" |
| 62 | 58 | ||
| 59 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
| 60 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | ||
| 61 | ${PN}-etnaviv" | ||
| 62 | |||
| 63 | BBCLASSEXTEND = "native nativesdk" | 63 | BBCLASSEXTEND = "native nativesdk" |
| 64 | 64 | ||
| 65 | PACKAGES:prepend:imxgpu = "${PN}-vivante " | 65 | PACKAGES:prepend:imxgpu = "${PN}-vivante " |
diff --git a/recipes-graphics/gli/gli_0.8.4.0.bb b/recipes-graphics/gli/gli_0.8.4.0.bb index 14d6a75ed..f1ab37606 100644 --- a/recipes-graphics/gli/gli_0.8.4.0.bb +++ b/recipes-graphics/gli/gli_0.8.4.0.bb | |||
| @@ -9,7 +9,7 @@ SECTION = "libs" | |||
| 9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
| 10 | LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" | 10 | LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb" |
| 11 | 11 | ||
| 12 | SRC_URI = " \ | 12 | SRC_URI = "\ |
| 13 | git://github.com/g-truc/gli;protocol=https;branch=master \ | 13 | git://github.com/g-truc/gli;protocol=https;branch=master \ |
| 14 | " | 14 | " |
| 15 | SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" | 15 | SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91" |
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb index 94a876a94..320ba3017 100644 --- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb | |||
| @@ -2,12 +2,15 @@ | |||
| 2 | # Copyright 2017-2025 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX DPU G2D library" | ||
| 5 | DESCRIPTION = "G2D library using i.MX DPU" | 6 | DESCRIPTION = "G2D library using i.MX DPU" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | ||
| 8 | SECTION = "graphics" | ||
| 6 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 8 | 11 | ||
| 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" | 12 | DEPENDS = "libdrm ${LIBGAL_IMX}" |
| 10 | LIBGAL_IMX = "" | 13 | LIBGAL_IMX = "" |
| 11 | LIBGAL_IMX:imxviv = "libgal-imx" | 14 | LIBGAL_IMX:imxviv = "libgal-imx" |
| 12 | 15 | ||
| 13 | PROVIDES += "virtual/libg2d" | 16 | PROVIDES += "virtual/libg2d" |
| @@ -33,6 +36,8 @@ do_install () { | |||
| 33 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | 36 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} |
| 34 | } | 37 | } |
| 35 | 38 | ||
| 39 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 40 | |||
| 36 | INSANE_SKIP:append:libc-musl = " file-rdeps" | 41 | INSANE_SKIP:append:libc-musl = " file-rdeps" |
| 37 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | 42 | RDEPENDS:${PN}:append:libc-musl = " gcompat" |
| 38 | 43 | ||
| @@ -42,5 +47,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
| 42 | INHIBIT_PACKAGE_STRIP = "1" | 47 | INHIBIT_PACKAGE_STRIP = "1" |
| 43 | INHIBIT_SYSROOT_STRIP = "1" | 48 | INHIBIT_SYSROOT_STRIP = "1" |
| 44 | 49 | ||
| 45 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 46 | COMPATIBLE_MACHINE = "(imxdpu)" | 50 | COMPATIBLE_MACHINE = "(imxdpu)" |
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb index af92476e1..147b0620c 100644 --- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb +++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | SUMMARY = "i.MX G2D Samples" | 1 | SUMMARY = "i.MX G2D Samples" |
| 2 | DESCRIPTION = "Set of sample applications for i.MX G2D" | 2 | DESCRIPTION = "Set of sample applications for i.MX G2D" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/g2d-samples" | ||
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0858ec9c7a80c4a2cf16e4f825a2cc91" |
| 5 | 7 | ||
| @@ -15,13 +17,13 @@ SRCREV = "22ca65feb57702832fbaca7f7c9c8d691466e649" | |||
| 15 | inherit pkgconfig | 17 | inherit pkgconfig |
| 16 | 18 | ||
| 17 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" | 19 | PACKAGECONFIG ??= "${PACKAGECONFIG_IMPLEMENTATION}" |
| 18 | PACKAGECONFIG_IMPLEMENTATION = "" | 20 | PACKAGECONFIG_IMPLEMENTATION = "" |
| 19 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" | 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxdpu = "dpu" |
| 20 | PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" | 22 | PACKAGECONFIG_IMPLEMENTATION:mx95-nxp-bsp = "dpu95" |
| 21 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" | 23 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d = "gpu-drm" |
| 22 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" | 24 | PACKAGECONFIG_IMPLEMENTATION:imxgpu2d:imxfbdev = "gpu-fbdev" |
| 23 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" | 25 | PACKAGECONFIG_IMPLEMENTATION:mx93-nxp-bsp = "pxp" |
| 24 | PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" | 26 | PACKAGECONFIG_IMPLEMENTATION:mx943-nxp-bsp = "pxp" |
| 25 | 27 | ||
| 26 | PACKAGECONFIG[dpu] = " \ | 28 | PACKAGECONFIG[dpu] = " \ |
| 27 | BUILD_IMPLEMENTATION=dpu, \ | 29 | BUILD_IMPLEMENTATION=dpu, \ |
| @@ -59,7 +61,7 @@ PACKAGECONFIG[pxp] = " \ | |||
| 59 | , \ | 61 | , \ |
| 60 | dpu dpu95 gpu-drm gpu-fbdev" | 62 | dpu dpu95 gpu-drm gpu-fbdev" |
| 61 | 63 | ||
| 62 | EXTRA_OEMAKE += " \ | 64 | EXTRA_OEMAKE += "\ |
| 63 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | 65 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ |
| 64 | ${PACKAGECONFIG_CONFARGS} \ | 66 | ${PACKAGECONFIG_CONFARGS} \ |
| 65 | " | 67 | " |
| @@ -68,8 +70,8 @@ do_install() { | |||
| 68 | oe_runmake install DESTDIR=${D} | 70 | oe_runmake install DESTDIR=${D} |
| 69 | } | 71 | } |
| 70 | 72 | ||
| 71 | FILES:${PN} += "/opt" | ||
| 72 | |||
| 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 73 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 74 | 74 | ||
| 75 | FILES:${PN} += "/opt" | ||
| 76 | |||
| 75 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" | 77 | COMPATIBLE_MACHINE = "(imxgpu2d|mx93-nxp-bsp|mx943-nxp-bsp|mx95-nxp-bsp)" |
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb index 1a359676f..fbb937b18 100644 --- a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p4.4.bb | |||
| @@ -3,7 +3,10 @@ | |||
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | SUMMARY = "i.MX GPU G2D library" | ||
| 6 | DESCRIPTION = "G2D library using i.MX GPU" | 7 | DESCRIPTION = "G2D library using i.MX GPU" |
| 8 | HOMEPAGE = "https://www.nxp.com/" | ||
| 9 | SECTION = "graphics" | ||
| 7 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 9 | DEPENDS = "libgal-imx" | 12 | DEPENDS = "libgal-imx" |
| @@ -19,7 +22,7 @@ S = "${UNPACKDIR}/${IMX_BIN_NAME}" | |||
| 19 | 22 | ||
| 20 | inherit fsl-eula-unpack | 23 | inherit fsl-eula-unpack |
| 21 | 24 | ||
| 22 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | 25 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" |
| 23 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | 26 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" |
| 24 | 27 | ||
| 25 | do_install () { | 28 | do_install () { |
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb index 2b848e89c..e99e8165a 100644 --- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb +++ b/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb | |||
| @@ -2,7 +2,10 @@ | |||
| 2 | # Copyright 2017-2026 NXP | 2 | # Copyright 2017-2026 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX PXP G2D library" | ||
| 5 | DESCRIPTION = "G2D library using i.MX PXP" | 6 | DESCRIPTION = "G2D library using i.MX PXP" |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-g2d-pxp" | ||
| 8 | SECTION = "graphics" | ||
| 6 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 8 | 11 | ||
| @@ -18,7 +21,7 @@ SRCREV = "7dd4ca631b894a29389dadda5bd112cfa576b2d9" | |||
| 18 | inherit use-imx-headers | 21 | inherit use-imx-headers |
| 19 | 22 | ||
| 20 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" | 23 | EXTRA_OEMAKE = "PLATFORM=${IMX_PLATFORM} INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}" |
| 21 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" | 24 | IMX_PLATFORM:mx93-nxp-bsp = "IMX93" |
| 22 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" | 25 | IMX_PLATFORM:mx943-nxp-bsp = "IMX943" |
| 23 | 26 | ||
| 24 | do_install() { | 27 | do_install() { |
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb index 5dea367a9..e846126b0 100644 --- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_10.0.0.bb | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 2 | SUMMARY = "Samples for OpenGL ES" | 2 | SUMMARY = "Samples for OpenGL ES" |
| 3 | DESCRIPTION = "OpenGL ES / EGL API tracing, replay and inspection tools for i.MX GPUs." | ||
| 4 | HOMEPAGE = "https://github.com/nxp-imx/apitrace-imx" | ||
| 5 | SECTION = "graphics" | ||
| 3 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" |
| 5 | DEPENDS = "zlib libpng procps" | 8 | DEPENDS = "libpng procps zlib" |
| 6 | 9 | ||
| 7 | SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ | 10 | SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \ |
| 8 | file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ | 11 | file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \ |
| @@ -11,17 +14,17 @@ SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b" | |||
| 11 | 14 | ||
| 12 | inherit cmake pkgconfig perlnative python3native | 15 | inherit cmake pkgconfig perlnative python3native |
| 13 | 16 | ||
| 14 | PACKAGECONFIG ??= " \ | 17 | PACKAGECONFIG ??= "\ |
| 15 | egl \ | 18 | egl \ |
| 16 | ${PACKAGECONFIG_BACKEND} \ | 19 | ${PACKAGECONFIG_BACKEND} \ |
| 17 | ${PACKAGECONFIG_GPU2D} \ | 20 | ${PACKAGECONFIG_GPU2D} \ |
| 18 | " | 21 | " |
| 19 | PACKAGECONFIG_BACKEND = " \ | 22 | PACKAGECONFIG_BACKEND = "\ |
| 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ | 23 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \ |
| 21 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ | 24 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ |
| 22 | '', d), d)} \ | 25 | '', d), d)} \ |
| 23 | " | 26 | " |
| 24 | PACKAGECONFIG_GPU2D = "" | 27 | PACKAGECONFIG_GPU2D = "" |
| 25 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" | 28 | PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante" |
| 26 | 29 | ||
| 27 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" | 30 | PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl" |
| @@ -31,9 +34,11 @@ PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle" | |||
| 31 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" | 34 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" |
| 32 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" | 35 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" |
| 33 | 36 | ||
| 37 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 38 | |||
| 34 | SOLIBS = ".so" | 39 | SOLIBS = ".so" |
| 35 | FILES_SOLIBSDEV = "" | 40 | FILES_SOLIBSDEV = "" |
| 36 | FILES:${PN} += " \ | 41 | FILES:${PN} += "\ |
| 37 | ${libdir}/apitrace/scripts/* \ | 42 | ${libdir}/apitrace/scripts/* \ |
| 38 | ${libdir}/apitrace/wrappers/* \ | 43 | ${libdir}/apitrace/wrappers/* \ |
| 39 | " | 44 | " |
| @@ -43,7 +48,6 @@ EXTRA_OECMAKE += "\ | |||
| 43 | -DENABLE_STATIC_LIBSTDCXX=OFF \ | 48 | -DENABLE_STATIC_LIBSTDCXX=OFF \ |
| 44 | -DPython3_ROOT_DIR=/usr/bin/python3-native \ | 49 | -DPython3_ROOT_DIR=/usr/bin/python3-native \ |
| 45 | " | 50 | " |
| 46 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 47 | COMPATIBLE_MACHINE = "(imxgpu)" | 51 | COMPATIBLE_MACHINE = "(imxgpu)" |
| 48 | SECURITY_CFLAGS:toolchain-clang = "" | 52 | SECURITY_CFLAGS:toolchain-clang = "" |
| 49 | 53 | ||
diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb index e1510baf3..c51d112c2 100644 --- a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb +++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | SUMMARY = "i.MX GPU SDK Samples" | 1 | SUMMARY = "i.MX GPU SDK Samples" |
| 2 | DESCRIPTION = "Set of sample applications for i.MX GPU" | 2 | DESCRIPTION = "Set of sample applications for i.MX GPU" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework" | ||
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" | 6 | LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" |
| 5 | 7 | ||
| @@ -7,8 +9,8 @@ DEPENDS_BACKEND = \ | |||
| 7 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \ | 9 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \ |
| 8 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ | 10 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ |
| 9 | '', d), d)}" | 11 | '', d), d)}" |
| 10 | DEPENDS_MX8 = "" | 12 | DEPENDS_MX8 = "" |
| 11 | DEPENDS_MX8:mx8-nxp-bsp = " \ | 13 | DEPENDS_MX8:mx8-nxp-bsp = "\ |
| 12 | glslang-native \ | 14 | glslang-native \ |
| 13 | opencv \ | 15 | opencv \ |
| 14 | rapidopencl \ | 16 | rapidopencl \ |
| @@ -17,10 +19,10 @@ DEPENDS_MX8:mx8-nxp-bsp = " \ | |||
| 17 | vulkan-headers \ | 19 | vulkan-headers \ |
| 18 | vulkan-loader \ | 20 | vulkan-loader \ |
| 19 | " | 21 | " |
| 20 | DEPENDS_MX8:mx8mm-nxp-bsp = " \ | 22 | DEPENDS_MX8:mx8mm-nxp-bsp = "\ |
| 21 | opencv \ | 23 | opencv \ |
| 22 | " | 24 | " |
| 23 | DEPENDS = " \ | 25 | DEPENDS = "\ |
| 24 | assimp \ | 26 | assimp \ |
| 25 | cmake-native \ | 27 | cmake-native \ |
| 26 | devil \ | 28 | devil \ |
| @@ -44,28 +46,27 @@ DEPENDS:append:imxgpu3d = " virtual/libgles2" | |||
| 44 | 46 | ||
| 45 | require imx-gpu-sdk-src.inc | 47 | require imx-gpu-sdk-src.inc |
| 46 | 48 | ||
| 47 | |||
| 48 | WINDOW_SYSTEM = \ | 49 | WINDOW_SYSTEM = \ |
| 49 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \ | 50 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \ |
| 50 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ | 51 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ |
| 51 | 'FB', d), d)}" | 52 | 'FB', d), d)}" |
| 52 | 53 | ||
| 53 | FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost" | 54 | FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost" |
| 54 | FEATURES:append:imxgpu = ",HW_GPU_VIVANTE" | 55 | FEATURES:append:imxgpu = ",HW_GPU_VIVANTE" |
| 55 | FEATURES:append:imxgpu2d = ",G2D" | 56 | FEATURES:append:imxgpu2d = ",G2D" |
| 56 | FEATURES:append:imxgpu3d = ",OpenGLES2" | 57 | FEATURES:append:imxgpu3d = ",OpenGLES2" |
| 57 | FEATURES:append = "${FEATURES_SOC}" | 58 | FEATURES:append = "${FEATURES_SOC}" |
| 58 | 59 | ||
| 59 | FEATURES_SOC = "" | 60 | FEATURES_SOC = "" |
| 60 | FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3" | 61 | FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3" |
| 61 | FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3" | 62 | FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3" |
| 62 | FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2" | 63 | FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2" |
| 63 | FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4" | 64 | FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4" |
| 64 | 65 | ||
| 65 | EXTENSIONS = "*" | 66 | EXTENSIONS = "*" |
| 66 | EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" | 67 | EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" |
| 67 | EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" | 68 | EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader" |
| 68 | EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float" | 69 | EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float" |
| 69 | EXTENSIONS:mx8mm-nxp-bsp = "*" | 70 | EXTENSIONS:mx8mm-nxp-bsp = "*" |
| 70 | 71 | ||
| 71 | do_compile () { | 72 | do_compile () { |
| @@ -75,7 +76,7 @@ do_compile () { | |||
| 75 | FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S} | 76 | FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S} |
| 76 | } | 77 | } |
| 77 | 78 | ||
| 78 | REMOVALS = " \ | 79 | REMOVALS = "\ |
| 79 | GLES2/DeBayer \ | 80 | GLES2/DeBayer \ |
| 80 | GLES2/DirectMultiSamplingVideoYUV \ | 81 | GLES2/DirectMultiSamplingVideoYUV \ |
| 81 | GLES3/DirectMultiSamplingVideoYUV \ | 82 | GLES3/DirectMultiSamplingVideoYUV \ |
| @@ -108,7 +109,7 @@ INSANE_SKIP:${PN} += "already-stripped rpaths" | |||
| 108 | 109 | ||
| 109 | # Unfortunately recipes with an empty main package, like header-only libraries, | 110 | # Unfortunately recipes with an empty main package, like header-only libraries, |
| 110 | # are not included in the SDK. Use RDEPENDS as a workaround. | 111 | # are not included in the SDK. Use RDEPENDS as a workaround. |
| 111 | RDEPENDS_EMPTY_MAIN_PACKAGE = " \ | 112 | RDEPENDS_EMPTY_MAIN_PACKAGE = "\ |
| 112 | fmt \ | 113 | fmt \ |
| 113 | gli \ | 114 | gli \ |
| 114 | glm \ | 115 | glm \ |
| @@ -118,8 +119,8 @@ RDEPENDS_EMPTY_MAIN_PACKAGE = " \ | |||
| 118 | rapidjson \ | 119 | rapidjson \ |
| 119 | stb \ | 120 | stb \ |
| 120 | " | 121 | " |
| 121 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = "" | 122 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = "" |
| 122 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \ | 123 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = "\ |
| 123 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \ | 124 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \ |
| 124 | rapidopencl \ | 125 | rapidopencl \ |
| 125 | rapidopenvx \ | 126 | rapidopenvx \ |
| @@ -128,10 +129,10 @@ RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \ | |||
| 128 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = "" | 129 | RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = "" |
| 129 | # vulkan-loader is dynamically loaded, so need to add an explicit | 130 | # vulkan-loader is dynamically loaded, so need to add an explicit |
| 130 | # dependency | 131 | # dependency |
| 131 | RDEPENDS_VULKAN_LOADER = "" | 132 | RDEPENDS_VULKAN_LOADER = "" |
| 132 | RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-validation-layers vulkan-loader" | 133 | RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-loader vulkan-validation-layers" |
| 133 | RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = "" | 134 | RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = "" |
| 134 | RDEPENDS:${PN} += " \ | 135 | RDEPENDS:${PN} += "\ |
| 135 | ${RDEPENDS_EMPTY_MAIN_PACKAGE} \ | 136 | ${RDEPENDS_EMPTY_MAIN_PACKAGE} \ |
| 136 | ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \ | 137 | ${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \ |
| 137 | ${RDEPENDS_VULKAN_LOADER} \ | 138 | ${RDEPENDS_VULKAN_LOADER} \ |
diff --git a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb index a5637869a..56b89c159 100644 --- a/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb +++ b/recipes-graphics/imx-gpu-sdk/libxdg-shell.bb | |||
| @@ -1,8 +1,11 @@ | |||
| 1 | SUMMARY = "Provides XDG shell header and glue code library" | 1 | SUMMARY = "Provides XDG shell header and glue code library" |
| 2 | DESCRIPTION = "XDG shell protocol header and glue-code library used by the i.MX GPU SDK samples." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-imx/gtec-demo-framework" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8" |
| 4 | 7 | ||
| 5 | DEPENDS = "wayland-native wayland wayland-protocols" | 8 | DEPENDS = "wayland wayland-native wayland-protocols" |
| 6 | 9 | ||
| 7 | require imx-gpu-sdk-src.inc | 10 | require imx-gpu-sdk-src.inc |
| 8 | 11 | ||
| @@ -12,7 +15,7 @@ S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell" | |||
| 12 | 15 | ||
| 13 | inherit cmake pkgconfig | 16 | inherit cmake pkgconfig |
| 14 | 17 | ||
| 15 | EXTRA_OECMAKE = " \ | 18 | EXTRA_OECMAKE = "\ |
| 16 | -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ | 19 | -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ |
| 17 | -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ | 20 | -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \ |
| 18 | " | 21 | " |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index 38f976c71..ea76e2af8 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
| @@ -3,18 +3,19 @@ | |||
| 3 | # Copyright 2017-2024 NXP | 3 | # Copyright 2017-2024 NXP |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | SUMMARY = "i.MX Vivante GPU driver" | ||
| 6 | DESCRIPTION = "GPU driver and apps for i.MX" | 7 | DESCRIPTION = "GPU driver and apps for i.MX" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | 8 | HOMEPAGE = "https://www.nxp.com/" |
| 8 | SECTION = "libs" | 9 | SECTION = "libs" |
| 9 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" |
| 11 | 12 | ||
| 12 | DEPENDS += " \ | 13 | DEPENDS += "\ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
| 14 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ | 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes', \ |
| 15 | '', d), d)} \ | 16 | '', d), d)} \ |
| 16 | " | 17 | " |
| 17 | DEPENDS += " \ | 18 | DEPENDS += "\ |
| 18 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ | 19 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb libxshmfence libxxf86vm', \ |
| 19 | '', d)} \ | 20 | '', d)} \ |
| 20 | " | 21 | " |
| @@ -23,14 +24,14 @@ DEPENDS:append:mx8-nxp-bsp = " patchelf-native" | |||
| 23 | 24 | ||
| 24 | DEPENDS:append:libc-musl = " gcompat" | 25 | DEPENDS:append:libc-musl = " gcompat" |
| 25 | 26 | ||
| 26 | PROVIDES += " \ | 27 | PROVIDES += "\ |
| 27 | imx-gpu-viv \ | 28 | imx-gpu-viv \ |
| 28 | libgal-imx \ | 29 | libgal-imx \ |
| 29 | virtual/egl \ | 30 | virtual/egl \ |
| 30 | virtual/libopenvg \ | 31 | virtual/libopenvg \ |
| 31 | ${EXTRA_PROVIDES} \ | 32 | ${EXTRA_PROVIDES} \ |
| 32 | " | 33 | " |
| 33 | EXTRA_PROVIDES = " \ | 34 | EXTRA_PROVIDES = "\ |
| 34 | ${PROVIDES_OPENCL} \ | 35 | ${PROVIDES_OPENCL} \ |
| 35 | ${PROVIDES_OPENVX} \ | 36 | ${PROVIDES_OPENVX} \ |
| 36 | " | 37 | " |
| @@ -43,21 +44,21 @@ EXTRA_PROVIDES:append:mx8-nxp-bsp = " \ | |||
| 43 | virtual/libgbm \ | 44 | virtual/libgbm \ |
| 44 | " | 45 | " |
| 45 | 46 | ||
| 46 | PROVIDES_OPENCL = " \ | 47 | PROVIDES_OPENCL = "\ |
| 47 | opencl-headers \ | 48 | opencl-headers \ |
| 48 | opencl-clhpp \ | 49 | opencl-clhpp \ |
| 49 | opencl-icd-loader \ | 50 | opencl-icd-loader \ |
| 50 | virtual/libopencl1 \ | 51 | virtual/libopencl1 \ |
| 51 | " | 52 | " |
| 52 | PROVIDES_OPENCL:mx7-nxp-bsp = "" | 53 | PROVIDES_OPENCL:mx7-nxp-bsp = "" |
| 53 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" | 54 | PROVIDES_OPENCL:mx8mm-nxp-bsp = "" |
| 54 | 55 | ||
| 55 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. | 56 | # Note: OpenVX is fully supported on i.MX 8 QuadMax and 8 QuadPlus. |
| 56 | # However, only limited support is provided on other i.MX 8 machines | 57 | # However, only limited support is provided on other i.MX 8 machines |
| 57 | # as needed for i.MX machine learning packages. | 58 | # as needed for i.MX machine learning packages. |
| 58 | PROVIDES_OPENVX = "" | 59 | PROVIDES_OPENVX = "" |
| 59 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" | 60 | PROVIDES_OPENVX:mx8-nxp-bsp = "virtual/libopenvx" |
| 60 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" | 61 | PROVIDES_OPENVX:mx8mm-nxp-bsp = "" |
| 61 | 62 | ||
| 62 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" | 63 | RPROVIDES:${PN}:imxgpu3d += "imx-gpu-viv" |
| 63 | 64 | ||
| @@ -76,39 +77,39 @@ PACKAGECONFIG ?= "" | |||
| 76 | PACKAGECONFIG[valgrind] = "" | 77 | PACKAGECONFIG[valgrind] = "" |
| 77 | 78 | ||
| 78 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below | 79 | # Note : If you add a package here, to prevent a naming conflict see the python_anonymous() futher below |
| 79 | PACKAGES =+ " \ | 80 | PACKAGES =+ "\ |
| 80 | libgles1-imx libgles1-imx-dev \ | 81 | libgles1-imx libgles1-imx-dev \ |
| 81 | libgles2-imx libgles2-imx-dev \ | 82 | libgles2-imx libgles2-imx-dev \ |
| 82 | libgles3-imx-dev \ | 83 | libgles3-imx-dev \ |
| 83 | libglslc-imx libglslc-imx-dev \ | 84 | libglslc-imx libglslc-imx-dev \ |
| 84 | ${PACKAGES_OPENCL} \ | 85 | ${PACKAGES_OPENCL} \ |
| 85 | libopenvg-imx libopenvg-imx-dev \ | 86 | libopenvg-imx libopenvg-imx-dev \ |
| 86 | libvdk-imx libvdk-imx-dev \ | 87 | libvdk-imx libvdk-imx-dev \ |
| 87 | libegl-imx libegl-imx-dev \ | 88 | libegl-imx libegl-imx-dev \ |
| 88 | libgal-imx libgal-imx-dev \ | 89 | libgal-imx libgal-imx-dev \ |
| 89 | libvsc-imx \ | 90 | libvsc-imx \ |
| 90 | ${PACKAGES_GBM} \ | 91 | ${PACKAGES_GBM} \ |
| 91 | imx-gpu-viv-tools \ | 92 | imx-gpu-viv-tools \ |
| 92 | imx-gpu-viv-demos \ | 93 | imx-gpu-viv-demos \ |
| 93 | ${PACKAGES_VULKAN} \ | 94 | ${PACKAGES_VULKAN} \ |
| 94 | ${PACKAGES_OPENVX} \ | 95 | ${PACKAGES_OPENVX} \ |
| 95 | libnn-imx \ | 96 | libnn-imx \ |
| 96 | libspirv-imx \ | 97 | libspirv-imx \ |
| 97 | " | 98 | " |
| 98 | 99 | ||
| 99 | PACKAGES_GBM = "" | 100 | PACKAGES_GBM = "" |
| 100 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" | 101 | PACKAGES_GBM:mx8-nxp-bsp = "libgbm-imx libgbm-imx-dev" |
| 101 | 102 | ||
| 102 | PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" | 103 | PACKAGES_OPENCL = "libclc-imx libopencl-imx libopencl-imx-dev" |
| 103 | PACKAGES_OPENCL:mx7-nxp-bsp = "" | 104 | PACKAGES_OPENCL:mx7-nxp-bsp = "" |
| 104 | PACKAGES_OPENCL:mx8mm-nxp-bsp = "" | 105 | PACKAGES_OPENCL:mx8mm-nxp-bsp = "" |
| 105 | 106 | ||
| 106 | PACKAGES_OPENVX = \ | 107 | PACKAGES_OPENVX = \ |
| 107 | "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ | 108 | "${@bb.utils.contains("PROVIDES_OPENVX", "virtual/libopenvx", \ |
| 108 | "libopenvx-imx libopenvx-imx-dev", "", d)}" | 109 | "libopenvx-imx libopenvx-imx-dev", "", d)}" |
| 109 | 110 | ||
| 110 | PACKAGES_VULKAN = "" | 111 | PACKAGES_VULKAN = "" |
| 111 | PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev" | 112 | PACKAGES_VULKAN:imxvulkan = "libvulkan-imx libvulkan-imx-dev" |
| 112 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev" | 113 | PACKAGES_VULKAN:mx8mm-nxp-bsp = "libvulkan-imx libvulkan-imx-dev" |
| 113 | 114 | ||
| 114 | python __anonymous () { | 115 | python __anonymous () { |
| @@ -166,16 +167,16 @@ IS_MX8:mx8-nxp-bsp = "1" | |||
| 166 | 167 | ||
| 167 | PACKAGE_FP_TYPE = "hardfp" | 168 | PACKAGE_FP_TYPE = "hardfp" |
| 168 | 169 | ||
| 169 | HAS_GBM = "false" | 170 | HAS_GBM = "false" |
| 170 | HAS_GBM:mx8-nxp-bsp = "true" | 171 | HAS_GBM:mx8-nxp-bsp = "true" |
| 171 | 172 | ||
| 172 | IMX_SOC = "IMX_SOC_NOT_SET" | 173 | IMX_SOC = "IMX_SOC_NOT_SET" |
| 173 | IMX_SOC:mx8qm-nxp-bsp = "mx8qm" | 174 | IMX_SOC:mx8qm-nxp-bsp = "mx8qm" |
| 174 | IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp" | 175 | IMX_SOC:mx8qxp-nxp-bsp = "mx8qxp" |
| 175 | IMX_SOC:mx8dx-nxp-bsp = "mx8qxp" | 176 | IMX_SOC:mx8dx-nxp-bsp = "mx8qxp" |
| 176 | IMX_SOC:mx8mp-nxp-bsp = "mx8mp" | 177 | IMX_SOC:mx8mp-nxp-bsp = "mx8mp" |
| 177 | IMX_SOC:mx8mq-nxp-bsp = "mx8mq" | 178 | IMX_SOC:mx8mq-nxp-bsp = "mx8mq" |
| 178 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" | 179 | IMX_SOC:mx8mn-nxp-bsp = "mx8mn" |
| 179 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" | 180 | IMX_SOC:mx8ulp-nxp-bsp = "mx8ulp" |
| 180 | 181 | ||
| 181 | do_install () { | 182 | do_install () { |
| @@ -332,8 +333,8 @@ INSANE_SKIP:libgal-imx += "build-deps" | |||
| 332 | 333 | ||
| 333 | FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" | 334 | FILES:libvsc-imx = "${libdir}/libVSC${SOLIBS}" |
| 334 | 335 | ||
| 335 | FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}" | 336 | FILES:libgbm-imx = "${libdir}/libgbm*${REALSOLIBS} ${libdir}/libgbm${SOLIBS} ${libdir}/libgbm_viv${SOLIBS}" |
| 336 | FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | 337 | FILES:libgbm-imx-dev = "${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" |
| 337 | RDEPENDS:libgbm-imx:append = " libdrm" | 338 | RDEPENDS:libgbm-imx:append = " libdrm" |
| 338 | INSANE_SKIP:libgbm-imx += "dev-so" | 339 | INSANE_SKIP:libgbm-imx += "dev-so" |
| 339 | 340 | ||
| @@ -343,11 +344,11 @@ FILES:libvulkan-imx = "\ | |||
| 343 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" | 344 | FILES:libvulkan-imx-dev = "${includedir}/vulkan ${libdir}/libvulkan_VSI${SOLIBSDEV}" |
| 344 | RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" | 345 | RPROVIDES:libvulkan-imx = "virtual-vulkan-icd" |
| 345 | 346 | ||
| 346 | FILES:libspirv-imx = " \ | 347 | FILES:libspirv-imx = "\ |
| 347 | ${libdir}/libSPIRV_viv${SOLIBS} \ | 348 | ${libdir}/libSPIRV_viv${SOLIBS} \ |
| 348 | " | 349 | " |
| 349 | 350 | ||
| 350 | FILES:libopenvx-imx = " \ | 351 | FILES:libopenvx-imx = "\ |
| 351 | ${libdir}/libOpenVX${REALSOLIBS} \ | 352 | ${libdir}/libOpenVX${REALSOLIBS} \ |
| 352 | ${libdir}/libOpenVXC${SOLIBS} \ | 353 | ${libdir}/libOpenVXC${SOLIBS} \ |
| 353 | ${libdir}/libOpenVXU${SOLIBS} \ | 354 | ${libdir}/libOpenVXU${SOLIBS} \ |
| @@ -356,7 +357,7 @@ FILES:libopenvx-imx = " \ | |||
| 356 | " | 357 | " |
| 357 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" | 358 | FILES:libopenvx-imx-dev = "${includedir}/VX ${libdir}/libOpenVX${SOLIBSDEV}" |
| 358 | RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" | 359 | RDEPENDS:libopenvx-imx = "${OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES}" |
| 359 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" | 360 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES = "" |
| 360 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" | 361 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8qm-nxp-bsp = "libclc-imx libopencl-imx-dev" |
| 361 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" | 362 | OPENCL_VX_INTRINSIC_EXTENSION_PACKAGES:mx8mp-nxp-bsp = "libclc-imx libopencl-imx-dev" |
| 362 | INSANE_SKIP:libopenvx-imx += "dev-deps" | 363 | INSANE_SKIP:libopenvx-imx += "dev-deps" |
| @@ -387,8 +388,8 @@ FILES:libopencl-imx = "${libdir}/libOpenCL${REALSOLIBS} \ | |||
| 387 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | 388 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" |
| 388 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 389 | FILES:libopencl-imx-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
| 389 | RDEPENDS:libopencl-imx = "libclc-imx" | 390 | RDEPENDS:libopencl-imx = "libclc-imx" |
| 390 | RPROVIDES:libopencl-imx = "virtual-opencl-icd" | 391 | RPROVIDES:libopencl-imx = "virtual-opencl-icd" |
| 391 | RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" | 392 | RPROVIDES:libopencl-imx:mx7-nxp-bsp = "" |
| 392 | RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" | 393 | RPROVIDES:libopencl-imx:mx8mm-nxp-bsp = "" |
| 393 | 394 | ||
| 394 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" | 395 | FILES:libopenvg-imx = "${libdir}/libOpenVG*${REALSOLIBS} ${libdir}/libOpenVG*${SOLIBS}" |
diff --git a/recipes-graphics/mali/mali-imx.inc b/recipes-graphics/mali/mali-imx.inc index 97a1175e7..f3ef8f474 100644 --- a/recipes-graphics/mali/mali-imx.inc +++ b/recipes-graphics/mali/mali-imx.inc | |||
| @@ -1,11 +1,13 @@ | |||
| 1 | SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" | 1 | SUMMARY = "Graphics libraries and driver for i.MX Mali GPU" |
| 2 | DESCRIPTION = "Arm Mali GPU user-space graphics libraries and driver for i.MX SoCs." | ||
| 3 | HOMEPAGE = "https://www.nxp.com/" | ||
| 2 | SECTION = "libs" | 4 | SECTION = "libs" |
| 3 | DEPENDS = " \ | 5 | DEPENDS = "\ |
| 4 | libdrm \ | 6 | libdrm \ |
| 5 | vulkan-loader \ | 7 | vulkan-loader \ |
| 6 | wayland \ | 8 | wayland \ |
| 7 | wayland-protocols" | 9 | wayland-protocols" |
| 8 | PROVIDES = " \ | 10 | PROVIDES = "\ |
| 9 | virtual/egl \ | 11 | virtual/egl \ |
| 10 | virtual/libgbm \ | 12 | virtual/libgbm \ |
| 11 | virtual/libgles1 \ | 13 | virtual/libgles1 \ |
| @@ -18,7 +20,7 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
| 18 | INHIBIT_PACKAGE_STRIP = "1" | 20 | INHIBIT_PACKAGE_STRIP = "1" |
| 19 | INHIBIT_SYSROOT_STRIP = "1" | 21 | INHIBIT_SYSROOT_STRIP = "1" |
| 20 | 22 | ||
| 21 | PACKAGES =+ " \ | 23 | PACKAGES =+ "\ |
| 22 | ${PN}-libegl ${PN}-libegl-dev \ | 24 | ${PN}-libegl ${PN}-libegl-dev \ |
| 23 | ${PN}-libgbm ${PN}-libgbm-dev \ | 25 | ${PN}-libgbm ${PN}-libgbm-dev \ |
| 24 | ${PN}-libgles1 ${PN}-libgles1-dev \ | 26 | ${PN}-libgles1 ${PN}-libgles1-dev \ |
| @@ -28,42 +30,42 @@ PACKAGES =+ " \ | |||
| 28 | ${PN}-opencl-icd ${PN}-opencl-icd-dev" | 30 | ${PN}-opencl-icd ${PN}-opencl-icd-dev" |
| 29 | 31 | ||
| 30 | # Since libmali.so is loaded by dlopen, include it in the main package | 32 | # Since libmali.so is loaded by dlopen, include it in the main package |
| 31 | FILES:${PN} += " \ | 33 | FILES:${PN} += "\ |
| 32 | ${libdir}/libmali.so \ | 34 | ${libdir}/libmali.so \ |
| 33 | ${nonarch_base_libdir}/firmware" | 35 | ${nonarch_base_libdir}/firmware" |
| 34 | FILES_SOLIBSDEV = "" | 36 | FILES_SOLIBSDEV = "" |
| 35 | INSANE_SKIP:${PN} = "dev-so" | 37 | INSANE_SKIP:${PN} = "dev-so" |
| 36 | FILES:${PN}-libegl = " \ | 38 | FILES:${PN}-libegl = "\ |
| 37 | ${libdir}/libEGL${SOLIBS}" | 39 | ${libdir}/libEGL${SOLIBS}" |
| 38 | FILES:${PN}-libgbm = " \ | 40 | FILES:${PN}-libgbm = "\ |
| 39 | ${libdir}/libgbm${SOLIBS}" | 41 | ${libdir}/libgbm${SOLIBS}" |
| 40 | FILES:${PN}-libgles1 = " \ | 42 | FILES:${PN}-libgles1 = "\ |
| 41 | ${libdir}/libGLESv1_CM${SOLIBS}" | 43 | ${libdir}/libGLESv1_CM${SOLIBS}" |
| 42 | FILES:${PN}-libgles2 = " \ | 44 | FILES:${PN}-libgles2 = "\ |
| 43 | ${libdir}/libGLESv2${SOLIBS}" | 45 | ${libdir}/libGLESv2${SOLIBS}" |
| 44 | FILES:${PN}-opencl-icd = " \ | 46 | FILES:${PN}-opencl-icd = "\ |
| 45 | ${sysconfdir}/OpenCL" | 47 | ${sysconfdir}/OpenCL" |
| 46 | RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" | 48 | RPROVIDES:${PN}-opencl-icd = "virtual-opencl-icd" |
| 47 | FILES:${PN}-libvulkan = " \ | 49 | FILES:${PN}-libvulkan = "\ |
| 48 | ${sysconfdir}/vulkan" | 50 | ${sysconfdir}/vulkan" |
| 49 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" | 51 | RDEPENDS:${PN}-libvulkan = "vulkan-wsi-layer" |
| 50 | RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" | 52 | RPROVIDES:${PN}-libvulkan = "virtual-vulkan-icd" |
| 51 | 53 | ||
| 52 | FILES:${PN}-dev = " \ | 54 | FILES:${PN}-dev = "\ |
| 53 | ${bindir}/malisc" | 55 | ${bindir}/malisc" |
| 54 | FILES:${PN}-libegl-dev = " \ | 56 | FILES:${PN}-libegl-dev = "\ |
| 55 | ${includedir}/EGL \ | 57 | ${includedir}/EGL \ |
| 56 | ${includedir}/KHR \ | 58 | ${includedir}/KHR \ |
| 57 | ${libdir}/libEGL${SOLIBSDEV} \ | 59 | ${libdir}/libEGL${SOLIBSDEV} \ |
| 58 | ${libdir}/pkgconfig/egl.pc" | 60 | ${libdir}/pkgconfig/egl.pc" |
| 59 | FILES:${PN}-libgbm-dev = " \ | 61 | FILES:${PN}-libgbm-dev = "\ |
| 60 | ${includedir}/gbm.h \ | 62 | ${includedir}/gbm.h \ |
| 61 | ${libdir}/libgbm${SOLIBSDEV} \ | 63 | ${libdir}/libgbm${SOLIBSDEV} \ |
| 62 | ${libdir}/pkgconfig/gbm.pc" | 64 | ${libdir}/pkgconfig/gbm.pc" |
| 63 | 65 | ||
| 64 | # Consolidate GLES dev packages | 66 | # Consolidate GLES dev packages |
| 65 | PACKAGES =+ "${PN}-libgles-dev" | 67 | PACKAGES =+ "${PN}-libgles-dev" |
| 66 | FILES:${PN}-libgles-dev = " \ | 68 | FILES:${PN}-libgles-dev = "\ |
| 67 | ${includedir}/GLES* \ | 69 | ${includedir}/GLES* \ |
| 68 | ${libdir}/libGLES*${SOLIBSDEV} \ | 70 | ${libdir}/libGLES*${SOLIBSDEV} \ |
| 69 | ${libdir}/pkgconfig/gles*.pc" | 71 | ${libdir}/pkgconfig/gles*.pc" |
| @@ -78,7 +80,7 @@ RDEPENDS:${PN}-libgles1-dev = "${PN}-libgles-dev" | |||
| 78 | RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" | 80 | RDEPENDS:${PN}-libgles2-dev = "${PN}-libgles-dev" |
| 79 | RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" | 81 | RDEPENDS:${PN}-libgles3-dev = "${PN}-libgles-dev" |
| 80 | 82 | ||
| 81 | FILES:${PN}-opencl-icd-dev = " \ | 83 | FILES:${PN}-opencl-icd-dev = "\ |
| 82 | ${bindir}/mali_clcc" | 84 | ${bindir}/mali_clcc" |
| 83 | 85 | ||
| 84 | python __anonymous() { | 86 | python __anonymous() { |
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index 7d3e7ca1c..fe2f5dd7f 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -9,18 +9,18 @@ SRC_URI:append:imxgpu = " \ | |||
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" | 10 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" |
| 11 | 11 | ||
| 12 | PACKAGECONFIG:remove = " \ | 12 | PACKAGECONFIG:remove = "\ |
| 13 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ | 13 | ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \ |
| 14 | ${PACKAGECONFIG_REMOVE_IF_GPU}" | 14 | ${PACKAGECONFIG_REMOVE_IF_GPU}" |
| 15 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" | 15 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" |
| 16 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" | 16 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" |
| 17 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" | 17 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" |
| 18 | PACKAGECONFIG_REMOVE_IF_GPU = "" | 18 | PACKAGECONFIG_REMOVE_IF_GPU = "" |
| 19 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" | 19 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG:append = " \ | 21 | PACKAGECONFIG:append = " \ |
| 22 | ${PACKAGECONFIG_APPEND_IF_GPU}" | 22 | ${PACKAGECONFIG_APPEND_IF_GPU}" |
| 23 | PACKAGECONFIG_APPEND_IF_GPU = "" | 23 | PACKAGECONFIG_APPEND_IF_GPU = "" |
| 24 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" | 24 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG[glu] = ",,libglu" | 26 | PACKAGECONFIG[glu] = ",,libglu" |
diff --git a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb index 2a5bc1568..9df4d4f40 100644 --- a/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb +++ b/recipes-graphics/mesa/mesa-etnaviv-env_0.1.bb | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | SUMMARY = "Mesa environment variables for etnaviv on xserver" | 1 | SUMMARY = "Mesa environment variables for etnaviv on xserver" |
| 2 | DESCRIPTION = "Environment variable configuration to enable the etnaviv Mesa driver on the X server." | ||
| 2 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" | 3 | HOMEPAGE = "https://github.com/Freescale/meta-freescale/" |
| 4 | SECTION = "graphics" | ||
| 3 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 5 | 7 | ||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | |||
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | file://mesa-etnaviv.conf \ | 9 | file://mesa-etnaviv.conf \ |
| 10 | file://mesa-etnaviv.sh \ | 10 | file://mesa-etnaviv.sh \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 13 | S = "${UNPACKDIR}" | 15 | S = "${UNPACKDIR}" |
| 14 | 16 | ||
| 15 | do_configure[noexec] = "1" | 17 | do_configure[noexec] = "1" |
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index 0a4a3a4a4..57120b65d 100644 --- a/recipes-graphics/piglit/piglit_%.bbappend +++ b/recipes-graphics/piglit/piglit_%.bbappend | |||
| @@ -4,19 +4,19 @@ SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.pat | |||
| 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" | 4 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" |
| 5 | 5 | ||
| 6 | PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" | 6 | PACKAGECONFIG:append = " ${PACKAGECONFIG_APPEND}" |
| 7 | PACKAGECONFIG:remove = " ${PACKAGECONFIG_REMOVE}" | 7 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG_APPEND ?= " \ | 9 | PACKAGECONFIG_APPEND ?= "\ |
| 10 | gbm \ | 10 | gbm \ |
| 11 | ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" | 11 | ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" |
| 12 | PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" | 12 | PACKAGECONFIG_APPEND:append:imxviv:mx8-nxp-bsp = " opencl" |
| 13 | PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" | 13 | PACKAGECONFIG_APPEND:imxgpu:mx6-nxp-bsp = "" |
| 14 | PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" | 14 | PACKAGECONFIG_APPEND:imxgpu:mx7-nxp-bsp = "" |
| 15 | 15 | ||
| 16 | PACKAGECONFIG_REMOVE ?= "" | 16 | PACKAGECONFIG_REMOVE ?= "" |
| 17 | PACKAGECONFIG_REMOVE:imxgpu = "glx" | 17 | PACKAGECONFIG_REMOVE:imxgpu = "glx" |
| 18 | PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" | 18 | PACKAGECONFIG_REMOVE:imxgpu:mx6-nxp-bsp = "glx x11" |
| 19 | PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" | 19 | PACKAGECONFIG_REMOVE:imxgpu:mx7-nxp-bsp = "glx x11" |
| 20 | 20 | ||
| 21 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" | 21 | PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm" |
| 22 | 22 | ||
diff --git a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb index d4200d394..d770faeb9 100644 --- a/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb +++ b/recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API" | 1 | SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API" |
| 2 | DESCRIPTION = "Experimental header-only C++11 RAII wrapper classes that manage OpenCL API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenCL" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
diff --git a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb index 049fca0fd..7db3a0cc4 100644 --- a/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb +++ b/recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API" | 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API" |
| 2 | DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage OpenVX API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidOpenVX" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
diff --git a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb index c37cf7411..5616b264b 100644 --- a/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb +++ b/recipes-graphics/rapidvulkan/rapidvulkan_1.2.162.0.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" | 1 | SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API" |
| 2 | DESCRIPTION = "Header-only C++11 RAII wrapper classes that manage Vulkan API object lifetimes automatically." | ||
| 3 | HOMEPAGE = "https://github.com/Unarmed1000/RapidVulkan" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" | 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204" |
| 4 | 7 | ||
| @@ -7,7 +10,6 @@ DEPENDS = "vulkan-loader" | |||
| 7 | SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master" |
| 8 | SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7" | 11 | SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7" |
| 9 | 12 | ||
| 10 | |||
| 11 | REQUIRED_DISTRO_FEATURES = "vulkan" | 13 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 12 | 14 | ||
| 13 | inherit cmake features_check | 15 | inherit cmake features_check |
diff --git a/recipes-graphics/vulkan/assimp_5.4.3.bb b/recipes-graphics/vulkan/assimp_5.4.3.bb index ff4fb7719..c7d19c3f6 100644 --- a/recipes-graphics/vulkan/assimp_5.4.3.bb +++ b/recipes-graphics/vulkan/assimp_5.4.3.bb | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | SUMMARY = "Portable library to import 3D model formats" | ||
| 1 | DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ | 2 | DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ |
| 2 | various well-known 3D model formats in a uniform manner." | 3 | various well-known 3D model formats in a uniform manner." |
| 3 | HOMEPAGE = "http://www.assimp.org/" | 4 | HOMEPAGE = "http://www.assimp.org/" |
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend index ce120937a..1e506c01b 100644 --- a/recipes-graphics/vulkan/vulkan-loader_%.bbappend +++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend | |||
| @@ -9,6 +9,6 @@ SRC_URI:append:imx-nxp-bsp = " \ | |||
| 9 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" | 9 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" |
| 10 | 10 | ||
| 11 | # libvulkan.so is loaded dynamically, so put it in the main package | 11 | # libvulkan.so is loaded dynamically, so put it in the main package |
| 12 | SOLIBS:imx-nxp-bsp = ".so*" | 12 | SOLIBS:imx-nxp-bsp = ".so*" |
| 13 | FILES_SOLIBSDEV:imx-nxp-bsp = "" | 13 | FILES_SOLIBSDEV:imx-nxp-bsp = "" |
| 14 | INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" | 14 | INSANE_SKIP:${PN}:imx-nxp-bsp += "dev-so" |
diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb index 0118975a5..0bbebf5c2 100644 --- a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb +++ b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "Vulkan WSI layer" | ||
| 1 | DESCRIPTION = "Vulkan Window System Integration Layer" | 2 | DESCRIPTION = "Vulkan Window System Integration Layer" |
| 3 | HOMEPAGE = "https://gitlab.freedesktop.org/mesa/vulkan-wsi-layer" | ||
| 4 | SECTION = "graphics" | ||
| 2 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c2e771b72d60a13d2de384cb49055d00" |
| 4 | DEPENDS = "libdrm vulkan-loader" | 7 | DEPENDS = "libdrm vulkan-loader" |
| @@ -29,7 +32,7 @@ PACKAGECONFIG[wayland] = " \ | |||
| 29 | wayland wayland-native wayland-protocols,,, \ | 32 | wayland wayland-native wayland-protocols,,, \ |
| 30 | headless" | 33 | headless" |
| 31 | 34 | ||
| 32 | EXTRA_OECMAKE = " \ | 35 | EXTRA_OECMAKE = "\ |
| 33 | -DBUILD_WSI_DISPLAY=0 \ | 36 | -DBUILD_WSI_DISPLAY=0 \ |
| 34 | -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ | 37 | -DBUILD_WSI_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN=1 \ |
| 35 | -DCMAKE_BUILD_TYPE=Release \ | 38 | -DCMAKE_BUILD_TYPE=Release \ |
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend index fd375271f..1456655ee 100644 --- a/recipes-graphics/waffle/waffle_%.bbappend +++ b/recipes-graphics/waffle/waffle_%.bbappend | |||
| @@ -5,12 +5,12 @@ SRC_URI:append:imxgpu = " \ | |||
| 5 | file://0002-meson-Separate-surfaceless-option-from-x11.patch \ | 5 | file://0002-meson-Separate-surfaceless-option-from-x11.patch \ |
| 6 | " | 6 | " |
| 7 | 7 | ||
| 8 | PACKAGECONFIG_IMXGPU_X11 = "" | 8 | PACKAGECONFIG_IMXGPU_X11 = "" |
| 9 | PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" | 9 | PACKAGECONFIG_IMXGPU_X11:imxgpu3d = "x11-egl glx" |
| 10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" | 10 | PACKAGECONFIG_IMXGPU_GBM = "gbm" |
| 11 | PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = "" | 11 | PACKAGECONFIG_IMXGPU_GBM:mx6-nxp-bsp = "" |
| 12 | PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = "" | 12 | PACKAGECONFIG_IMXGPU_GBM:mx7-nxp-bsp = "" |
| 13 | PACKAGECONFIG:imxgpu = " \ | 13 | PACKAGECONFIG:imxgpu = "\ |
| 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ |
| 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ | 15 | bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \ |
| 16 | '', d), d)} \ | 16 | '', d), d)} \ |
diff --git a/recipes-graphics/wayland/wayland-protocols_%.bbappend b/recipes-graphics/wayland/wayland-protocols_%.bbappend index 762b47a31..041cb491a 100644 --- a/recipes-graphics/wayland/wayland-protocols_%.bbappend +++ b/recipes-graphics/wayland/wayland-protocols_%.bbappend | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
| 2 | 2 | ||
| 3 | NXP_PATCHES = " \ | 3 | NXP_PATCHES = "\ |
| 4 | file://0001-unstable-Add-alpha-compositing-protocol.patch \ | 4 | file://0001-unstable-Add-alpha-compositing-protocol.patch \ |
| 5 | file://0002-unstable-Add-hdr10-metadata-protocol.patch \ | 5 | file://0002-unstable-Add-hdr10-metadata-protocol.patch \ |
| 6 | file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \ | 6 | file://0003-linux-dmabuf-support-passing-buffer-DTRC-meta-to-com.patch \ |
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend index 1b08b1955..c8c0470fe 100644 --- a/recipes-graphics/wayland/weston-init.bbappend +++ b/recipes-graphics/wayland/weston-init.bbappend | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | # OpenGL is not required for parts with GPU support for 2D but not 3D | 3 | # OpenGL is not required for parts with GPU support for 2D but not 3D |
| 4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" | 4 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE = "" |
| 5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" | 5 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu2d = "opengl" |
| 6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" | 6 | IMX_REQUIRED_DISTRO_FEATURES_REMOVE:imxgpu3d = "" |
| 7 | REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" | 7 | REQUIRED_DISTRO_FEATURES:remove = "${IMX_REQUIRED_DISTRO_FEATURES_REMOVE}" |
| 8 | 8 | ||
| 9 | SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" | 9 | SRC_URI:append:mx6sl-nxp-bsp = " file://weston.config" |
| 10 | 10 | ||
| 11 | PACKAGECONFIG ??= " \ | 11 | PACKAGECONFIG ??= "\ |
| 12 | no-idle-timeout \ | 12 | no-idle-timeout \ |
| 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ | 13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)} \ |
| 14 | ${PACKAGECONFIG_GBM_FORMAT} \ | 14 | ${PACKAGECONFIG_GBM_FORMAT} \ |
| @@ -20,34 +20,34 @@ PACKAGECONFIG ??= " \ | |||
| 20 | # Mainline BSPs dont support xwayland | 20 | # Mainline BSPs dont support xwayland |
| 21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" | 21 | PACKAGECONFIG:remove:use-mainline-bsp = "xwayland" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG_GBM_FORMAT ?= "" | 23 | PACKAGECONFIG_GBM_FORMAT ?= "" |
| 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" | 24 | PACKAGECONFIG_GBM_FORMAT:mx8mq-nxp-bsp ?= "gbm-format" |
| 25 | PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format" | 25 | PACKAGECONFIG_GBM_FORMAT:mx93-nxp-bsp ?= "gbm-format" |
| 26 | 26 | ||
| 27 | GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888" | 27 | GBM_FORMAT_VALUE:mx8mq-nxp-bsp = "argb8888" |
| 28 | GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888" | 28 | GBM_FORMAT_VALUE:mx93-nxp-bsp = "argb8888" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG_REPAINT_WINDOW ?= "" | 30 | PACKAGECONFIG_REPAINT_WINDOW ?= "" |
| 31 | PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window" | 31 | PACKAGECONFIG_REPAINT_WINDOW:mx8-nxp-bsp ?= "repaint-window" |
| 32 | PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window" | 32 | PACKAGECONFIG_REPAINT_WINDOW:mx9-nxp-bsp ?= "repaint-window" |
| 33 | 33 | ||
| 34 | PACKAGECONFIG_SIZE ?= "" | 34 | PACKAGECONFIG_SIZE ?= "" |
| 35 | PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size" | 35 | PACKAGECONFIG_SIZE:mx8mq-nxp-bsp ?= "size" |
| 36 | 36 | ||
| 37 | SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080" | 37 | SIZE_VALUE:mx8mq-nxp-bsp = "1920x1080" |
| 38 | 38 | ||
| 39 | HAS_G2D = "false" | 39 | HAS_G2D = "false" |
| 40 | HAS_G2D:imxgpu2d = "true" | 40 | HAS_G2D:imxgpu2d = "true" |
| 41 | 41 | ||
| 42 | PACKAGECONFIG_USE_G2D ?= "" | 42 | PACKAGECONFIG_USE_G2D ?= "" |
| 43 | PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d" | 43 | PACKAGECONFIG_USE_G2D:imxgpu2d ?= "use-g2d" |
| 44 | PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= "" | 44 | PACKAGECONFIG_USE_G2D:mx8qm-nxp-bsp ?= "" |
| 45 | PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= "" | 45 | PACKAGECONFIG_USE_G2D:mx8qxp-nxp-bsp ?= "" |
| 46 | PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= "" | 46 | PACKAGECONFIG_USE_G2D:mx8dx-nxp-bsp ?= "" |
| 47 | PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d" | 47 | PACKAGECONFIG_USE_G2D:mx93-nxp-bsp ?= "use-g2d" |
| 48 | PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d" | 48 | PACKAGECONFIG_USE_G2D:mx943-nxp-bsp ?= "use-g2d" |
| 49 | 49 | ||
| 50 | USE_G2D_VALUE = "true" | 50 | USE_G2D_VALUE = "true" |
| 51 | USE_G2D_VALUE:mx6-nxp-bsp = "1" | 51 | USE_G2D_VALUE:mx6-nxp-bsp = "1" |
| 52 | USE_G2D_VALUE:mx7-nxp-bsp = "1" | 52 | USE_G2D_VALUE:mx7-nxp-bsp = "1" |
| 53 | 53 | ||
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index 991650fb9..2e1c136ff 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
| @@ -31,8 +31,8 @@ inherit meson pkgconfig useradd | |||
| 31 | # | 31 | # |
| 32 | require ${THISDIR}/required-distro-features.inc | 32 | require ${THISDIR}/required-distro-features.inc |
| 33 | 33 | ||
| 34 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 34 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libinput libxkbcommon pango pixman \ |
| 35 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 35 | virtual/egl wayland wayland-native wayland-protocols" |
| 36 | 36 | ||
| 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 38 | 38 | ||
| @@ -103,29 +103,29 @@ PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | |||
| 103 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" | 103 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" |
| 104 | 104 | ||
| 105 | do_install:append() { | 105 | do_install:append() { |
| 106 | # Weston doesn't need the .la files to load modules, so wipe them | 106 | # Weston doesn't need the .la files to load modules, so wipe them |
| 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la | 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la |
| 108 | 108 | ||
| 109 | # If X11, ship a desktop file to launch it | 109 | # If X11, ship a desktop file to launch it |
| 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
| 111 | install -d ${D}${datadir}/applications | 111 | install -d ${D}${datadir}/applications |
| 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications | 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
| 113 | 113 | ||
| 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
| 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
| 116 | fi | 116 | fi |
| 117 | 117 | ||
| 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
| 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
| 120 | fi | 120 | fi |
| 121 | 121 | ||
| 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
| 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
| 124 | fi | 124 | fi |
| 125 | 125 | ||
| 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
| 127 | chmod u+s ${D}${bindir}/weston-launch | 127 | chmod u+s ${D}${bindir}/weston-launch |
| 128 | fi | 128 | fi |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |
| @@ -156,7 +156,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch" | |||
| 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" | 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" |
| 157 | 157 | ||
| 158 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" | 158 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 159 | LIC_FILES_CHKSUM:append = "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | 159 | LIC_FILES_CHKSUM:append = " file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 160 | 160 | ||
| 161 | DEFAULT_PREFERENCE = "-1" | 161 | DEFAULT_PREFERENCE = "-1" |
| 162 | 162 | ||
| @@ -169,12 +169,12 @@ SRCBRANCH = "weston-imx-10.0.5" | |||
| 169 | SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e" | 169 | SRCREV = "5223a3c86177709d25f86a96622c0829da955a0e" |
| 170 | 170 | ||
| 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
| 172 | REQUIRED_DISTRO_FEATURES = "opengl" | 172 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 173 | REQUIRED_DISTRO_FEATURES:imxgpu2d = "" | 173 | REQUIRED_DISTRO_FEATURES:imxgpu2d = "" |
| 174 | REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" | 174 | REQUIRED_DISTRO_FEATURES:imxgpu3d = "opengl" |
| 175 | PACKAGECONFIG_OPENGL = "opengl" | 175 | PACKAGECONFIG_OPENGL = "opengl" |
| 176 | PACKAGECONFIG_OPENGL:imxgpu2d = "" | 176 | PACKAGECONFIG_OPENGL:imxgpu2d = "" |
| 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" | 177 | PACKAGECONFIG_OPENGL:imxgpu3d = "opengl" |
| 178 | 178 | ||
| 179 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 179 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
| 180 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 180 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
| @@ -182,7 +182,7 @@ PACKAGECONFIG:append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_ | |||
| 182 | 182 | ||
| 183 | PACKAGECONFIG:remove:imxfbdev = "kms" | 183 | PACKAGECONFIG:remove:imxfbdev = "kms" |
| 184 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" | 184 | PACKAGECONFIG:append:imxfbdev = " fbdev clients" |
| 185 | PACKAGECONFIG:append:imxgpu = " imxgpu" | 185 | PACKAGECONFIG:append:imxgpu = " imxgpu" |
| 186 | PACKAGECONFIG:append:imxgpu2d = " imxg2d" | 186 | PACKAGECONFIG:append:imxgpu2d = " imxg2d" |
| 187 | 187 | ||
| 188 | SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" | 188 | SIMPLECLIENTS:imxfbdev = "damage,im,egl,shm,touch,dmabuf-v4l" |
diff --git a/recipes-graphics/wayland/weston_14.0.2.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb index 2c0b13d41..025c65d7a 100644 --- a/recipes-graphics/wayland/weston_14.0.2.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb | |||
| @@ -32,8 +32,8 @@ inherit meson pkgconfig useradd | |||
| 32 | # | 32 | # |
| 33 | require ${THISDIR}/required-distro-features.inc | 33 | require ${THISDIR}/required-distro-features.inc |
| 34 | 34 | ||
| 35 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 35 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libdisplay-info libinput libxkbcommon \ |
| 36 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" | 36 | pango pixman virtual/egl wayland wayland-native wayland-protocols" |
| 37 | 37 | ||
| 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 39 | 39 | ||
| @@ -103,29 +103,29 @@ PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipe | |||
| 103 | PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam" | 103 | PACKAGECONFIG[vnc] = "-Dbackend-vnc=true,-Dbackend-vnc=false,neatvnc libpam" |
| 104 | 104 | ||
| 105 | do_install:append() { | 105 | do_install:append() { |
| 106 | # Weston doesn't need the .la files to load modules, so wipe them | 106 | # Weston doesn't need the .la files to load modules, so wipe them |
| 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la | 107 | rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la |
| 108 | 108 | ||
| 109 | # If X11, ship a desktop file to launch it | 109 | # If X11, ship a desktop file to launch it |
| 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then | 110 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then |
| 111 | install -d ${D}${datadir}/applications | 111 | install -d ${D}${datadir}/applications |
| 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications | 112 | install ${UNPACKDIR}/weston.desktop ${D}${datadir}/applications |
| 113 | 113 | ||
| 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps | 114 | install -d ${D}${datadir}/icons/hicolor/48x48/apps |
| 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps | 115 | install ${UNPACKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps |
| 116 | fi | 116 | fi |
| 117 | 117 | ||
| 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then | 118 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then |
| 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland | 119 | install -Dm 644 ${UNPACKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland |
| 120 | fi | 120 | fi |
| 121 | 121 | ||
| 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then | 122 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'yes', 'no', d)}" = "yes" ]; then |
| 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify | 123 | install -Dm 644 ${UNPACKDIR}/systemd-notify.weston-start ${D}${datadir}/weston-start/systemd-notify |
| 124 | fi | 124 | fi |
| 125 | 125 | ||
| 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then | 126 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'launch', 'yes', 'no', d)}" = "yes" ]; then |
| 127 | chmod u+s ${D}${bindir}/weston-launch | 127 | chmod u+s ${D}${bindir}/weston-launch |
| 128 | fi | 128 | fi |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ | 131 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)} \ |
| @@ -155,7 +155,7 @@ GROUPADD_PARAM:${PN} = "--system weston-launch" | |||
| 155 | 155 | ||
| 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" | 156 | SUMMARY = "Weston, a Wayland compositor, i.MX fork" |
| 157 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" | 157 | LIC_FILES_CHKSUM:remove = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 158 | LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | 158 | LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" |
| 159 | 159 | ||
| 160 | DEFAULT_PREFERENCE = "-1" | 160 | DEFAULT_PREFERENCE = "-1" |
| 161 | 161 | ||
| @@ -169,12 +169,12 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | |||
| 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
| 170 | 170 | ||
| 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}" | 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D} ${PACKAGECONFIG_PIPEWIRE}" |
| 172 | PACKAGECONFIG_G2D ??= "" | 172 | PACKAGECONFIG_G2D ??= "" |
| 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
| 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
| 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" | 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" |
| 176 | 176 | ||
| 177 | PACKAGECONFIG_PIPEWIRE ??= "" | 177 | PACKAGECONFIG_PIPEWIRE ??= "" |
| 178 | PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire" | 178 | PACKAGECONFIG_PIPEWIRE:mx8-nxp-bsp ??= "pipewire" |
| 179 | PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire" | 179 | PACKAGECONFIG_PIPEWIRE:mx9-nxp-bsp ??= "pipewire" |
| 180 | 180 | ||
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend index 3fe677b34..4029ee84b 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # Append path for freescale layer to include bsp xorg.conf | 1 | # Append path for freescale layer to include bsp xorg.conf |
| 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index 161df0498..7b14cc454 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
| @@ -2,8 +2,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | |||
| 2 | 2 | ||
| 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" | 3 | SRC_URI:append:use-mainline-bsp = " file://0001-Allow-to-enable-atomic-in-modesetting-DDX.patch" |
| 4 | 4 | ||
| 5 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" | 5 | IMX_OPENGL_PKGCONFIGS_REMOVE = "" |
| 6 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" | 6 | IMX_OPENGL_PKGCONFIGS_REMOVE:imxgpu = "glamor" |
| 7 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 7 | OPENGL_PKGCONFIGS:remove:mx6-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
| 8 | OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" | 8 | OPENGL_PKGCONFIGS:remove:mx7-nxp-bsp = "${IMX_OPENGL_PKGCONFIGS_REMOVE}" |
| 9 | OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" | 9 | OPENGL_PKGCONFIGS:remove:imxdrm = "dri glx" |
diff --git a/recipes-graphics/xwayland/xwayland_%.bbappend b/recipes-graphics/xwayland/xwayland_%.bbappend index d8f5bdde5..fc0d10e74 100644 --- a/recipes-graphics/xwayland/xwayland_%.bbappend +++ b/recipes-graphics/xwayland/xwayland_%.bbappend | |||
| @@ -5,7 +5,7 @@ SRC_URI:append:imxgpu = " \ | |||
| 5 | " | 5 | " |
| 6 | 6 | ||
| 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" | 7 | OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}" |
| 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" | 8 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU = "" |
| 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" | 9 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx" |
| 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" | 10 | OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx" |
| 11 | 11 | ||
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 2356b8db4..f33a8f95f 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb | |||
| @@ -1,11 +1,14 @@ | |||
| 1 | DESCRIPTION = "CEETM TC QDISC" | 1 | SUMMARY = "CEETM traffic-control qdisc" |
| 2 | DESCRIPTION = "Traffic-control qdisc for the QorIQ DPAA CEETM hardware scheduler." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq/ceetm" | ||
| 4 | SECTION = "kernel" | ||
| 2 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | 7 | ||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq/ceetm;protocol=https;nobranch=1" |
| 6 | SRCREV = "46b3565a48ca20f90ad601cef8250cdd35f18b22" | 9 | SRCREV = "46b3565a48ca20f90ad601cef8250cdd35f18b22" |
| 7 | SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ | 10 | SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ |
| 8 | file://0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch \ | 11 | file://0001-Makefile-Fix-build-error-with-gcc15-YOCIMX-8305.patch \ |
| 9 | " | 12 | " |
| 10 | DEPENDS = "iproute2" | 13 | DEPENDS = "iproute2" |
| 11 | 14 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb index 054cb1fb9..9303459a0 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb | |||
| @@ -1,11 +1,14 @@ | |||
| 1 | SUMMARY = "Auto Response Control Module" | 1 | SUMMARY = "Auto Response Control Module" |
| 2 | DESCRIPTION = "Kernel module providing QorIQ SEC auto-response control." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/auto-resp" | ||
| 4 | SECTION = "kernel" | ||
| 2 | LICENSE = "GPL-2.0-only & BSD" | 5 | LICENSE = "GPL-2.0-only & BSD" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" |
| 4 | 7 | ||
| 5 | inherit module | 8 | inherit module |
| 6 | 9 | ||
| 7 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" | 10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" |
| 8 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" | 11 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" |
| 9 | 12 | ||
| 10 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | 13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" |
| 11 | export KERNEL_PATH | 14 | export KERNEL_PATH |
| @@ -17,10 +20,10 @@ do_compile:prepend() { | |||
| 17 | } | 20 | } |
| 18 | 21 | ||
| 19 | do_install(){ | 22 | do_install(){ |
| 20 | install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} | 23 | install -d ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} |
| 21 | install -d ${D}${bindir} | 24 | install -d ${D}${bindir} |
| 22 | install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ | 25 | install -m 644 ${B}/bin/ar.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/ |
| 23 | cp -f ${S}/bin/ar_* ${D}${bindir}/ | 26 | cp -f ${S}/bin/ar_* ${D}${bindir}/ |
| 24 | } | 27 | } |
| 25 | 28 | ||
| 26 | FILES:${PN} += "${bindir}/" | 29 | FILES:${PN} += "${bindir}/" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb index 053239365..66889ae65 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb | |||
| @@ -3,7 +3,9 @@ | |||
| 3 | 3 | ||
| 4 | SUMMARY = "Kernel loadable module for Vivante GPU" | 4 | SUMMARY = "Kernel loadable module for Vivante GPU" |
| 5 | DESCRIPTION = "This package uses an exact copy of the GPU kernel driver source code of \ | 5 | DESCRIPTION = "This package uses an exact copy of the GPU kernel driver source code of \ |
| 6 | the same version as base and include fixes and improvements developed by FSL Community" | 6 | the same version as base and include fixes and improvements developed by FSL Community" |
| 7 | HOMEPAGE = "https://github.com/Freescale/kernel-module-imx-gpu-viv" | ||
| 8 | SECTION = "kernel" | ||
| 7 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" |
| 9 | 11 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb index 5dc9ab894..29697b5f7 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb | |||
| @@ -3,7 +3,9 @@ | |||
| 3 | 3 | ||
| 4 | SUMMARY = "Kernel loadable module for Vivante GPU" | 4 | SUMMARY = "Kernel loadable module for Vivante GPU" |
| 5 | DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ | 5 | DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \ |
| 6 | allowing flexibility to use a newer graphics release with an older kernel." | 6 | allowing flexibility to use a newer graphics release with an older kernel." |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | ||
| 8 | SECTION = "kernel" | ||
| 7 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 10 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
| 9 | 11 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb index dfe55bc80..5276a4dea 100644 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.26.1.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright 2020-2026 NXP | 1 | # Copyright 2020-2026 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "i.MX ISP kernel module" | ||
| 3 | DESCRIPTION = "Kernel loadable module for ISP" | 4 | DESCRIPTION = "Kernel loadable module for ISP" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/isp-vvcam" | ||
| 6 | SECTION = "kernel" | ||
| 4 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 5 | LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" | 8 | LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=64381a6ea83b48c39fe524c85f65fb44" |
| 6 | 9 | ||
| @@ -17,7 +20,7 @@ inherit module | |||
| 17 | 20 | ||
| 18 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" | 21 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" |
| 19 | 22 | ||
| 20 | DEBUG_PREFIX_MAP:prepend = " \ | 23 | DEBUG_PREFIX_MAP:prepend = "\ |
| 21 | -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | 24 | -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ |
| 22 | -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " | 25 | -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " |
| 23 | 26 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb index 9c5ce8f17..4e97bfdc2 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | SUMMARY = "Layerscape Debug File System Module" | 1 | SUMMARY = "Layerscape Debug File System Module" |
| 2 | DESCRIPTION = "This package is the kernel module which is used for \ | 2 | DESCRIPTION = "This package is the kernel module which is used for \ |
| 3 | ls102xa targets debug." | 3 | ls102xa targets debug." |
| 4 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/ls-dbg" | ||
| 4 | SECTION = "ls-debug" | 5 | SECTION = "ls-debug" |
| 5 | LICENSE = "GPL-2.0-or-later" | 6 | LICENSE = "GPL-2.0-or-later" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94263f12f9416f9fd0493c8f9e8085a3" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94263f12f9416f9fd0493c8f9e8085a3" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb index d22b643c7..7af9d3e4b 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/610/612" | 1 | SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/610/612" |
| 2 | DESCRIPTION = "Kernel driver for NXP 88W8801/8987/8997/9098 and IW416/610/612 Wi-Fi modules." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-imx/mwifiex" | ||
| 4 | SECTION = "kernel" | ||
| 2 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" |
| 4 | 7 | ||
| @@ -10,7 +13,7 @@ RCONFLICTS:${PN} = "kernel-module-nxp89xx" | |||
| 10 | KERNEL_MODULE_PROBECONF += "moal" | 13 | KERNEL_MODULE_PROBECONF += "moal" |
| 11 | module_conf_moal = "options moal mod_para=nxp/wifi_mod_para.conf" | 14 | module_conf_moal = "options moal mod_para=nxp/wifi_mod_para.conf" |
| 12 | 15 | ||
| 13 | SRC_URI = " \ | 16 | SRC_URI = "\ |
| 14 | ${MRVL_SRC};branch=${SRCBRANCH} \ | 17 | ${MRVL_SRC};branch=${SRCBRANCH} \ |
| 15 | file://0001-mlinux-moal_main-fix-device-wakeup-capability.patch \ | 18 | file://0001-mlinux-moal_main-fix-device-wakeup-capability.patch \ |
| 16 | " | 19 | " |
diff --git a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb index e7ae8556e..e8852b9a0 100644 --- a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | SUMMARY = "T1040 L2 switch UIO driver" | ||
| 1 | DESCRIPTION = "UIO driver for T1040 L2 Switch" | 2 | DESCRIPTION = "UIO driver for T1040 L2 Switch" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/l2switch-uio" | ||
| 4 | SECTION = "kernel" | ||
| 2 | LICENSE = "GPL-2.0-only" | 5 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" |
| 4 | 7 | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx_6.18.bb b/recipes-kernel/linux/linux-fslc-imx_6.18.bb index 229ec1dcb..ca917f22a 100644 --- a/recipes-kernel/linux/linux-fslc-imx_6.18.bb +++ b/recipes-kernel/linux/linux-fslc-imx_6.18.bb | |||
| @@ -5,9 +5,10 @@ | |||
| 5 | 5 | ||
| 6 | SUMMARY = "Linux Kernel provided by NXP and supported by Community" | 6 | SUMMARY = "Linux Kernel provided by NXP and supported by Community" |
| 7 | DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. \ | 7 | DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. \ |
| 8 | Main focus is set on i.MX Family Reference Boards. \ | 8 | Main focus is set on i.MX Family Reference Boards. \ |
| 9 | It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ | 9 | It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ |
| 10 | Latest stable Kernel patchlevel is applied and maintained by Community." | 10 | Latest stable Kernel patchlevel is applied and maintained by Community." |
| 11 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | ||
| 11 | 12 | ||
| 12 | ############################################################################### | 13 | ############################################################################### |
| 13 | # This recipe (and corresponding kernel repository and branch) receives updates | 14 | # This recipe (and corresponding kernel repository and branch) receives updates |
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.1.bb b/recipes-kernel/linux/linux-fslc-lts_6.1.bb index ae1e71b18..e490755e7 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.1.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.1.bb | |||
| @@ -6,9 +6,10 @@ | |||
| 6 | 6 | ||
| 7 | SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" | 7 | SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" |
| 8 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ | 8 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ |
| 9 | provide support for some backported features and fixes, or because it was applied in upstream \ | 9 | provide support for some backported features and fixes, or because it was applied in upstream \ |
| 10 | and will not become part of a LTS version, or because it is not applicable for \ | 10 | and will not become part of a LTS version, or because it is not applicable for \ |
| 11 | upstreaming in any form." | 11 | upstreaming in any form." |
| 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | ||
| 12 | 13 | ||
| 13 | require linux-imx.inc | 14 | require linux-imx.inc |
| 14 | 15 | ||
diff --git a/recipes-kernel/linux/linux-fslc-lts_6.6.bb b/recipes-kernel/linux/linux-fslc-lts_6.6.bb index cc067262a..a4d15e0cc 100644 --- a/recipes-kernel/linux/linux-fslc-lts_6.6.bb +++ b/recipes-kernel/linux/linux-fslc-lts_6.6.bb | |||
| @@ -6,9 +6,10 @@ | |||
| 6 | 6 | ||
| 7 | SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" | 7 | SUMMARY = "FSL Community BSP Linux LTS based kernel with backported features and fixes" |
| 8 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ | 8 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ |
| 9 | provide support for some backported features and fixes, or because it was applied in upstream \ | 9 | provide support for some backported features and fixes, or because it was applied in upstream \ |
| 10 | and will not become part of a LTS version, or because it is not applicable for \ | 10 | and will not become part of a LTS version, or because it is not applicable for \ |
| 11 | upstreaming in any form." | 11 | upstreaming in any form." |
| 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | ||
| 12 | 13 | ||
| 13 | require linux-imx.inc | 14 | require linux-imx.inc |
| 14 | 15 | ||
diff --git a/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb b/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb index 212e7858e..7264709a4 100644 --- a/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb +++ b/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb | |||
| @@ -2,9 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "Mainline/LTS rebased NXP/QorIQ patches + FSLC patches." | 3 | SUMMARY = "Mainline/LTS rebased NXP/QorIQ patches + FSLC patches." |
| 4 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ | 4 | DESCRIPTION = "Linux kernel based on LTS kernel used by FSL Community BSP in order to \ |
| 5 | provide support for some backported features and fixes, or because it was applied in linux-next \ | 5 | provide support for some backported features and fixes, or because it was applied in linux-next \ |
| 6 | and takes some time to become part of a stable version, or because it is not applicable for \ | 6 | and takes some time to become part of a stable version, or because it is not applicable for \ |
| 7 | upstreaming." | 7 | upstreaming." |
| 8 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | ||
| 8 | 9 | ||
| 9 | require recipes-kernel/linux/linux-qoriq.inc | 10 | require recipes-kernel/linux/linux-qoriq.inc |
| 10 | 11 | ||
diff --git a/recipes-kernel/linux/linux-fslc_6.12.bb b/recipes-kernel/linux/linux-fslc_6.12.bb index 8b66b82d4..45db75ecf 100644 --- a/recipes-kernel/linux/linux-fslc_6.12.bb +++ b/recipes-kernel/linux/linux-fslc_6.12.bb | |||
| @@ -6,15 +6,16 @@ | |||
| 6 | 6 | ||
| 7 | SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" | 7 | SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" |
| 8 | DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ | 8 | DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ |
| 9 | provide support for some backported features and fixes, or because it was applied in linux-next \ | 9 | provide support for some backported features and fixes, or because it was applied in linux-next \ |
| 10 | and takes some time to become part of a stable version, or because it is not applicable for \ | 10 | and takes some time to become part of a stable version, or because it is not applicable for \ |
| 11 | upstreaming." | 11 | upstreaming." |
| 12 | HOMEPAGE = "https://github.com/Freescale/linux-fslc" | ||
| 12 | 13 | ||
| 13 | require linux-imx.inc | 14 | require linux-imx.inc |
| 14 | 15 | ||
| 15 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" | 16 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${KBRANCH};protocol=https" |
| 16 | 17 | ||
| 17 | DEPENDS += " \ | 18 | DEPENDS += "\ |
| 18 | coreutils-native \ | 19 | coreutils-native \ |
| 19 | " | 20 | " |
| 20 | 21 | ||
diff --git a/recipes-kernel/linux/linux-imx-headers_6.18.bb b/recipes-kernel/linux/linux-imx-headers_6.18.bb index b6d7f8eb8..4e4c986b1 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.18.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.18.bb | |||
| @@ -3,7 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | SUMMARY = "Installs i.MX-specific kernel headers" | 4 | SUMMARY = "Installs i.MX-specific kernel headers" |
| 5 | DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \ | 5 | DESCRIPTION = "Installs i.MX-specific kernel headers to userspace. \ |
| 6 | New headers are installed in ${includedir}/imx." | 6 | New headers are installed in ${includedir}/imx." |
| 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | ||
| 7 | LICENSE = "GPL-2.0-only" | 8 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 9 | 10 | ||
| @@ -16,12 +17,11 @@ LOCALVERSION = "-lts-${SRCBRANCH}" | |||
| 16 | KBRANCH = "${SRCBRANCH}" | 17 | KBRANCH = "${SRCBRANCH}" |
| 17 | SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5" | 18 | SRCREV = "f49f45233f7b10006ce7e9c826ee882bb14ac8b5" |
| 18 | 19 | ||
| 19 | |||
| 20 | do_configure[noexec] = "1" | 20 | do_configure[noexec] = "1" |
| 21 | 21 | ||
| 22 | do_compile[noexec] = "1" | 22 | do_compile[noexec] = "1" |
| 23 | 23 | ||
| 24 | IMX_UAPI_HEADERS = " \ | 24 | IMX_UAPI_HEADERS = "\ |
| 25 | dma-buf.h \ | 25 | dma-buf.h \ |
| 26 | hantrodec.h \ | 26 | hantrodec.h \ |
| 27 | hx280enc.h \ | 27 | hx280enc.h \ |
| @@ -38,7 +38,7 @@ IMX_UAPI_HEADERS = " \ | |||
| 38 | videodev2.h \ | 38 | videodev2.h \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | IMX_UAPI_HEADERS_SOUND = " \ | 41 | IMX_UAPI_HEADERS_SOUND = "\ |
| 42 | sound/compress_offload.h \ | 42 | sound/compress_offload.h \ |
| 43 | sound/compress_params.h \ | 43 | sound/compress_params.h \ |
| 44 | " | 44 | " |
| @@ -80,7 +80,7 @@ do_install() { | |||
| 80 | ALLOW_EMPTY:${PN} = "1" | 80 | ALLOW_EMPTY:${PN} = "1" |
| 81 | 81 | ||
| 82 | INHIBIT_DEFAULT_DEPS = "1" | 82 | INHIBIT_DEFAULT_DEPS = "1" |
| 83 | DEPENDS += "unifdef-native bison-native rsync-native" | 83 | DEPENDS += "bison-native rsync-native unifdef-native" |
| 84 | 84 | ||
| 85 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 85 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 86 | 86 | ||
diff --git a/recipes-kernel/linux/linux-imx_6.18.bb b/recipes-kernel/linux/linux-imx_6.18.bb index 5010f66c7..769ef7677 100644 --- a/recipes-kernel/linux/linux-imx_6.18.bb +++ b/recipes-kernel/linux/linux-imx_6.18.bb | |||
| @@ -8,7 +8,8 @@ | |||
| 8 | 8 | ||
| 9 | SUMMARY = "Linux Kernel provided and supported by NXP" | 9 | SUMMARY = "Linux Kernel provided and supported by NXP" |
| 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ | 10 | DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ |
| 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | 11 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." |
| 12 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | ||
| 12 | 13 | ||
| 13 | require recipes-kernel/linux/linux-imx.inc | 14 | require recipes-kernel/linux/linux-imx.inc |
| 14 | 15 | ||
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 8c89a33aa..5b40831fd 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
| @@ -24,7 +24,7 @@ LOCALVERSION = "" | |||
| 24 | 24 | ||
| 25 | KBUILD_DEFCONFIG = "${KERNEL_DEFCONFIG}" | 25 | KBUILD_DEFCONFIG = "${KERNEL_DEFCONFIG}" |
| 26 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm64 = "lsdk.config" | 26 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm64 = "lsdk.config" |
| 27 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm = "multi_v7_lpae.config lsdk.config" | 27 | EXTRA_KBUILD_DEFCONFIG:qoriq-arm = "multi_v7_lpae.config lsdk.config" |
| 28 | 28 | ||
| 29 | do_configure() { | 29 | do_configure() { |
| 30 | # create config with make config | 30 | # create config with make config |
| @@ -48,5 +48,5 @@ do_configure() { | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" | 50 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" |
| 51 | INSANE_SKIP:${PN}-src += " buildpaths" | 51 | INSANE_SKIP:${PN}-src += "buildpaths" |
| 52 | COMPATIBLE_MACHINE = "(qoriq)" | 52 | COMPATIBLE_MACHINE = "(qoriq)" |
diff --git a/recipes-kernel/linux/linux-qoriq_6.12.bb b/recipes-kernel/linux/linux-qoriq_6.12.bb index aa7561e3e..378a5d0af 100644 --- a/recipes-kernel/linux/linux-qoriq_6.12.bb +++ b/recipes-kernel/linux/linux-qoriq_6.12.bb | |||
| @@ -7,3 +7,4 @@ SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}" | |||
| 7 | SRCREV = "df24f9428e38740256a410b983003a478e72a7c0" | 7 | SRCREV = "df24f9428e38740256a410b983003a478e72a7c0" |
| 8 | 8 | ||
| 9 | require linux-qoriq.inc | 9 | require linux-qoriq.inc |
| 10 | HOMEPAGE = "https://github.com/nxp-qoriq/linux" | ||
diff --git a/recipes-kernel/skmm-host/skmm-host_git.bb b/recipes-kernel/skmm-host/skmm-host_git.bb index cc226bd9a..2c3cfef32 100644 --- a/recipes-kernel/skmm-host/skmm-host_git.bb +++ b/recipes-kernel/skmm-host/skmm-host_git.bb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | SUMMARY = "SKMM host driver" | ||
| 1 | DESCRIPTION = "skmm host driver offload data to PCIe EP and push the data en-decrypted back to application" | 2 | DESCRIPTION = "skmm host driver offload data to PCIe EP and push the data en-decrypted back to application" |
| 3 | HOMEPAGE = "https://github.com/nxp-qoriq-yocto-sdk/skmm-host" | ||
| 2 | SECTION = "c293-skmm-host" | 4 | SECTION = "c293-skmm-host" |
| 3 | LICENSE = "BSD & GPL-2.0-or-later" | 5 | LICENSE = "BSD & GPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813" |
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb index b3aae7d46..d83476f64 100644 --- a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb | |||
| @@ -1,15 +1,16 @@ | |||
| 1 | SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU" | 1 | SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU" |
| 2 | DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \ | 2 | DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \ |
| 3 | an example of how a rich operating system like Linux can dispatch \ | 3 | an example of how a rich operating system like Linux can dispatch \ |
| 4 | inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \ | 4 | inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \ |
| 5 | Cortex-M of choice and an Arm Ethos-U NPU." | 5 | Cortex-M of choice and an Arm Ethos-U NPU." |
| 6 | HOMEPAGE = "https://github.com/nxp-imx/ethos-u-driver-stack-imx" | ||
| 6 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" |
| 8 | 9 | ||
| 9 | DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native" | 10 | DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native" |
| 10 | 11 | ||
| 11 | SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH} \ | 12 | SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH} \ |
| 12 | file://0001-ethosu.hpp-Fix-gcc15-build-issues.patch \ | 13 | file://0001-ethosu.hpp-Fix-gcc15-build-issues.patch \ |
| 13 | " | 14 | " |
| 14 | 15 | ||
| 15 | ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https" | 16 | ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https" |
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb index 7a6fb5aa7..ae7bc914e 100644 --- a/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb +++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_24.05.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" | 1 | SUMMARY = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" |
| 2 | DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" | 2 | DESCRIPTION = "The firmware of Cortex(R)-M33 for Arm(R) Ethos(TM)-U NPU" |
| 3 | HOMEPAGE = "https://github.com/nxp-imx/ethos-u-firmware" | ||
| 3 | LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" | 4 | LICENSE = "Apache-2.0 & GPL-2.0-only & BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "\ | 5 | LIC_FILES_CHKSUM = "\ |
| 5 | file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \ | 6 | file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e \ |
| @@ -13,7 +14,7 @@ SRCBRANCH = "lf-6.18.2_1.0.0" | |||
| 13 | SRCREV = "5c14790b7ed63a52afd2ba6d917070e4c7b4265e" | 14 | SRCREV = "5c14790b7ed63a52afd2ba6d917070e4c7b4265e" |
| 14 | 15 | ||
| 15 | ETHOS_U_FIRMWARE = "ethosu_firmware" | 16 | ETHOS_U_FIRMWARE = "ethosu_firmware" |
| 16 | ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" | 17 | ETHOS_U_FIRMWARE:imx93-9x9-lpddr4-qsb = "ethosu_firmware_9x9" |
| 17 | ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" | 18 | ETHOS_U_FIRMWARE:imx93-11x11-lpddr4x-evk = "ethosu_firmware_11x11" |
| 18 | ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14" | 19 | ETHOS_U_FIRMWARE:imx93-14x14-lpddr4x-evk = "ethosu_firmware_14x14" |
| 19 | 20 | ||
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend index a8935ed51..5a69da1bd 100644 --- a/recipes-multimedia/alsa/alsa-lib_%.bbappend +++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | IMX_PATCH = " \ | 3 | IMX_PATCH = "\ |
| 4 | file://0001-add-conf-for-multichannel-support-in-imx.patch \ | 4 | file://0001-add-conf-for-multichannel-support-in-imx.patch \ |
| 5 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ | 5 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ |
| 6 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ | 6 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ |
| 7 | file://0007-add-conf-for-imx-cs42448-sound-card.patch \ | 7 | file://0007-add-conf-for-imx-cs42448-sound-card.patch \ |
| 8 | " | 8 | " |
| 9 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" | 9 | SRC_URI:append:imx-nxp-bsp = " ${IMX_PATCH}" |
| 10 | 10 | ||
| 11 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" | 11 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" |
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb index fabbbb4ff..fced1cb66 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_git.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_git.bb | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Freescale alsa-lib plugins" | 5 | DESCRIPTION = "Freescale alsa-lib plugins" |
| 6 | HOMEPAGE = "https://github.com/nxp-imx/imx-alsa-plugins" | ||
| 6 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 7 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 8 | DEPENDS = "alsa-lib" | 9 | DEPENDS = "alsa-lib" |
| @@ -27,7 +28,7 @@ SRCREV = "18eb79b6cf13fb988de7d4eef5b22eb60f8e2533" | |||
| 27 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" | 28 | CFLAGS:append = " -I${STAGING_INCDIR_IMX}" |
| 28 | 29 | ||
| 29 | PACKAGECONFIG ??= "${PACKAGECONFIG_SWPDM}" | 30 | PACKAGECONFIG ??= "${PACKAGECONFIG_SWPDM}" |
| 30 | PACKAGECONFIG_SWPDM = "" | 31 | PACKAGECONFIG_SWPDM = "" |
| 31 | PACKAGECONFIG_SWPDM:mx8-nxp-bsp = "swpdm" | 32 | PACKAGECONFIG_SWPDM:mx8-nxp-bsp = "swpdm" |
| 32 | 33 | ||
| 33 | PACKAGECONFIG[swpdm] = "--enable-swpdm,--disable-swpdm,imx-sw-pdm" | 34 | PACKAGECONFIG[swpdm] = "--enable-swpdm,--disable-swpdm,imx-sw-pdm" |
diff --git a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb index ddbe334db..fd32b0a80 100644 --- a/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gst-devtools_1.26.6.bb | |||
| @@ -14,7 +14,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV} | |||
| 14 | 14 | ||
| 15 | SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2" | 15 | SRC_URI[sha256sum] = "dec8fc56d578d65c498e65e56efe44994c5d3f4e85dbbdff0242b441b32e19b2" |
| 16 | 16 | ||
| 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | 17 | DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base json-glib" |
| 18 | RRECOMMENDS:${PN} = "git" | 18 | RRECOMMENDS:${PN} = "git" |
| 19 | 19 | ||
| 20 | FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | 20 | FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" |
| @@ -33,7 +33,7 @@ def gettext_oemeson(d): | |||
| 33 | # Build GstValidateVideo | 33 | # Build GstValidateVideo |
| 34 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | 34 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" |
| 35 | 35 | ||
| 36 | EXTRA_OEMESON += " \ | 36 | EXTRA_OEMESON += "\ |
| 37 | -Ddoc=disabled \ | 37 | -Ddoc=disabled \ |
| 38 | -Ddebug_viewer=disabled \ | 38 | -Ddebug_viewer=disabled \ |
| 39 | -Dtests=disabled \ | 39 | -Dtests=disabled \ |
diff --git a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb index 2b31df7df..1a606ad48 100644 --- a/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gst-examples_1.26.6.bb | |||
| @@ -8,9 +8,9 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues" | |||
| 8 | LICENSE = "LGPL-2.0-or-later" | 8 | LICENSE = "LGPL-2.0-or-later" |
| 9 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" | 9 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" |
| 10 | 10 | ||
| 11 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" | 11 | DEPENDS = "glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gtk+3 json-glib" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26;tag=${PV} \ | 13 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26 \ |
| 14 | file://0001-Make-player-examples-installable.patch \ | 14 | file://0001-Make-player-examples-installable.patch \ |
| 15 | file://gst-player.desktop \ | 15 | file://gst-player.desktop \ |
| 16 | " | 16 | " |
| @@ -29,13 +29,13 @@ UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | |||
| 29 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 29 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 30 | 30 | ||
| 31 | do_install:append() { | 31 | do_install:append() { |
| 32 | install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop | 32 | install -m 0644 -D ${UNPACKDIR}/gst-player.desktop ${D}${datadir}/applications/gst-player.desktop |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" | 35 | RDEPENDS:${PN} = "gstreamer1.0-plugins-base-playback" |
| 36 | RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ | 36 | RRECOMMENDS:${PN} = "gstreamer1.0-plugins-base-meta \ |
| 37 | gstreamer1.0-plugins-good-meta \ | 37 | gstreamer1.0-plugins-good-meta \ |
| 38 | gstreamer1.0-plugins-bad-meta \ | 38 | gstreamer1.0-plugins-bad-meta \ |
| 39 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ | 39 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-libav", "", d)} \ |
| 40 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" | 40 | ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "gstreamer1.0-plugins-ugly-meta", "", d)}" |
| 41 | RPROVIDES:${PN} += "gst-player gst-player-bin" | 41 | RPROVIDES:${PN} += "gst-player gst-player-bin" |
diff --git a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb index 96a7ce6ab..59fb98393 100644 --- a/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb +++ b/recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb | |||
| @@ -8,17 +8,16 @@ LICENSE = "GPL-3.0-only" | |||
| 8 | 8 | ||
| 9 | inherit pkgconfig | 9 | inherit pkgconfig |
| 10 | 10 | ||
| 11 | DEPENDS = "gstreamer1.0 gstreamer1.0-rtsp-server glib-2.0" | 11 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-rtsp-server" |
| 12 | 12 | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 14 | 14 | ||
| 15 | SRC_URI = " \ | 15 | SRC_URI = "\ |
| 16 | git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \ | 16 | git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | SRCREV = "490564815d8049dbdd79087f546835b673ba6e88" | 19 | SRCREV = "490564815d8049dbdd79087f546835b673ba6e88" |
| 20 | 20 | ||
| 21 | |||
| 22 | do_install() { | 21 | do_install() { |
| 23 | install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \ | 22 | install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \ |
| 24 | ${D}/${bindir}/gst-variable-rtsp-server | 23 | ${D}/${bindir}/gst-variable-rtsp-server |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb index e7a4a7dea..a19ccd93d 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.6.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | SUMMARY = "Libav-based GStreamer 1.x plugin" | 1 | SUMMARY = "Libav-based GStreamer 1.x plugin" |
| 2 | DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ | 2 | DESCRIPTION = "Contains a GStreamer plugin for using the encoders, decoders, \ |
| 3 | muxers, and demuxers provided by FFmpeg." | 3 | muxers, and demuxers provided by FFmpeg." |
| 4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | 4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" |
| 5 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
| 6 | 6 | ||
| @@ -20,7 +20,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | |||
| 20 | 20 | ||
| 21 | inherit meson pkgconfig upstream-version-is-even | 21 | inherit meson pkgconfig upstream-version-is-even |
| 22 | 22 | ||
| 23 | EXTRA_OEMESON += " \ | 23 | EXTRA_OEMESON += "\ |
| 24 | -Dtests=disabled \ | 24 | -Dtests=disabled \ |
| 25 | " | 25 | " |
| 26 | 26 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb index 36db56eb8..8c294d92f 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.6.imx.bb | |||
| @@ -11,6 +11,7 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc | |||
| 11 | SUMMARY = "'Bad' GStreamer plugins and helper libraries " | 11 | SUMMARY = "'Bad' GStreamer plugins and helper libraries " |
| 12 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | 12 | HOMEPAGE = "https://gstreamer.freedesktop.org/" |
| 13 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues" | 13 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues" |
| 14 | CVE_PRODUCT = "gst-plugins-bad" | ||
| 14 | 15 | ||
| 15 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | 16 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ |
| 16 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ | 17 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ |
| @@ -26,7 +27,7 @@ DEPENDS += "gstreamer1.0-plugins-base" | |||
| 26 | 27 | ||
| 27 | inherit gobject-introspection | 28 | inherit gobject-introspection |
| 28 | 29 | ||
| 29 | PACKAGECONFIG ??= " \ | 30 | PACKAGECONFIG ??= "\ |
| 30 | ${GSTREAMER_ORC} \ | 31 | ${GSTREAMER_ORC} \ |
| 31 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 32 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
| 32 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \ | 33 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan x11', d)} \ |
| @@ -37,74 +38,74 @@ PACKAGECONFIG ??= " \ | |||
| 37 | ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ | 38 | ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ |
| 38 | " | 39 | " |
| 39 | 40 | ||
| 40 | PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" | 41 | PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" |
| 41 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" | 42 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" |
| 42 | PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" | 43 | PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" |
| 43 | PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" | 44 | PACKAGECONFIG[bluez] = "-Dbluez=enabled,-Dbluez=disabled,bluez5" |
| 44 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | 45 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" |
| 45 | PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" | 46 | PACKAGECONFIG[closedcaption] = "-Dclosedcaption=enabled,-Dclosedcaption=disabled,pango cairo" |
| 46 | PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" | 47 | PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl" |
| 47 | PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" | 48 | PACKAGECONFIG[dash] = "-Ddash=enabled,-Ddash=disabled,libxml2" |
| 48 | PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" | 49 | PACKAGECONFIG[dc1394] = "-Ddc1394=enabled,-Ddc1394=disabled,libdc1394" |
| 49 | PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" | 50 | PACKAGECONFIG[directfb] = "-Ddirectfb=enabled,-Ddirectfb=disabled,directfb" |
| 50 | PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" | 51 | PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" |
| 51 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" | 52 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" |
| 52 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" | 53 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" |
| 53 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" | 54 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" |
| 54 | PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," | 55 | PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," |
| 55 | # Pick atleast one crypto backend below when enabling hls | 56 | # Pick atleast one crypto backend below when enabling hls |
| 56 | PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" | 57 | PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" |
| 57 | PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl" | 58 | PACKAGECONFIG[openssl] = "-Dhls-crypto=openssl,,openssl" |
| 58 | PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt" | 59 | PACKAGECONFIG[gcrypt] = "-Dhls-crypto=libgcrypt,,libgcrypt" |
| 59 | # the gl packageconfig enables OpenGL elements that haven't been ported | 60 | # the gl packageconfig enables OpenGL elements that haven't been ported |
| 60 | # to -base yet. They depend on the gstgl library in -base, so we do | 61 | # to -base yet. They depend on the gstgl library in -base, so we do |
| 61 | # not add GL dependencies here, since these are taken care of in -base. | 62 | # not add GL dependencies here, since these are taken care of in -base. |
| 62 | PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," | 63 | PACKAGECONFIG[gl] = "-Dgl=enabled,-Dgl=disabled," |
| 63 | PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" | 64 | PACKAGECONFIG[kms] = "-Dkms=enabled,-Dkms=disabled,libdrm" |
| 64 | PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" | 65 | PACKAGECONFIG[libde265] = "-Dlibde265=enabled,-Dlibde265=disabled,libde265" |
| 65 | PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" | 66 | PACKAGECONFIG[libssh2] = "-Dcurl-ssh2=enabled,-Dcurl-ssh2=disabled,libssh2" |
| 66 | PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" | 67 | PACKAGECONFIG[lcms2] = "-Dcolormanagement=enabled,-Dcolormanagement=disabled,lcms" |
| 67 | PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" | 68 | PACKAGECONFIG[modplug] = "-Dmodplug=enabled,-Dmodplug=disabled,libmodplug" |
| 68 | PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu" | 69 | PACKAGECONFIG[msdk] = "-Dmsdk=enabled -Dmfx_api=oneVPL,-Dmsdk=disabled,onevpl-intel-gpu" |
| 69 | PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" | 70 | PACKAGECONFIG[neon] = "-Dneon=enabled,-Dneon=disabled,neon" |
| 70 | PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" | 71 | PACKAGECONFIG[openal] = "-Dopenal=enabled,-Dopenal=disabled,openal-soft" |
| 71 | PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" | 72 | PACKAGECONFIG[opencv] = "-Dopencv=enabled,-Dopencv=disabled,opencv" |
| 72 | PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" | 73 | PACKAGECONFIG[openh264] = "-Dopenh264=enabled,-Dopenh264=disabled,openh264" |
| 73 | PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" | 74 | PACKAGECONFIG[openjpeg] = "-Dopenjpeg=enabled,-Dopenjpeg=disabled,openjpeg" |
| 74 | PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" | 75 | PACKAGECONFIG[openmpt] = "-Dopenmpt=enabled,-Dopenmpt=disabled,libopenmpt" |
| 75 | # the opus encoder/decoder elements are now in the -base package, | 76 | # the opus encoder/decoder elements are now in the -base package, |
| 76 | # but the opus parser remains in -bad | 77 | # but the opus parser remains in -bad |
| 77 | PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" | 78 | PACKAGECONFIG[opusparse] = "-Dopus=enabled,-Dopus=disabled,libopus" |
| 78 | PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" | 79 | PACKAGECONFIG[resindvd] = "-Dresindvd=enabled,-Dresindvd=disabled,libdvdread libdvdnav" |
| 79 | PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" | 80 | PACKAGECONFIG[rsvg] = "-Drsvg=enabled,-Drsvg=disabled,librsvg" |
| 80 | PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" | 81 | PACKAGECONFIG[rtmp] = "-Drtmp=enabled,-Drtmp=disabled,rtmpdump" |
| 81 | PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" | 82 | PACKAGECONFIG[sbc] = "-Dsbc=enabled,-Dsbc=disabled,sbc" |
| 82 | PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled" | 83 | PACKAGECONFIG[sctp] = "-Dsctp=enabled,-Dsctp=disabled" |
| 83 | PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" | 84 | PACKAGECONFIG[smoothstreaming] = "-Dsmoothstreaming=enabled,-Dsmoothstreaming=disabled,libxml2" |
| 84 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" | 85 | PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1" |
| 85 | PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt" | 86 | PACKAGECONFIG[srt] = "-Dsrt=enabled,-Dsrt=disabled,srt" |
| 86 | PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" | 87 | PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" |
| 87 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" | 88 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" |
| 88 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" | 89 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" |
| 89 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" | 90 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" |
| 90 | # this enables support for stateless V4L2 mem2mem codecs, which is a newer form of | 91 | # this enables support for stateless V4L2 mem2mem codecs, which is a newer form of |
| 91 | # V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs | 92 | # V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem codecs |
| 92 | PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev" | 93 | PACKAGECONFIG[v4l2codecs] = "-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev" |
| 93 | PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" | 94 | PACKAGECONFIG[va] = "-Dva=enabled,-Dva=disabled,libva" |
| 94 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" | 95 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" |
| 95 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" | 96 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" |
| 96 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" | 97 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" |
| 97 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" | 98 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" |
| 98 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" | 99 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" |
| 99 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" | 100 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" |
| 100 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" | 101 | PACKAGECONFIG[webrtcdsp] = "-Dwebrtcdsp=enabled,-Dwebrtcdsp=disabled,webrtc-audio-processing" |
| 101 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" | 102 | PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" |
| 102 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon" | 103 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libxcb libxkbcommon" |
| 103 | PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" | 104 | PACKAGECONFIG[x265] = "-Dx265=enabled,-Dx265=disabled,x265" |
| 104 | 105 | ||
| 105 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}" | 106 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'faad resindvd x265', d)}" |
| 106 | 107 | ||
| 107 | EXTRA_OEMESON += " \ | 108 | EXTRA_OEMESON += "\ |
| 108 | -Ddoc=disabled \ | 109 | -Ddoc=disabled \ |
| 109 | -Daes=enabled \ | 110 | -Daes=enabled \ |
| 110 | -Dcodecalpha=enabled \ | 111 | -Dcodecalpha=enabled \ |
| @@ -169,7 +170,6 @@ FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" | |||
| 169 | FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" | 170 | FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" |
| 170 | FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" | 171 | FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" |
| 171 | 172 | ||
| 172 | |||
| 173 | ########### End of OE-core copy ########### | 173 | ########### End of OE-core copy ########### |
| 174 | 174 | ||
| 175 | ########### i.MX overrides ################ | 175 | ########### i.MX overrides ################ |
| @@ -179,14 +179,14 @@ DEFAULT_PREFERENCE = "-1" | |||
| 179 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" | 179 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" |
| 180 | 180 | ||
| 181 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | 181 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ |
| 182 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ | 182 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ |
| 183 | file://0002-avoid-including-sys-poll.h-directly.patch \ | 183 | file://0002-avoid-including-sys-poll.h-directly.patch \ |
| 184 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ | 184 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ |
| 185 | " | 185 | " |
| 186 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " | 186 | SRC_URI:prepend = "${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} " |
| 187 | 187 | ||
| 188 | SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" | 188 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" |
| 189 | SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" | 189 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstcuda-disable-gir-build-for-cuda-plugi.patch" |
| 190 | 190 | ||
| 191 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" | 191 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-bad.git;protocol=https" |
| 192 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" | 192 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" |
| @@ -197,7 +197,7 @@ inherit use-imx-headers | |||
| 197 | PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" | 197 | PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" |
| 198 | PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" | 198 | PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" |
| 199 | 199 | ||
| 200 | PACKAGECONFIG_REMOVE ?= " \ | 200 | PACKAGECONFIG_REMOVE ?= "\ |
| 201 | dtls vulkan \ | 201 | dtls vulkan \ |
| 202 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \ | 202 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'gl', d)} \ |
| 203 | " | 203 | " |
| @@ -207,17 +207,17 @@ PACKAGECONFIG:remove:mx943-nxp-bsp = "gl" | |||
| 207 | PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" | 207 | PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" |
| 208 | 208 | ||
| 209 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" | 209 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" |
| 210 | PACKAGECONFIG_G2D ??= "" | 210 | PACKAGECONFIG_G2D ??= "" |
| 211 | PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | 211 | PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" |
| 212 | 212 | ||
| 213 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 213 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
| 214 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" | 214 | PACKAGECONFIG[tinycompress] = "-Dtinycompress=enabled,-Dtinycompress=disabled,tinycompress" |
| 215 | 215 | ||
| 216 | EXTRA_OEMESON += " \ | 216 | EXTRA_OEMESON += "\ |
| 217 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ | 217 | -Dc_args="${CFLAGS} -I${STAGING_INCDIR_IMX}" \ |
| 218 | " | 218 | " |
| 219 | 219 | ||
| 220 | EXTRA_OEMESON:remove = " \ | 220 | EXTRA_OEMESON:remove = "\ |
| 221 | -Dkate=disabled \ | 221 | -Dkate=disabled \ |
| 222 | " | 222 | " |
| 223 | 223 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb index 0cfa8c064..86790354e 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.6.imx.bb | |||
| @@ -29,7 +29,7 @@ inherit gobject-introspection | |||
| 29 | PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}" | 29 | PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}" |
| 30 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}" | 30 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}" |
| 31 | 31 | ||
| 32 | PACKAGECONFIG ??= " \ | 32 | PACKAGECONFIG ??= "\ |
| 33 | ${GSTREAMER_ORC} \ | 33 | ${GSTREAMER_ORC} \ |
| 34 | ${PACKAGECONFIG_GL} \ | 34 | ${PACKAGECONFIG_GL} \ |
| 35 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ | 35 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ |
| @@ -44,40 +44,40 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | |||
| 44 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" | 44 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" |
| 45 | X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled" | 45 | X11DISABLEOPTS = "-Dx11=disabled -Dxvideo=disabled -Dxshm=disabled" |
| 46 | 46 | ||
| 47 | PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" | 47 | PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" |
| 48 | PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia" | 48 | PACKAGECONFIG[cdparanoia] = "-Dcdparanoia=enabled,-Dcdparanoia=disabled,cdparanoia" |
| 49 | PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene" | 49 | PACKAGECONFIG[graphene] = "-Dgl-graphene=enabled,-Dgl-graphene=disabled,graphene" |
| 50 | PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg" | 50 | PACKAGECONFIG[jpeg] = "-Dgl-jpeg=enabled,-Dgl-jpeg=disabled,jpeg" |
| 51 | PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg" | 51 | PACKAGECONFIG[ogg] = "-Dogg=enabled,-Dogg=disabled,libogg" |
| 52 | PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus" | 52 | PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus" |
| 53 | PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango" | 53 | PACKAGECONFIG[pango] = "-Dpango=enabled,-Dpango=disabled,pango" |
| 54 | PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng" | 54 | PACKAGECONFIG[png] = "-Dgl-png=enabled,-Dgl-png=disabled,libpng" |
| 55 | # This enables Qt5 QML examples in -base. The Qt5 GStreamer | 55 | # This enables Qt5 QML examples in -base. The Qt5 GStreamer |
| 56 | # qmlglsink and qmlglsrc plugins still exist in -good. | 56 | # qmlglsink and qmlglsrc plugins still exist in -good. |
| 57 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native" | 57 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native" |
| 58 | PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora" | 58 | PACKAGECONFIG[theora] = "-Dtheora=enabled,-Dtheora=disabled,libtheora" |
| 59 | PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor" | 59 | PACKAGECONFIG[tremor] = "-Dtremor=enabled,-Dtremor=disabled,tremor" |
| 60 | PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual" | 60 | PACKAGECONFIG[visual] = "-Dlibvisual=enabled,-Dlibvisual=disabled,libvisual" |
| 61 | PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis" | 61 | PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis" |
| 62 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | 62 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
| 63 | 63 | ||
| 64 | # OpenGL API packageconfigs | 64 | # OpenGL API packageconfigs |
| 65 | PACKAGECONFIG[opengl] = ",,virtual/libgl libglu" | 65 | PACKAGECONFIG[opengl] = ",,virtual/libgl libglu" |
| 66 | PACKAGECONFIG[gles2] = ",,virtual/libgles2" | 66 | PACKAGECONFIG[gles2] = ",,virtual/libgles2" |
| 67 | 67 | ||
| 68 | # OpenGL platform packageconfigs | 68 | # OpenGL platform packageconfigs |
| 69 | PACKAGECONFIG[egl] = ",,virtual/egl" | 69 | PACKAGECONFIG[egl] = ",,virtual/egl" |
| 70 | PACKAGECONFIG[glx] = ",,virtual/libgl" | 70 | PACKAGECONFIG[glx] = ",,virtual/libgl" |
| 71 | 71 | ||
| 72 | # OpenGL window systems (except for X11) | 72 | # OpenGL window systems (except for X11) |
| 73 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" | 73 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" |
| 74 | PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" | 74 | PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" |
| 75 | PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" | 75 | PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" |
| 76 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" | 76 | PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" |
| 77 | 77 | ||
| 78 | OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" | 78 | OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" |
| 79 | 79 | ||
| 80 | EXTRA_OEMESON += " \ | 80 | EXTRA_OEMESON += "\ |
| 81 | -Ddoc=disabled \ | 81 | -Ddoc=disabled \ |
| 82 | ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \ | 82 | ${@get_opengl_cmdline_list('gl_api', d.getVar('OPENGL_APIS'), d)} \ |
| 83 | ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \ | 83 | ${@get_opengl_cmdline_list('gl_platform', d.getVar('OPENGL_PLATFORMS'), d)} \ |
| @@ -108,15 +108,15 @@ DEFAULT_PREFERENCE = "-1" | |||
| 108 | 108 | ||
| 109 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" | 109 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770" |
| 110 | 110 | ||
| 111 | SRC_URI:remove = " \ | 111 | SRC_URI:remove = "\ |
| 112 | https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ | 112 | https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ |
| 113 | file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \ | 113 | file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \ |
| 114 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ | 114 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ |
| 115 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" | 115 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch" |
| 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " | 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} " |
| 117 | 117 | ||
| 118 | SRC_URI:append:mx93-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" | 118 | SRC_URI:append:mx93-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" |
| 119 | SRC_URI:append:mx943-nxp-bsp = "file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" | 119 | SRC_URI:append:mx943-nxp-bsp = " file://0001-MMFMWK-9590-gstgl-1.0-disable-gir-build-for-gl-plugi.patch" |
| 120 | 120 | ||
| 121 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" | 121 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https" |
| 122 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" | 122 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" |
| @@ -128,7 +128,7 @@ PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" | |||
| 128 | PACKAGECONFIG_REMOVE ?= "jpeg" | 128 | PACKAGECONFIG_REMOVE ?= "jpeg" |
| 129 | 129 | ||
| 130 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" | 130 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" |
| 131 | PACKAGECONFIG_G2D ??= "" | 131 | PACKAGECONFIG_G2D ??= "" |
| 132 | PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" | 132 | PACKAGECONFIG_G2D:imxgpu2d ??= "g2d" |
| 133 | 133 | ||
| 134 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" | 134 | PACKAGECONFIG[g2d] = ",,virtual/libg2d" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb index 269761536..49ae2311f 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.6.imx.bb | |||
| @@ -30,7 +30,7 @@ RDEPENDS:${PN}-soup += "${MLPREFIX}${@bb.utils.contains('PACKAGECONFIG', 'soup2' | |||
| 30 | 30 | ||
| 31 | PACKAGECONFIG_SOUP ?= "soup3" | 31 | PACKAGECONFIG_SOUP ?= "soup3" |
| 32 | 32 | ||
| 33 | PACKAGECONFIG ??= " \ | 33 | PACKAGECONFIG ??= "\ |
| 34 | ${GSTREAMER_ORC} \ | 34 | ${GSTREAMER_ORC} \ |
| 35 | ${PACKAGECONFIG_SOUP} \ | 35 | ${PACKAGECONFIG_SOUP} \ |
| 36 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ | 36 | ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \ |
| @@ -44,33 +44,33 @@ X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled -Dximagesrc-xfi | |||
| 44 | 44 | ||
| 45 | QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | 45 | QT5WAYLANDDEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" |
| 46 | 46 | ||
| 47 | PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" | 47 | PACKAGECONFIG[asm] = "-Dasm=enabled,-Dasm=disabled,nasm-native" |
| 48 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" | 48 | PACKAGECONFIG[bz2] = "-Dbz2=enabled,-Dbz2=disabled,bzip2" |
| 49 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | 49 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" |
| 50 | PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" | 50 | PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 libavc1394 libraw1394" |
| 51 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" | 51 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" |
| 52 | PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" | 52 | PACKAGECONFIG[gdk-pixbuf] = "-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf" |
| 53 | PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" | 53 | PACKAGECONFIG[gtk] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" |
| 54 | PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" | 54 | PACKAGECONFIG[gudev] = "-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev" |
| 55 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" | 55 | PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack" |
| 56 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" | 56 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" |
| 57 | PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" | 57 | PACKAGECONFIG[lame] = "-Dlame=enabled,-Dlame=disabled,lame" |
| 58 | PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" | 58 | PACKAGECONFIG[libpng] = "-Dpng=enabled,-Dpng=disabled,libpng" |
| 59 | PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" | 59 | PACKAGECONFIG[libv4l2] = "-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-utils" |
| 60 | PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" | 60 | PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123" |
| 61 | PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" | 61 | PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio" |
| 62 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" | 62 | PACKAGECONFIG[qt5] = "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}" |
| 63 | PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3" | 63 | PACKAGECONFIG[soup2] = "-Dsoup=enabled,,libsoup-2.4,,,soup3" |
| 64 | PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2" | 64 | PACKAGECONFIG[soup3] = "-Dsoup=enabled,,libsoup,,,soup2" |
| 65 | PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" | 65 | PACKAGECONFIG[speex] = "-Dspeex=enabled,-Dspeex=disabled,speex" |
| 66 | PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" | 66 | PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" |
| 67 | PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" | 67 | PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib" |
| 68 | PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" | 68 | PACKAGECONFIG[v4l2] = "-Dv4l2=enabled -Dv4l2-probe=true,-Dv4l2=disabled -Dv4l2-probe=false" |
| 69 | PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" | 69 | PACKAGECONFIG[vpx] = "-Dvpx=enabled,-Dvpx=disabled,libvpx" |
| 70 | PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" | 70 | PACKAGECONFIG[wavpack] = "-Dwavpack=enabled,-Dwavpack=disabled,wavpack" |
| 71 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | 71 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
| 72 | 72 | ||
| 73 | EXTRA_OEMESON += " \ | 73 | EXTRA_OEMESON += "\ |
| 74 | -Ddoc=disabled \ | 74 | -Ddoc=disabled \ |
| 75 | -Daalib=disabled \ | 75 | -Daalib=disabled \ |
| 76 | -Ddirectsound=disabled \ | 76 | -Ddirectsound=disabled \ |
| @@ -93,7 +93,7 @@ FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | |||
| 93 | 93 | ||
| 94 | DEFAULT_PREFERENCE = "-1" | 94 | DEFAULT_PREFERENCE = "-1" |
| 95 | 95 | ||
| 96 | LIC_FILES_CHKSUM = " \ | 96 | LIC_FILES_CHKSUM = "\ |
| 97 | file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ | 97 | file://LICENSE.txt;md5=69333daa044cb77e486cc36129f7a770 \ |
| 98 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ | 98 | file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe \ |
| 99 | " | 99 | " |
| @@ -109,8 +109,8 @@ DEPENDS:append:mx93-nxp-bsp = " libdrm" | |||
| 109 | DEPENDS:append:mx943-nxp-bsp = " libdrm" | 109 | DEPENDS:append:mx943-nxp-bsp = " libdrm" |
| 110 | 110 | ||
| 111 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ | 111 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ |
| 112 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ | 112 | file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ |
| 113 | file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \ | 113 | file://0001-v4l2-Define-ioctl_req_t-for-posix-linux-case.patch \ |
| 114 | " | 114 | " |
| 115 | 115 | ||
| 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " | 116 | SRC_URI:prepend = "${GST1.0-PLUGINS-GOOD_SRC};branch=${SRCBRANCH} " |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb index b042adb94..2768c6b7e 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.2.0.bb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 2 | DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" | 2 | DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" |
| 3 | HOMEPAGE = "https://github.com/Freescale/gstreamer-imx" | ||
| 3 | LICENSE = "LGPL-2.0-or-later" | 4 | LICENSE = "LGPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 5 | SECTION = "multimedia" | 6 | SECTION = "multimedia" |
| @@ -8,7 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libimxdmabuffer" | |||
| 8 | # for the uniaudio decoder, videoparsersbad for the VPU video decoder | 9 | # for the uniaudio decoder, videoparsersbad for the VPU video decoder |
| 9 | # the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is | 10 | # the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is |
| 10 | # built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) | 11 | # built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) |
| 11 | RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" | 12 | RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-bad gstreamer1.0-plugins-good" |
| 12 | RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" | 13 | RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" |
| 13 | RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" | 14 | RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" |
| 14 | 15 | ||
| @@ -38,16 +39,16 @@ EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX} -Dv4l2-amphion=disabl | |||
| 38 | 39 | ||
| 39 | PACKAGECONFIG ?= "uniaudiodec" | 40 | PACKAGECONFIG ?= "uniaudiodec" |
| 40 | PACKAGECONFIG:append:imxgpu2d = " g2d" | 41 | PACKAGECONFIG:append:imxgpu2d = " g2d" |
| 41 | PACKAGECONFIG:append:imxvpu = " vpu" | 42 | PACKAGECONFIG:append:imxvpu = " vpu" |
| 42 | PACKAGECONFIG:append:imxipu = " ipu" | 43 | PACKAGECONFIG:append:imxipu = " ipu" |
| 43 | PACKAGECONFIG:append:imxpxp = " pxp" | 44 | PACKAGECONFIG:append:imxpxp = " pxp" |
| 44 | # The custom imxv4l2 source and sink elements are only | 45 | # The custom imxv4l2 source and sink elements are only |
| 45 | # available on the i.MX6. | 46 | # available on the i.MX6. |
| 46 | # The 2D blitter sinks require an MXC framebuffer, which | 47 | # The 2D blitter sinks require an MXC framebuffer, which |
| 47 | # is not available anymore on the i.MX8 (since these SoCs | 48 | # is not available anymore on the i.MX8 (since these SoCs |
| 48 | # now use KMS instead of the old Linux framebuffer). | 49 | # now use KMS instead of the old Linux framebuffer). |
| 49 | PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink" | 50 | PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2-mxc-source-sink" |
| 50 | PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink" | 51 | PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink" |
| 51 | 52 | ||
| 52 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" | 53 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" |
| 53 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," | 54 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb index 71de57530..72e482247 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.6.bb | |||
| @@ -6,14 +6,14 @@ HOMEPAGE = "https://gstreamer.freedesktop.org/" | |||
| 6 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" | 6 | BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues" |
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 9 | " | 9 | " |
| 10 | 10 | ||
| 11 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 11 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
| 12 | LICENSE_FLAGS = "commercial" | 12 | LICENSE_FLAGS = "commercial" |
| 13 | 13 | ||
| 14 | SRC_URI = " \ | 14 | SRC_URI = "\ |
| 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ | 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491" | 18 | SRC_URI[sha256sum] = "95032eee4580bb9826c008cbce5a2c3a78b980abb270c96a19b645f77255c491" |
| 19 | 19 | ||
| @@ -23,19 +23,19 @@ DEPENDS += "gstreamer1.0-plugins-base" | |||
| 23 | 23 | ||
| 24 | GST_PLUGIN_SET_HAS_EXAMPLES = "0" | 24 | GST_PLUGIN_SET_HAS_EXAMPLES = "0" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG ??= " \ | 26 | PACKAGECONFIG ??= "\ |
| 27 | ${GSTREAMER_ORC} \ | 27 | ${GSTREAMER_ORC} \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" | 30 | PACKAGECONFIG[a52dec] = "-Da52dec=enabled,-Da52dec=disabled,liba52" |
| 31 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" | 31 | PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio" |
| 32 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" | 32 | PACKAGECONFIG[dvdread] = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread" |
| 33 | PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" | 33 | PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec" |
| 34 | PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" | 34 | PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264" |
| 35 | 35 | ||
| 36 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" | 36 | GSTREAMER_GPL = "${@bb.utils.filter('PACKAGECONFIG', 'a52dec cdio dvdread mpeg2dec x264', d)}" |
| 37 | 37 | ||
| 38 | EXTRA_OEMESON += " \ | 38 | EXTRA_OEMESON += "\ |
| 39 | -Ddoc=disabled \ | 39 | -Ddoc=disabled \ |
| 40 | -Dsidplay=disabled \ | 40 | -Dsidplay=disabled \ |
| 41 | " | 41 | " |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb index 89306c928..825da8810 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.6.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | SUMMARY = "Python bindings for GStreamer 1.0" | 1 | SUMMARY = "Python bindings for GStreamer 1.0" |
| 2 | DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ | 2 | DESCRIPTION = "GStreamer Python binding overrides (complementing the bindings \ |
| 3 | provided by python-gi) " | 3 | provided by python-gi) " |
| 4 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" | 4 | HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-python/" |
| 5 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
| 6 | 6 | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb index 9c32413ae..6332145df 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.6.bb | |||
| @@ -12,7 +12,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | |||
| 12 | 12 | ||
| 13 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ | 13 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ |
| 14 | file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \ | 14 | file://0001-YOCIMX-9113-rtsp-examples-install-test-launch-and-te.patch \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90" | 17 | SRC_URI[sha256sum] = "ce4e0b7dde7f17dc4f39ffb2dd3db64b0222d11d58be1c9820c20d30370d6f90" |
| 18 | 18 | ||
| @@ -20,7 +20,7 @@ S = "${UNPACKDIR}/${PNREAL}-${PV}" | |||
| 20 | 20 | ||
| 21 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | 21 | inherit meson pkgconfig upstream-version-is-even gobject-introspection |
| 22 | 22 | ||
| 23 | EXTRA_OEMESON += " \ | 23 | EXTRA_OEMESON += "\ |
| 24 | -Ddoc=disabled \ | 24 | -Ddoc=disabled \ |
| 25 | -Dexamples=enabled \ | 25 | -Dexamples=enabled \ |
| 26 | -Dtests=disabled \ | 26 | -Dtests=disabled \ |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb index 559bac064..26cac0a7d 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.6.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | SUMMARY = "VA-API support to GStreamer" | 1 | SUMMARY = "VA-API support to GStreamer" |
| 2 | HOMEPAGE = "https://gstreamer.freedesktop.org/" | 2 | HOMEPAGE = "https://gstreamer.freedesktop.org/" |
| 3 | DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ | 3 | DESCRIPTION = "gstreamer-vaapi consists of a collection of VA-API \ |
| 4 | based plugins for GStreamer and helper libraries: `vaapidecode', \ | 4 | based plugins for GStreamer and helper libraries: `vaapidecode', \ |
| 5 | `vaapiconvert', and `vaapisink'." | 5 | `vaapiconvert', and `vaapisink'." |
| 6 | 6 | ||
| 7 | REALPN = "gstreamer-vaapi" | 7 | REALPN = "gstreamer-vaapi" |
| 8 | 8 | ||
| @@ -14,13 +14,13 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x | |||
| 14 | SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667" | 14 | SRC_URI[sha256sum] = "d87c57244cecbd17bb030b698dcb67a66225de639f7c5b837391c4a8e5477667" |
| 15 | 15 | ||
| 16 | S = "${UNPACKDIR}/${REALPN}-${PV}" | 16 | S = "${UNPACKDIR}/${REALPN}-${PV}" |
| 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-base libva" |
| 18 | 18 | ||
| 19 | inherit meson pkgconfig features_check upstream-version-is-even | 19 | inherit meson pkgconfig features_check upstream-version-is-even |
| 20 | 20 | ||
| 21 | REQUIRED_DISTRO_FEATURES ?= "opengl" | 21 | REQUIRED_DISTRO_FEATURES ?= "opengl" |
| 22 | 22 | ||
| 23 | EXTRA_OEMESON += " \ | 23 | EXTRA_OEMESON += "\ |
| 24 | -Ddoc=disabled \ | 24 | -Ddoc=disabled \ |
| 25 | -Dexamples=disabled \ | 25 | -Dexamples=disabled \ |
| 26 | -Dtests=enabled \ | 26 | -Dtests=enabled \ |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb index e602ff35c..c6afdd98d 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.26.6.imx.bb | |||
| @@ -7,13 +7,13 @@ | |||
| 7 | 7 | ||
| 8 | SUMMARY = "GStreamer 1.0 multimedia framework" | 8 | SUMMARY = "GStreamer 1.0 multimedia framework" |
| 9 | DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ | 9 | DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ |
| 10 | It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." | 10 | It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." |
| 11 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | 11 | HOMEPAGE = "http://gstreamer.freedesktop.org/" |
| 12 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | 12 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" |
| 13 | SECTION = "multimedia" | 13 | SECTION = "multimedia" |
| 14 | LICENSE = "LGPL-2.1-or-later" | 14 | LICENSE = "LGPL-2.1-or-later" |
| 15 | 15 | ||
| 16 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native" | 16 | DEPENDS = "bison-native flex-native glib-2.0 glib-2.0-native libxml2" |
| 17 | 17 | ||
| 18 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome | 18 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome |
| 19 | 19 | ||
| @@ -54,7 +54,7 @@ def gettext_oemeson(d): | |||
| 54 | return '-Dnls=disabled' | 54 | return '-Dnls=disabled' |
| 55 | return '-Dnls=enabled' | 55 | return '-Dnls=enabled' |
| 56 | 56 | ||
| 57 | EXTRA_OEMESON += " \ | 57 | EXTRA_OEMESON += "\ |
| 58 | -Ddoc=disabled \ | 58 | -Ddoc=disabled \ |
| 59 | -Dexamples=disabled \ | 59 | -Dexamples=disabled \ |
| 60 | -Ddbghelp=disabled \ | 60 | -Ddbghelp=disabled \ |
| @@ -84,17 +84,17 @@ PTEST_BUILD_HOST_FILES = "" | |||
| 84 | 84 | ||
| 85 | DEFAULT_PREFERENCE = "-1" | 85 | DEFAULT_PREFERENCE = "-1" |
| 86 | 86 | ||
| 87 | LIC_FILES_CHKSUM = " \ | 87 | LIC_FILES_CHKSUM = "\ |
| 88 | file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | 88 | file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ |
| 89 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ | 89 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \ |
| 90 | " | 90 | " |
| 91 | 91 | ||
| 92 | # Use i.MX fork of GST for customizations | 92 | # Use i.MX fork of GST for customizations |
| 93 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ | 93 | SRC_URI:remove = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ |
| 94 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ | 94 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ |
| 95 | file://0002-tests-add-support-for-install-the-tests.patch \ | 95 | file://0002-tests-add-support-for-install-the-tests.patch \ |
| 96 | file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ | 96 | file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ |
| 97 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ | 97 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ |
| 98 | " | 98 | " |
| 99 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " | 99 | SRC_URI:prepend = "${GST1.0_SRC};branch=${SRCBRANCH} " |
| 100 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" | 100 | GST1.0_SRC ?= "gitsm://github.com/nxp-imx/gstreamer.git;protocol=https" |
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb index 48d84cead..486049d7b 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_git.bb | |||
| @@ -3,11 +3,12 @@ | |||
| 3 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | DESCRIPTION = "Gstreamer freescale plugins" | 5 | DESCRIPTION = "Gstreamer freescale plugins" |
| 6 | HOMEPAGE = "https://github.com/nxp-imx/imx-gst1.0-plugin" | ||
| 6 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 7 | LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" | 8 | LICENSE = "GPL-2.0-only & LGPL-2.0-only & LGPL-2.1-only" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" |
| 9 | 10 | ||
| 10 | DEPENDS = " \ | 11 | DEPENDS = "\ |
| 11 | gstreamer1.0 \ | 12 | gstreamer1.0 \ |
| 12 | gstreamer1.0-plugins-base \ | 13 | gstreamer1.0-plugins-base \ |
| 13 | gstreamer1.0-plugins-bad \ | 14 | gstreamer1.0-plugins-bad \ |
| @@ -23,16 +24,16 @@ DEPENDS:append:mx93-nxp-bsp = " imx-lib" | |||
| 23 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" | 24 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" |
| 24 | DEPENDS:append:imxvpu = " imx-vpuwrap" | 25 | DEPENDS:append:imxvpu = " imx-vpuwrap" |
| 25 | DEPENDS:append:imxfbdev:imxgpu = " libdrm" | 26 | DEPENDS:append:imxfbdev:imxgpu = " libdrm" |
| 26 | DEPENDS_IMXGPU = "" | 27 | DEPENDS_IMXGPU = "" |
| 27 | DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" | 28 | DEPENDS_IMXGPU:imxgpu = "${DEPENDS_IMX_OPENCL_CONVERTER}" |
| 28 | DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" | 29 | DEPENDS_IMX_OPENCL_CONVERTER = "imx-opencl-converter" |
| 29 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" | 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx6-nxp-bsp = "" |
| 30 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" | 31 | DEPENDS_IMX_OPENCL_CONVERTER:mx7-nxp-bsp = "" |
| 31 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" | 32 | DEPENDS_IMX_OPENCL_CONVERTER:mx8mm-nxp-bsp = "" |
| 32 | 33 | ||
| 33 | # For backwards compatibility | 34 | # For backwards compatibility |
| 34 | RREPLACES:${PN} = "gst1.0-fsl-plugin" | 35 | RREPLACES:${PN} = "gst1.0-fsl-plugin" |
| 35 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" | 36 | RPROVIDES:${PN} = "gst1.0-fsl-plugin" |
| 36 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" | 37 | RCONFLICTS:${PN} = "gst1.0-fsl-plugin" |
| 37 | 38 | ||
| 38 | PV = "4.10.3+git${SRCPV}" | 39 | PV = "4.10.3+git${SRCPV}" |
| @@ -42,7 +43,6 @@ IMXGST_SRC ?= "git://github.com/nxp-imx/imx-gst1.0-plugin.git;protocol=https" | |||
| 42 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" | 43 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" |
| 43 | SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6" | 44 | SRCREV = "0565fc515612908a353e8378e24f97de17cc56a6" |
| 44 | 45 | ||
| 45 | |||
| 46 | inherit meson pkgconfig use-imx-headers | 46 | inherit meson pkgconfig use-imx-headers |
| 47 | 47 | ||
| 48 | PLATFORM:mx6-nxp-bsp = "MX6" | 48 | PLATFORM:mx6-nxp-bsp = "MX6" |
| @@ -65,10 +65,10 @@ PACKAGES =+ "${PN}-tools ${PN}-libgstfsl" | |||
| 65 | # Add codec list that the beep plugin run-time depended | 65 | # Add codec list that the beep plugin run-time depended |
| 66 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" | 66 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" |
| 67 | RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " | 67 | RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " |
| 68 | RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp" | 68 | RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp" |
| 69 | RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp" | 69 | RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp" |
| 70 | RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp" | 70 | RDEPENDS:${PN}:append:mx8dx-nxp-bsp = " imx-dsp" |
| 71 | RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp" | 71 | RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp" |
| 72 | RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp" | 72 | RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp" |
| 73 | 73 | ||
| 74 | PACKAGECONFIG ?= "" | 74 | PACKAGECONFIG ?= "" |
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb index 6a5c2c32c..1c6e8081c 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb | |||
| @@ -3,9 +3,11 @@ | |||
| 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 3 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | 5 | ||
| 6 | SUMMARY = "i.MX multimedia codec libraries" | ||
| 6 | DESCRIPTION = "Freescale Multimedia codec libs" | 7 | DESCRIPTION = "Freescale Multimedia codec libs" |
| 7 | LICENSE = "Proprietary" | 8 | HOMEPAGE = "https://www.nxp.com/" |
| 8 | SECTION = "multimedia" | 9 | SECTION = "multimedia" |
| 10 | LICENSE = "Proprietary" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 10 | 12 | ||
| 11 | # Backward compatibility | 13 | # Backward compatibility |
| @@ -21,8 +23,8 @@ S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | |||
| 21 | 23 | ||
| 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" | 24 | PACKAGECONFIG ??= "${PACKAGECONFIG_VPU}" |
| 23 | # Support Chips&Media VPU only | 25 | # Support Chips&Media VPU only |
| 24 | PACKAGECONFIG_VPU = "" | 26 | PACKAGECONFIG_VPU = "" |
| 25 | PACKAGECONFIG_VPU:mx6q-nxp-bsp = "vpu" | 27 | PACKAGECONFIG_VPU:mx6q-nxp-bsp = "vpu" |
| 26 | PACKAGECONFIG_VPU:mx6dl-nxp-bsp = "vpu" | 28 | PACKAGECONFIG_VPU:mx6dl-nxp-bsp = "vpu" |
| 27 | PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" | 29 | PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,virtual/imxvpu" |
| 28 | 30 | ||
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb index d9986456a..90c8e1a36 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright 2018-2023 NXP | 1 | # Copyright 2018-2023 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "i.MX DSP codec wrapper and library extension" | ||
| 3 | DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" | 4 | DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" |
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
| 6 | 9 | ||
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb index 96656f85b..f7fac1ad9 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.10.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright 2017-2022,2024 NXP | 1 | # Copyright 2017-2022,2024 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "i.MX DSP wrapper, firmware and codec libraries" | ||
| 3 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" | 4 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" |
| 5 | HOMEPAGE = "https://www.nxp.com/" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" |
| 6 | 9 | ||
| @@ -13,20 +16,20 @@ S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | |||
| 13 | 16 | ||
| 14 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" | 17 | SRC_URI[sha256sum] = "fc6e6a7c2417730b39eeddc26606c3d58a8f5d0a1521f44bbbd505657046858b" |
| 15 | 18 | ||
| 16 | EXTRA_OECONF = " \ | 19 | EXTRA_OECONF = "\ |
| 17 | -datadir=${base_libdir}/firmware \ | 20 | -datadir=${base_libdir}/firmware \ |
| 18 | --bindir=/unit_tests \ | 21 | --bindir=/unit_tests \ |
| 19 | ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', '', d)} \ | 22 | ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', '', d)} \ |
| 20 | " | 23 | " |
| 21 | 24 | ||
| 22 | HIFI4_PLATFORM ?= "HIFI4_PLATFORM_IS_UNDEFINED" | 25 | HIFI4_PLATFORM ?= "HIFI4_PLATFORM_IS_UNDEFINED" |
| 23 | HIFI4_PLATFORM:mx8qm-nxp-bsp = "imx8qmqxp" | 26 | HIFI4_PLATFORM:mx8qm-nxp-bsp = "imx8qmqxp" |
| 24 | HIFI4_PLATFORM:mx8qxp-nxp-bsp = "imx8qmqxp" | 27 | HIFI4_PLATFORM:mx8qxp-nxp-bsp = "imx8qmqxp" |
| 25 | HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp" | 28 | HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp" |
| 26 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" | 29 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" |
| 27 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" | 30 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" |
| 28 | 31 | ||
| 29 | UNSUPPORTED_TESTS = "dsp_tflm" | 32 | UNSUPPORTED_TESTS = "dsp_tflm" |
| 30 | UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = "" | 33 | UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = "" |
| 31 | 34 | ||
| 32 | do_install:append () { | 35 | do_install:append () { |
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb index 9cf4fa968..10d7d957d 100644 --- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb +++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.2.bb | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | # Copyright 2019, 2025 NXP | 1 | # Copyright 2019, 2025 NXP |
| 2 | SUMMARY = "i.MX asynchronous sample rate converter" | ||
| 2 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" | 3 | DESCRIPTION = "NXP Asynchronous Sample Rate Converter" |
| 3 | LICENSE = "Proprietary" | 4 | HOMEPAGE = "https://www.nxp.com/" |
| 4 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
| 6 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | 8 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| @@ -18,7 +20,7 @@ EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests" | |||
| 18 | 20 | ||
| 19 | INHIBIT_PACKAGE_STRIP = "1" | 21 | INHIBIT_PACKAGE_STRIP = "1" |
| 20 | INHIBIT_SYSROOT_STRIP = "1" | 22 | INHIBIT_SYSROOT_STRIP = "1" |
| 21 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 23 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 22 | 24 | ||
| 23 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | 25 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" |
| 24 | 26 | ||
diff --git a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb index eca003737..5745f2300 100644 --- a/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb +++ b/recipes-multimedia/imx-opencl-converter/imx-opencl-converter_0.11.0.bb | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | # Copyright 2023-2025 NXP | 1 | # Copyright 2023-2025 NXP |
| 2 | SUMMARY = "i.MX multimedia OpenCL converter library" | ||
| 2 | DESCRIPTION = "NXP Multimedia opencl converter lib" | 3 | DESCRIPTION = "NXP Multimedia opencl converter lib" |
| 3 | LICENSE = "Proprietary" | 4 | HOMEPAGE = "https://www.nxp.com/" |
| 4 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
| 6 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | DEPENDS = "virtual/libopencl1" | 8 | DEPENDS = "virtual/libopencl1" |
| 7 | 9 | ||
| @@ -15,6 +17,6 @@ inherit fsl-eula-unpack autotools pkgconfig meson | |||
| 15 | 17 | ||
| 16 | FILES:${PN} += "${datadir}/" | 18 | FILES:${PN} += "${datadir}/" |
| 17 | 19 | ||
| 18 | COMPATIBLE_MACHINE = "(^$)" | 20 | COMPATIBLE_MACHINE = "(^$)" |
| 19 | COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" | 21 | COMPATIBLE_MACHINE:imxgpu = "(mx8-nxp-bsp|mx95-nxp-bsp)" |
| 20 | COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" | 22 | COMPATIBLE_MACHINE:mx8mm-nxp-bsp = "(^$)" |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb b/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb index d8f002e64..b6b631ecb 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb | |||
| @@ -2,23 +2,25 @@ | |||
| 2 | # Copyright (C) 2012-2016 Freescale Semiconductor | 2 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 3 | # Copyright (C) 2017-2023 NXP | 3 | # Copyright (C) 2017-2023 NXP |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | SUMMARY = "i.MX multimedia parser libraries" | ||
| 5 | DESCRIPTION = "Freescale Multimedia parser libs" | 6 | DESCRIPTION = "Freescale Multimedia parser libs" |
| 6 | LICENSE = "Proprietary" | 7 | HOMEPAGE = "https://www.nxp.com/" |
| 7 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 9 | LICENSE = "Proprietary" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 9 | 11 | ||
| 10 | # For backwards compatibility | ||
| 11 | PROVIDES += "libfslparser" | ||
| 12 | RREPLACES:${PN} = "libfslparser" | ||
| 13 | RPROVIDES:${PN} = "libfslparser" | ||
| 14 | RCONFLICTS:${PN} = "libfslparser" | ||
| 15 | |||
| 16 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 12 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 17 | IMX_SRCREV_ABBREV = "65603f3" | 13 | IMX_SRCREV_ABBREV = "65603f3" |
| 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 15 | ||
| 20 | SRC_URI[sha256sum] = "03079bb0fa989dc50fadb66a0fcc7cf65423833c3def04085603d4b66e8f8c70" | 16 | SRC_URI[sha256sum] = "03079bb0fa989dc50fadb66a0fcc7cf65423833c3def04085603d4b66e8f8c70" |
| 21 | 17 | ||
| 18 | # For backwards compatibility | ||
| 19 | PROVIDES += "libfslparser" | ||
| 20 | RREPLACES:${PN} = "libfslparser" | ||
| 21 | RPROVIDES:${PN} = "libfslparser" | ||
| 22 | RCONFLICTS:${PN} = "libfslparser" | ||
| 23 | |||
| 22 | inherit fsl-eula-unpack autotools pkgconfig | 24 | inherit fsl-eula-unpack autotools pkgconfig |
| 23 | 25 | ||
| 24 | # Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point | 26 | # Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point |
diff --git a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb index 68919ac83..647bc7a9c 100644 --- a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb +++ b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.3.bb | |||
| @@ -1,8 +1,10 @@ | |||
| 1 | # Copyright 2020,2023 NXP | 1 | # Copyright 2020,2023 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "i.MX PDM-to-PCM software decimation library" | ||
| 3 | DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library" | 4 | DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library" |
| 4 | LICENSE = "Proprietary" | 5 | HOMEPAGE = "https://www.nxp.com/" |
| 5 | SECTION = "multimedia" | 6 | SECTION = "multimedia" |
| 7 | LICENSE = "Proprietary" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=63a38e9f392d8813d6f1f4d0d6fbe657" |
| 7 | 9 | ||
| 8 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index dae99cb13..76109355d 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
| @@ -2,9 +2,11 @@ | |||
| 2 | # Copyright (C) 2017-2023,2025 NXP | 2 | # Copyright (C) 2017-2023,2025 NXP |
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | 3 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 4 | 4 | ||
| 5 | SUMMARY = "i.MX VPU wrapper library" | ||
| 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 6 | DESCRIPTION = "Freescale Multimedia VPU wrapper" |
| 6 | LICENSE = "Proprietary" | 7 | HOMEPAGE = "https://github.com/NXP/imx-vpuwrap" |
| 7 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 9 | LICENSE = "Proprietary" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 9 | 11 | ||
| 10 | DEPENDS = "virtual/imxvpu" | 12 | DEPENDS = "virtual/imxvpu" |
| @@ -17,7 +19,7 @@ SRCREV = "1d2136e39789edb1eff730043caf2305ee2c173e" | |||
| 17 | 19 | ||
| 18 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig |
| 19 | 21 | ||
| 20 | CFLAGS += " -Wno-error=implicit-function-declaration" | 22 | CFLAGS += "-Wno-error=implicit-function-declaration" |
| 21 | 23 | ||
| 22 | do_install:append() { | 24 | do_install:append() { |
| 23 | # FIXME: Drop examples for now | 25 | # FIXME: Drop examples for now |
diff --git a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb index 6b811b5f1..a1cf4098b 100644 --- a/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb +++ b/recipes-multimedia/libcamera/libcamera_0.6.0.imx.bb | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | # Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f | 6 | # Upstream hash: f4b9dfa0c903bc94c344c657917a3fbb229c322f |
| 7 | 7 | ||
| 8 | SUMMARY = "Linux libcamera framework" | 8 | SUMMARY = "Linux libcamera framework" |
| 9 | HOMEPAGE = "https://github.com/nxp-imx/libcamera" | ||
| 9 | SECTION = "libs" | 10 | SECTION = "libs" |
| 10 | 11 | ||
| 11 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" | 12 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" |
| @@ -15,8 +16,8 @@ LIC_FILES_CHKSUM = "\ | |||
| 15 | file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ | 16 | file://LICENSES/LGPL-2.1-or-later.txt;md5=2a4f4fd2128ea2f65047ee63fbca9f68 \ |
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | SRC_URI = " \ | 19 | SRC_URI = "\ |
| 19 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \ | 20 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ |
| 20 | " | 21 | " |
| 21 | 22 | ||
| 22 | SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39" | 23 | SRCREV = "3e6f5d83e397e11cccd3844e121463748f56de39" |
| @@ -44,7 +45,7 @@ LIBCAMERA_PIPELINES ??= "auto" | |||
| 44 | LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" | 45 | LIBCAMERA_PIPELINES:arm ??= "${ARM_PIPELINES}" |
| 45 | LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}" | 46 | LIBCAMERA_PIPELINES:aarch64 ??= "${ARM_PIPELINES}" |
| 46 | 47 | ||
| 47 | EXTRA_OEMESON = " \ | 48 | EXTRA_OEMESON = "\ |
| 48 | -Dpipelines=${LIBCAMERA_PIPELINES} \ | 49 | -Dpipelines=${LIBCAMERA_PIPELINES} \ |
| 49 | -Dv4l2=true \ | 50 | -Dv4l2=true \ |
| 50 | -Dcam=enabled \ | 51 | -Dcam=enabled \ |
| @@ -82,7 +83,7 @@ do_package_recalculate_ipa_signatures() { | |||
| 82 | ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}" | 83 | ${S}/src/ipa/ipa-sign-install.sh ${B}/src/ipa-priv-key.pem "${modules}" |
| 83 | } | 84 | } |
| 84 | 85 | ||
| 85 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" | 86 | FILES:${PN} += "${libexecdir}/libcamera/v4l2-compat.so" |
| 86 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" | 87 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" |
| 87 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" | 88 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" |
| 88 | 89 | ||
| @@ -93,7 +94,7 @@ GLIBC_64BIT_TIME_FLAGS = "" | |||
| 93 | 94 | ||
| 94 | ########### i.MX overrides ################ | 95 | ########### i.MX overrides ################ |
| 95 | 96 | ||
| 96 | SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV}" | 97 | SRC_URI:remove = "git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master" |
| 97 | SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} " | 98 | SRC_URI:prepend = "${LIBCAMERA_SRC};branch=${SRCBRANCH} " |
| 98 | LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https" | 99 | LIBCAMERA_SRC ?= "git://github.com/nxp-imx/libcamera.git;protocol=https" |
| 99 | SRCBRANCH = "lf-6.18.2_1.0.0" | 100 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| @@ -103,7 +104,7 @@ PACKAGECONFIG = "gst pycamera dng" | |||
| 103 | 104 | ||
| 104 | ARM_PIPELINES .= ",nxp/neo" | 105 | ARM_PIPELINES .= ",nxp/neo" |
| 105 | 106 | ||
| 106 | EXTRA_OEMESON += " \ | 107 | EXTRA_OEMESON += "\ |
| 107 | --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \ | 108 | --python.platlibdir=${PYTHON_SITEPACKAGES_DIR} \ |
| 108 | " | 109 | " |
| 109 | 110 | ||
diff --git a/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb b/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb index 88b9a1d0e..72e4d0b5a 100644 --- a/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb +++ b/recipes-multimedia/libcamera/neo-ipa-uguzzi_0.2.6.bb | |||
| @@ -1,12 +1,13 @@ | |||
| 1 | SUMMARY = "uGuzzi IPA for the libcamera NXP NEO pipeline" | 1 | SUMMARY = "uGuzzi IPA for the libcamera NXP NEO pipeline" |
| 2 | DESCRIPTION = "\ | 2 | DESCRIPTION = "\ |
| 3 | An Image Processing Algorithm library for libcamera, for i.MX95 ISP, \ | 3 | An Image Processing Algorithm library for libcamera, for i.MX95 ISP, \ |
| 4 | based on proprietary MM Solutions EAD uGuzzi 3A library" | 4 | based on proprietary MM Solutions EAD uGuzzi 3A library" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/neo-ipa-uguzzi" | ||
| 5 | SECTION = "libs" | 6 | SECTION = "libs" |
| 6 | LICENSE = "Apache-2.0 & BSD-2-Clause & GPL-2.0-or-later & LGPL-2.1-or-later & MIT & Proprietary" | 7 | LICENSE = "Apache-2.0 & BSD-2-Clause & GPL-2.0-or-later & LGPL-2.1-or-later & MIT & Proprietary" |
| 7 | # Put EULA on separate line for automated recipe updates | 8 | # Put EULA on separate line for automated recipe updates |
| 8 | LIC_FILES_CHKSUM = "file://LICENSES/LA_OPT_NXP_Software_License.txt;md5=bc649096ad3928ec06a8713b8d787eac" | 9 | LIC_FILES_CHKSUM = "file://LICENSES/LA_OPT_NXP_Software_License.txt;md5=bc649096ad3928ec06a8713b8d787eac" |
| 9 | LIC_FILES_CHKSUM += " \ | 10 | LIC_FILES_CHKSUM += "\ |
| 10 | file://COPYING;md5=6462e06298403caf09a22e67a7cc551a \ | 11 | file://COPYING;md5=6462e06298403caf09a22e67a7cc551a \ |
| 11 | file://LICENSES/Apache-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 12 | file://LICENSES/Apache-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 12 | file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2 \ | 13 | file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2 \ |
| @@ -20,7 +21,6 @@ NEO_IPA_UGUZZI_SRC ?= "git://github.com/nxp-imx/neo-ipa-uguzzi;protocol=https" | |||
| 20 | SRCBRANCH = "lf-6.18.2_1.0.0" | 21 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| 21 | SRCREV = "3c3b18e397a81fac2babe14dca01f4ada1ecc8b2" | 22 | SRCREV = "3c3b18e397a81fac2babe14dca01f4ada1ecc8b2" |
| 22 | 23 | ||
| 23 | |||
| 24 | inherit meson pkgconfig | 24 | inherit meson pkgconfig |
| 25 | 25 | ||
| 26 | FILES:${PN} += "${libdir}/libcamera ${datadir}/libcamera" | 26 | FILES:${PN} += "${libdir}/libcamera ${datadir}/libcamera" |
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb index cce4e56ad..119131ec0 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.3.1.bb | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | SUMMARY = "i.MX VPU API library (v2)" | ||
| 1 | DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" | 2 | DESCRIPTION = "frontend for the i.MX6 / i.MX8 VPU hardware video engines" |
| 2 | HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" | 3 | HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" |
| 4 | SECTION = "multimedia" | ||
| 3 | LICENSE = "LGPL-2.1-only" | 5 | LICENSE = "LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" |
| 5 | SECTION = "multimedia" | 7 | DEPENDS = "libimxdmabuffer virtual/imxvpu" |
| 6 | DEPENDS = "virtual/imxvpu libimxdmabuffer" | ||
| 7 | # Add imx-vpu-hantro-vc as dependency for being | 8 | # Add imx-vpu-hantro-vc as dependency for being |
| 8 | # able to encode video using the VC8000E encoder | 9 | # able to encode video using the VC8000E encoder |
| 9 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 10 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| @@ -11,8 +12,8 @@ DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | |||
| 11 | PV .= "+git${SRCPV}" | 12 | PV .= "+git${SRCPV}" |
| 12 | 13 | ||
| 13 | SRCBRANCH ?= "master" | 14 | SRCBRANCH ?= "master" |
| 14 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" | ||
| 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 15 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 16 | SRCREV = "37095a854aa176bb763a25ce98ceb6a787501271" | ||
| 16 | 17 | ||
| 17 | inherit waf pkgconfig use-imx-headers python3native | 18 | inherit waf pkgconfig use-imx-headers python3native |
| 18 | 19 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb index 55063db18..e00a968a2 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb | |||
| @@ -1,16 +1,17 @@ | |||
| 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 1 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 2 | SUMMARY = "i.MX VPU API library (v1)" | ||
| 2 | DESCRIPTION = "frontend for the i.MX6 VPU hardware video engine" | 3 | DESCRIPTION = "frontend for the i.MX6 VPU hardware video engine" |
| 3 | HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" | 4 | HOMEPAGE = "https://github.com/Freescale/libimxvpuapi" |
| 5 | SECTION = "multimedia" | ||
| 4 | LICENSE = "LGPL-2.1-only" | 6 | LICENSE = "LGPL-2.1-only" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" |
| 6 | SECTION = "multimedia" | ||
| 7 | DEPENDS = "imx-vpu" | 8 | DEPENDS = "imx-vpu" |
| 8 | 9 | ||
| 9 | PV = "0.10.3+${SRCPV}" | 10 | PV = "0.10.3+${SRCPV}" |
| 10 | 11 | ||
| 11 | SRCBRANCH ?= "v1" | 12 | SRCBRANCH ?= "v1" |
| 12 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" | ||
| 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" | 13 | SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH};protocol=https" |
| 14 | SRCREV = "3a1ee3a54fe93813868d38c3d32ea065b59e227e" | ||
| 14 | 15 | ||
| 15 | inherit waf pkgconfig python3native | 16 | inherit waf pkgconfig python3native |
| 16 | 17 | ||
diff --git a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb index f29011601..f21fdb472 100644 --- a/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb +++ b/recipes-multimedia/nxp-afe/nxp-afe-voiceseeker_git.bb | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | # Copyright 2025 NXP | 1 | # Copyright 2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "NXP RetuneDSP Voice Seeker Libraries" | 3 | SUMMARY = "NXP RetuneDSP Voice Seeker libraries" |
| 4 | DESCRIPTION = "NXP RetuneDSP Voice Seeker far-field voice pickup libraries." | ||
| 5 | HOMEPAGE = "https://github.com/nxp-imx/imx-voiceui" | ||
| 4 | SECTION = "multimedia" | 6 | SECTION = "multimedia" |
| 5 | LICENSE = "Proprietary" | 7 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca53281cc0caa7e320d4945a896fb837" |
diff --git a/recipes-multimedia/nxp-afe/nxp-afe_git.bb b/recipes-multimedia/nxp-afe/nxp-afe_git.bb index 5ac5d374a..4b45d3b45 100644 --- a/recipes-multimedia/nxp-afe/nxp-afe_git.bb +++ b/recipes-multimedia/nxp-afe/nxp-afe_git.bb | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | # Copyright 2025 NXP | 1 | # Copyright 2025 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "NXP Audio Front End (AFE)" | ||
| 3 | DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants" | 4 | DESCRIPTION = "NXP Audio Front End (AFE) for incorporating Voice Assistants" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/nxp-afe" | ||
| 6 | SECTION = "multimedia" | ||
| 4 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7bdef19938f3503cfc4c586461f99012" |
| 6 | 9 | ||
| @@ -8,11 +11,11 @@ PV = "1.0+git" | |||
| 8 | 11 | ||
| 9 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" | 12 | SRCBRANCH = "MM_04.10.03_2512_L6.18.2" |
| 10 | NXPAFE_SRC ?= "git://github.com/nxp-imx/nxp-afe.git;protocol=https" | 13 | NXPAFE_SRC ?= "git://github.com/nxp-imx/nxp-afe.git;protocol=https" |
| 11 | SRC_URI = " ${NXPAFE_SRC};branch=${SRCBRANCH}" | 14 | DEPENDS += "alsa-lib" |
| 12 | 15 | ||
| 13 | SRCREV = "7d518eb0b18f7c7faadeb3c3397f8b73f0012f3e" | 16 | SRC_URI = "${NXPAFE_SRC};branch=${SRCBRANCH}" |
| 14 | 17 | ||
| 15 | DEPENDS += "alsa-lib" | 18 | SRCREV = "7d518eb0b18f7c7faadeb3c3397f8b73f0012f3e" |
| 16 | 19 | ||
| 17 | TARGET_CC_ARCH += "${LDFLAGS}" | 20 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 18 | 21 | ||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 7f5a7ffbe..cf318b4f7 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | |||
| @@ -1,17 +1,17 @@ | |||
| 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:" | 1 | FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}/imx-nxp-bsp:" |
| 2 | 2 | ||
| 3 | SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}" | 3 | SRC_URI:append:imx-nxp-bsp = " ${SRC_URI_IMX}" |
| 4 | SRC_URI_IMX = "" | 4 | SRC_URI_IMX = "" |
| 5 | SRC_URI_IMX:mx6-nxp-bsp = " \ | 5 | SRC_URI_IMX:mx6-nxp-bsp = "\ |
| 6 | file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \ | 6 | file://0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch \ |
| 7 | file://daemon.conf \ | 7 | file://daemon.conf \ |
| 8 | file://default.pa" | 8 | file://default.pa" |
| 9 | SRC_URI_IMX:mx7-nxp-bsp = " \ | 9 | SRC_URI_IMX:mx7-nxp-bsp = "\ |
| 10 | ${SRC_URI_IMX:mx6-nxp-bsp} \ | 10 | ${SRC_URI_IMX:mx6-nxp-bsp} \ |
| 11 | file://0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch" | 11 | file://0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch" |
| 12 | SRC_URI_IMX:mx8-nxp-bsp = " \ | 12 | SRC_URI_IMX:mx8-nxp-bsp = "\ |
| 13 | ${SRC_URI_IMX:mx6-nxp-bsp}" | 13 | ${SRC_URI_IMX:mx6-nxp-bsp}" |
| 14 | SRC_URI_IMX:mx9-nxp-bsp = " \ | 14 | SRC_URI_IMX:mx9-nxp-bsp = "\ |
| 15 | ${SRC_URI_IMX:mx6-nxp-bsp}" | 15 | ${SRC_URI_IMX:mx6-nxp-bsp}" |
| 16 | 16 | ||
| 17 | CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" | 17 | CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" |
diff --git a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb index 48edf0769..bffe15c87 100644 --- a/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb +++ b/recipes-multimedia/tinycompress/tinycompress_1.2.5.bb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | DESCRIPTION = "A library to handle compressed formats like MP3 etc." | 1 | DESCRIPTION = "A library to handle compressed formats like MP3 etc." |
| 2 | HOMEPAGE = "https://github.com/alsa-project/tinycompress" | ||
| 2 | LICENSE = "LGPL-2.1-only | BSD-3-Clause" | 3 | LICENSE = "LGPL-2.1-only | BSD-3-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf9105c1a2d4405cbe04bbe3367373a0" |
| 4 | DEPENDS = "alsa-lib" | 5 | DEPENDS = "alsa-lib" |
diff --git a/recipes-security/optee-imx/optee-client-fslc.inc b/recipes-security/optee-imx/optee-client-fslc.inc index ab7c8bc69..61629209d 100644 --- a/recipes-security/optee-imx/optee-client-fslc.inc +++ b/recipes-security/optee-imx/optee-client-fslc.inc | |||
| @@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b" | |||
| 10 | 10 | ||
| 11 | inherit systemd update-rc.d cmake useradd | 11 | inherit systemd update-rc.d cmake useradd |
| 12 | 12 | ||
| 13 | SRC_URI = " \ | 13 | SRC_URI = "\ |
| 14 | git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \ | 14 | git://github.com/OP-TEE/optee_client.git;branch=master;protocol=https \ |
| 15 | file://tee-supplicant.sh \ | 15 | file://tee-supplicant.sh \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" | 18 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" |
| 19 | 19 | ||
| 20 | EXTRA_OECMAKE = " \ | 20 | EXTRA_OECMAKE = "\ |
| 21 | -DBUILD_SHARED_LIBS=ON \ | 21 | -DBUILD_SHARED_LIBS=ON \ |
| 22 | -DCFG_USE_PKGCONFIG=ON \ | 22 | -DCFG_USE_PKGCONFIG=ON \ |
| 23 | " | 23 | " |
| @@ -25,9 +25,9 @@ EXTRA_OECMAKE = " \ | |||
| 25 | # libts uses /dev/tee devices too. Add a common variable to allow configuring the same group. | 25 | # libts uses /dev/tee devices too. Add a common variable to allow configuring the same group. |
| 26 | TEE_GROUP_NAME ?= "tee" | 26 | TEE_GROUP_NAME ?= "tee" |
| 27 | 27 | ||
| 28 | EXTRA_OECMAKE += " -DCFG_ENABLE_SYSTEMD=On -DSYSTEMD_UNIT_DIR=${systemd_system_unitdir}/" | 28 | EXTRA_OECMAKE += "-DCFG_ENABLE_SYSTEMD=On -DSYSTEMD_UNIT_DIR=${systemd_system_unitdir}/" |
| 29 | EXTRA_OECMAKE += " -DCFG_ENABLE_UDEV=On -DUDEV_UDEV_DIR=${nonarch_base_libdir}/udev/rules.d/" | 29 | EXTRA_OECMAKE += "-DCFG_ENABLE_UDEV=On -DUDEV_UDEV_DIR=${nonarch_base_libdir}/udev/rules.d/" |
| 30 | EXTRA_OECMAKE += " -DCFG_TEE_GROUP=${TEE_GROUP_NAME} -DCFG_TEEPRIV_GROUP=teepriv" | 30 | EXTRA_OECMAKE += "-DCFG_TEE_GROUP=${TEE_GROUP_NAME} -DCFG_TEEPRIV_GROUP=teepriv" |
| 31 | 31 | ||
| 32 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" | 32 | EXTRA_OECMAKE:append:toolchain-clang = " -DCFG_WERROR=0" |
| 33 | 33 | ||
diff --git a/recipes-security/optee-imx/optee-fslc.inc b/recipes-security/optee-imx/optee-fslc.inc index dadbfa802..906001d24 100644 --- a/recipes-security/optee-imx/optee-fslc.inc +++ b/recipes-security/optee-imx/optee-fslc.inc | |||
| @@ -28,7 +28,7 @@ EXTRA_OEMAKE += "V=1 \ | |||
| 28 | COMPILER=${TOOLCHAIN} \ | 28 | COMPILER=${TOOLCHAIN} \ |
| 29 | OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${prefix} \ | 29 | OPTEE_CLIENT_EXPORT=${STAGING_DIR_HOST}${prefix} \ |
| 30 | TEEC_EXPORT=${STAGING_DIR_HOST}${prefix} \ | 30 | TEEC_EXPORT=${STAGING_DIR_HOST}${prefix} \ |
| 31 | " | 31 | " |
| 32 | # python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the | 32 | # python3-cryptography needs the legacy provider, so set OPENSSL_MODULES to the |
| 33 | # right path until this is relocated automatically. | 33 | # right path until this is relocated automatically. |
| 34 | export OPENSSL_MODULES = "${STAGING_LIBDIR_NATIVE}/ossl-modules" | 34 | export OPENSSL_MODULES = "${STAGING_LIBDIR_NATIVE}/ossl-modules" |
diff --git a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc index 16ed8cea7..ed11d0ca6 100644 --- a/recipes-security/optee-imx/optee-os-common-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-os-common-fslc-imx.inc | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-whinlatter/imx-6.18.2-1.0.0.xml#L39 | 2 | # See: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-whinlatter/imx-6.18.2-1.0.0.xml#L39 |
| 3 | require optee-os-fslc.inc | 3 | require optee-os-fslc.inc |
| 4 | 4 | ||
| 5 | DEPENDS:append:arm = "u-boot-mkimage-native" | 5 | DEPENDS:append:arm = " u-boot-mkimage-native" |
| 6 | 6 | ||
| 7 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:" | 7 | FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:" |
| 8 | 8 | ||
| @@ -18,26 +18,26 @@ inherit features_check | |||
| 18 | 18 | ||
| 19 | REQUIRED_MACHINE_FEATURES = "optee" | 19 | REQUIRED_MACHINE_FEATURES = "optee" |
| 20 | 20 | ||
| 21 | OPTEEMACHINE = "imx-${@d.getVar('MACHINE')[1:]}" | 21 | OPTEEMACHINE = "imx-${@d.getVar('MACHINE')[1:]}" |
| 22 | OPTEEMACHINE:imx6qpdlsolox = "imx-mx6qsabresd" | 22 | OPTEEMACHINE:imx6qpdlsolox = "imx-mx6qsabresd" |
| 23 | OPTEEMACHINE:mx6ul-nxp-bsp = "imx-mx6ulevk" | 23 | OPTEEMACHINE:mx6ul-nxp-bsp = "imx-mx6ulevk" |
| 24 | OPTEEMACHINE:mx6ull-nxp-bsp = "imx-mx6ullevk" | 24 | OPTEEMACHINE:mx6ull-nxp-bsp = "imx-mx6ullevk" |
| 25 | OPTEEMACHINE:mx6ulz-nxp-bsp = "imx-mx6ulzevk" | 25 | OPTEEMACHINE:mx6ulz-nxp-bsp = "imx-mx6ulzevk" |
| 26 | OPTEEMACHINE:mx8mq-nxp-bsp = "imx-mx8mqevk" | 26 | OPTEEMACHINE:mx8mq-nxp-bsp = "imx-mx8mqevk" |
| 27 | OPTEEMACHINE:mx8mm-nxp-bsp = "imx-mx8mmevk" | 27 | OPTEEMACHINE:mx8mm-nxp-bsp = "imx-mx8mmevk" |
| 28 | OPTEEMACHINE:mx8mn-nxp-bsp = "imx-mx8mnevk" | 28 | OPTEEMACHINE:mx8mn-nxp-bsp = "imx-mx8mnevk" |
| 29 | OPTEEMACHINE:mx8mp-nxp-bsp = "imx-mx8mpevk" | 29 | OPTEEMACHINE:mx8mp-nxp-bsp = "imx-mx8mpevk" |
| 30 | OPTEEMACHINE:mx8mpul-nxp-bsp = "imx-mx8mpevk" | 30 | OPTEEMACHINE:mx8mpul-nxp-bsp = "imx-mx8mpevk" |
| 31 | OPTEEMACHINE:mx8qm-nxp-bsp = "imx-mx8qmmek" | 31 | OPTEEMACHINE:mx8qm-nxp-bsp = "imx-mx8qmmek" |
| 32 | OPTEEMACHINE:mx8qxp-nxp-bsp = "imx-mx8qxpmek" | 32 | OPTEEMACHINE:mx8qxp-nxp-bsp = "imx-mx8qxpmek" |
| 33 | OPTEEMACHINE:mx8dx-nxp-bsp = "imx-mx8dxmek" | 33 | OPTEEMACHINE:mx8dx-nxp-bsp = "imx-mx8dxmek" |
| 34 | OPTEEMACHINE:mx8dxl-nxp-bsp = "imx-mx8dxlevk" | 34 | OPTEEMACHINE:mx8dxl-nxp-bsp = "imx-mx8dxlevk" |
| 35 | OPTEEMACHINE:mx8mnul-nxp-bsp = "imx-mx8mnevk" | 35 | OPTEEMACHINE:mx8mnul-nxp-bsp = "imx-mx8mnevk" |
| 36 | OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk" | 36 | OPTEEMACHINE:mx8ulp-nxp-bsp = "imx-mx8ulpevk" |
| 37 | OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk" | 37 | OPTEEMACHINE:mx91-nxp-bsp = "imx-mx91evk" |
| 38 | OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk" | 38 | OPTEEMACHINE:mx93-nxp-bsp = "imx-mx93evk" |
| 39 | OPTEEMACHINE:mx943-nxp-bsp = "imx-mx943evk" | 39 | OPTEEMACHINE:mx943-nxp-bsp = "imx-mx943evk" |
| 40 | OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk" | 40 | OPTEEMACHINE:mx95-nxp-bsp = "imx-mx95evk" |
| 41 | 41 | ||
| 42 | # Strip the leading imx- | 42 | # Strip the leading imx- |
| 43 | PLATFORM_FLAVOR = "${@d.getVar('OPTEEMACHINE')[4:]}" | 43 | PLATFORM_FLAVOR = "${@d.getVar('OPTEEMACHINE')[4:]}" |
diff --git a/recipes-security/optee-imx/optee-os-fslc.inc b/recipes-security/optee-imx/optee-os-fslc.inc index febdd2c73..b36810c60 100644 --- a/recipes-security/optee-imx/optee-os-fslc.inc +++ b/recipes-security/optee-imx/optee-os-fslc.inc | |||
| @@ -13,7 +13,7 @@ require optee-fslc.inc | |||
| 13 | 13 | ||
| 14 | CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os" | 14 | CVE_PRODUCT = "linaro:op-tee op-tee:op-tee_os" |
| 15 | 15 | ||
| 16 | DEPENDS = "python3-pyelftools-native python3-cryptography-native" | 16 | DEPENDS = "python3-cryptography-native python3-pyelftools-native" |
| 17 | 17 | ||
| 18 | DEPENDS:append:toolchain-clang = " lld-native compiler-rt" | 18 | DEPENDS:append:toolchain-clang = " lld-native compiler-rt" |
| 19 | 19 | ||
| @@ -21,7 +21,7 @@ SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https" | |||
| 21 | 21 | ||
| 22 | B = "${WORKDIR}/build" | 22 | B = "${WORKDIR}/build" |
| 23 | 23 | ||
| 24 | EXTRA_OEMAKE += " \ | 24 | EXTRA_OEMAKE += "\ |
| 25 | PLATFORM=${OPTEEMACHINE} \ | 25 | PLATFORM=${OPTEEMACHINE} \ |
| 26 | CFG_${OPTEE_CORE}_core=y \ | 26 | CFG_${OPTEE_CORE}_core=y \ |
| 27 | CROSS_COMPILE_core=${HOST_PREFIX} \ | 27 | CROSS_COMPILE_core=${HOST_PREFIX} \ |
| @@ -30,8 +30,8 @@ EXTRA_OEMAKE += " \ | |||
| 30 | ta-targets=ta_${OPTEE_ARCH} \ | 30 | ta-targets=ta_${OPTEE_ARCH} \ |
| 31 | O=${B} \ | 31 | O=${B} \ |
| 32 | " | 32 | " |
| 33 | EXTRA_OEMAKE += " HOST_PREFIX=${HOST_PREFIX}" | 33 | EXTRA_OEMAKE += "HOST_PREFIX=${HOST_PREFIX}" |
| 34 | EXTRA_OEMAKE += " CROSS_COMPILE64=${HOST_PREFIX}" | 34 | EXTRA_OEMAKE += "CROSS_COMPILE64=${HOST_PREFIX}" |
| 35 | 35 | ||
| 36 | # Enable BTI in optee | 36 | # Enable BTI in optee |
| 37 | EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" | 37 | EXTRA_OEMAKE += "${@bb.utils.contains('MACHINE_FEATURES', 'arm-branch-protection', ' CFG_TA_BTI=1 CFG_CORE_PAUTH=y CFG_TA_PAUTH=y', '', d)}" |
| @@ -74,7 +74,6 @@ PACKAGES += "${PN}-ta" | |||
| 74 | FILES:${PN} = "${nonarch_base_libdir}/firmware/" | 74 | FILES:${PN} = "${nonarch_base_libdir}/firmware/" |
| 75 | FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*" | 75 | FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*" |
| 76 | 76 | ||
| 77 | |||
| 78 | # note: "textrel" is not triggered on all archs | 77 | # note: "textrel" is not triggered on all archs |
| 79 | INSANE_SKIP:${PN} = "textrel" | 78 | INSANE_SKIP:${PN} = "textrel" |
| 80 | INSANE_SKIP:${PN}-dev = "staticdev" | 79 | INSANE_SKIP:${PN}-dev = "staticdev" |
diff --git a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc index 68918414c..0fac7771f 100644 --- a/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-os-tadevkit-fslc-imx.inc | |||
| @@ -18,7 +18,7 @@ do_install() { | |||
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | do_deploy() { | 20 | do_deploy() { |
| 21 | echo "Do not inherit do_deploy from optee-os." | 21 | echo "Do not inherit do_deploy from optee-os." |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | FILES:${PN} = "${includedir}/optee/" | 24 | FILES:${PN} = "${includedir}/optee/" |
diff --git a/recipes-security/optee-imx/optee-test-fslc-imx.inc b/recipes-security/optee-imx/optee-test-fslc-imx.inc index b7d3a34e6..23e22bc9f 100644 --- a/recipes-security/optee-imx/optee-test-fslc-imx.inc +++ b/recipes-security/optee-imx/optee-test-fslc-imx.inc | |||
| @@ -17,6 +17,6 @@ OPTEE_TEST_SRC ?= "git://github.com/nxp-imx/imx-optee-test.git;protocol=https" | |||
| 17 | 17 | ||
| 18 | EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" | 18 | EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" |
| 19 | CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" | 19 | CFLAGS:append:libc-musl = " -Wno-error=deprecated-declarations" |
| 20 | CFLAGS += " -Wno-error=unterminated-string-initialization" | 20 | CFLAGS += "-Wno-error=unterminated-string-initialization" |
| 21 | 21 | ||
| 22 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 22 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-security/optee-imx/optee-test-fslc.inc b/recipes-security/optee-imx/optee-test-fslc.inc index a5183b7e1..66683b613 100644 --- a/recipes-security/optee-imx/optee-test-fslc.inc +++ b/recipes-security/optee-imx/optee-test-fslc.inc | |||
| @@ -11,12 +11,12 @@ inherit python3native ptest | |||
| 11 | inherit deploy | 11 | inherit deploy |
| 12 | require optee-fslc.inc | 12 | require optee-fslc.inc |
| 13 | 13 | ||
| 14 | DEPENDS = "optee-client optee-os-tadevkit python3-cryptography-native openssl" | 14 | DEPENDS = "openssl optee-client optee-os-tadevkit python3-cryptography-native" |
| 15 | DEPENDS:append:toolchain-clang = " lld-native" | 15 | DEPENDS:append:toolchain-clang = " lld-native" |
| 16 | 16 | ||
| 17 | SRC_URI = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https \ | 17 | SRC_URI = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https \ |
| 18 | file://run-ptest \ | 18 | file://run-ptest \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | B = "${WORKDIR}/build" | 21 | B = "${WORKDIR}/build" |
| 22 | 22 | ||
| @@ -25,7 +25,7 @@ EXTRA_OEMAKE += "TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \ | |||
| 25 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ | 25 | CROSS_COMPILE_HOST=${HOST_PREFIX} \ |
| 26 | CROSS_COMPILE_TA=${HOST_PREFIX} \ | 26 | CROSS_COMPILE_TA=${HOST_PREFIX} \ |
| 27 | O=${B} \ | 27 | O=${B} \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | CFLAGS += "-Wno-error=deprecated-declarations" | 30 | CFLAGS += "-Wno-error=deprecated-declarations" |
| 31 | 31 | ||
| @@ -43,9 +43,9 @@ do_install () { | |||
| 43 | 43 | ||
| 44 | # install path should match the value set in optee-client/tee-supplicant | 44 | # install path should match the value set in optee-client/tee-supplicant |
| 45 | # default TEEC_LOAD_PATH is /lib | 45 | # default TEEC_LOAD_PATH is /lib |
| 46 | mkdir -p ${D}${nonarch_base_libdir}/optee_armtz/ | 46 | install -d ${D}${nonarch_base_libdir}/optee_armtz/ |
| 47 | install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ | 47 | install -D -p -m0444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz/ |
| 48 | mkdir -p ${D}${libdir}/tee-supplicant/plugins | 48 | install -d ${D}${libdir}/tee-supplicant/plugins |
| 49 | install -D -p -m0444 ${B}/supp_plugin/*.plugin ${D}${libdir}/tee-supplicant/plugins/ | 49 | install -D -p -m0444 ${B}/supp_plugin/*.plugin ${D}${libdir}/tee-supplicant/plugins/ |
| 50 | } | 50 | } |
| 51 | 51 | ||
| @@ -58,7 +58,7 @@ addtask deploy before do_build after do_install | |||
| 58 | 58 | ||
| 59 | FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/ \ | 59 | FILES:${PN} += "${nonarch_base_libdir}/optee_armtz/ \ |
| 60 | ${libdir}/tee-supplicant/plugins/ \ | 60 | ${libdir}/tee-supplicant/plugins/ \ |
| 61 | " | 61 | " |
| 62 | 62 | ||
| 63 | # Imports machine specific configs from staging to build | 63 | # Imports machine specific configs from staging to build |
| 64 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 64 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-security/optee-imx/optee-test_4.8.0.imx.bb b/recipes-security/optee-imx/optee-test_4.8.0.imx.bb index 2f2b40e09..42d525855 100644 --- a/recipes-security/optee-imx/optee-test_4.8.0.imx.bb +++ b/recipes-security/optee-imx/optee-test_4.8.0.imx.bb | |||
| @@ -8,6 +8,5 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560 \ | |||
| 8 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ | 8 | file://LICENSE-BSD;md5=dca16d6efa93b55d0fd662ae5cd6feeb \ |
| 9 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" | 9 | file://LICENSE-GPL;md5=10e86b5d2a6cb0e2b9dcfdd26a9ac58d" |
| 10 | 10 | ||
| 11 | |||
| 12 | SRCBRANCH = "lf-6.18.2_1.0.0" | 11 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| 13 | SRCREV = "3383a744a5997fdb3457b3cbe95aea3ce27879b3" | 12 | SRCREV = "3383a744a5997fdb3457b3cbe95aea3ce27879b3" |
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb index 491817ef1..93a049001 100644 --- a/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb +++ b/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb | |||
| @@ -18,7 +18,7 @@ do_install() { | |||
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | do_deploy() { | 20 | do_deploy() { |
| 21 | echo "Do not inherit do_deploy from optee-os." | 21 | echo "Do not inherit do_deploy from optee-os." |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | FILES:${PN} = "${includedir}/optee/" | 24 | FILES:${PN} = "${includedir}/optee/" |
diff --git a/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb index 3241ab8c4..64c666286 100644 --- a/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb +++ b/recipes-security/optee-qoriq/optee-os-qoriq_4.8.0.bb | |||
| @@ -4,18 +4,18 @@ OPTEE_OS_BRANCH = "lf-6.12.49_2.2.0" | |||
| 4 | SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00" | 4 | SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00" |
| 5 | 5 | ||
| 6 | do_install:append () { | 6 | do_install:append () { |
| 7 | install -d ${D}${nonarch_base_libdir}/firmware/ | 7 | install -d ${D}${nonarch_base_libdir}/firmware/ |
| 8 | install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/ | 8 | install -m 644 ${B}/core/*.bin ${D}${nonarch_base_libdir}/firmware/ |
| 9 | install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin | 9 | install -m 644 ${B}/core/tee-raw.bin ${D}${nonarch_base_libdir}/firmware/tee_${MACHINE}.bin |
| 10 | 10 | ||
| 11 | # Install embedded TAs | 11 | # Install embedded TAs |
| 12 | install -d ${D}${base_libdir}/optee_armtz/ | 12 | install -d ${D}${base_libdir}/optee_armtz/ |
| 13 | install -m 444 ${B}/ta/*/*.ta ${D}${base_libdir}/optee_armtz/ | 13 | install -m 444 ${B}/ta/*/*.ta ${D}${base_libdir}/optee_armtz/ |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | do_deploy:append () { | 16 | do_deploy:append () { |
| 17 | install -d ${DEPLOYDIR}/optee | 17 | install -d ${DEPLOYDIR}/optee |
| 18 | install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ | 18 | install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/optee/ |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | FILES:${PN} = "${nonarch_base_libdir}/optee_armtz/ ${nonarch_base_libdir}/firmware/" | 21 | FILES:${PN} = "${nonarch_base_libdir}/optee_armtz/ ${nonarch_base_libdir}/firmware/" |
diff --git a/recipes-security/optee-qoriq/optee-os.nxp.inc b/recipes-security/optee-qoriq/optee-os.nxp.inc index 1a837d54a..270d23c3b 100644 --- a/recipes-security/optee-qoriq/optee-os.nxp.inc +++ b/recipes-security/optee-qoriq/optee-os.nxp.inc | |||
| @@ -17,9 +17,9 @@ REQUIRED_MACHINE_FEATURES = "optee" | |||
| 17 | inherit features_check | 17 | inherit features_check |
| 18 | 18 | ||
| 19 | OPTEEMACHINE = "ls-${MACHINE}" | 19 | OPTEEMACHINE = "ls-${MACHINE}" |
| 20 | OPTEEMACHINE:ls1088ardb-pb = "ls-ls1088ardb" | 20 | OPTEEMACHINE:ls1088ardb-pb = "ls-ls1088ardb" |
| 21 | OPTEEMACHINE:ls1046afrwy = "ls-ls1046ardb" | 21 | OPTEEMACHINE:ls1046afrwy = "ls-ls1046ardb" |
| 22 | OPTEEMACHINE:lx2162aqds = "ls-lx2160aqds" | 22 | OPTEEMACHINE:lx2162aqds = "ls-lx2160aqds" |
| 23 | OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb" | 23 | OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb" |
| 24 | 24 | ||
| 25 | EXTRA_OEMAKE:append = " \ | 25 | EXTRA_OEMAKE:append = " \ |
diff --git a/recipes-security/optee-qoriq/optee-test.nxp.inc b/recipes-security/optee-qoriq/optee-test.nxp.inc index 75ed4d0c9..acbc2068d 100644 --- a/recipes-security/optee-qoriq/optee-test.nxp.inc +++ b/recipes-security/optee-qoriq/optee-test.nxp.inc | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | require recipes-security/optee-imx/optee-test-fslc.inc | 2 | require recipes-security/optee-imx/optee-test-fslc.inc |
| 3 | 3 | ||
| 4 | DEPENDS:remove = "optee-client optee-os-tadevkit" | 4 | DEPENDS:remove = "optee-client optee-os-tadevkit" |
| 5 | DEPENDS:append = "optee-client-qoriq optee-os-qoriq-tadevkit openssl" | 5 | DEPENDS:append = " optee-client-qoriq optee-os-qoriq-tadevkit openssl" |
| 6 | 6 | ||
| 7 | SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https" | 7 | SRC_URI:remove = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https" |
| 8 | SRC_URI:remove = "file://run-ptest" | 8 | SRC_URI:remove = "file://run-ptest" |
diff --git a/recipes-security/smw/crypto-af-alg_git.bb b/recipes-security/smw/crypto-af-alg_git.bb index 4101776a5..3ec485b3b 100644 --- a/recipes-security/smw/crypto-af-alg_git.bb +++ b/recipes-security/smw/crypto-af-alg_git.bb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "NXP i.MX CRYPTO AF_ALG" | 3 | SUMMARY = "NXP i.MX CRYPTO AF_ALG" |
| 4 | DESCRIPTION = "NXP i.MX crypto af alg tool to perform symmetric operation" | 4 | DESCRIPTION = "NXP i.MX crypto af alg tool to perform symmetric operation" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/crypto_af_alg" | ||
| 5 | SECTION = "base" | 6 | SECTION = "base" |
| 6 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ef68f113b9400b1140be9b69208a816" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4ef68f113b9400b1140be9b69208a816" |
| @@ -15,7 +16,7 @@ SRCREV = "2fb11a600af90c80b8bb23368d1d6831c5deb973" | |||
| 15 | TARGET_CC_ARCH += "${LDFLAGS}" | 16 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 16 | 17 | ||
| 17 | do_install () { | 18 | do_install () { |
| 18 | oe_runmake DESTDIR=${D} install | 19 | oe_runmake DESTDIR=${D} install |
| 19 | } | 20 | } |
| 20 | 21 | ||
| 21 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 22 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-security/smw/itest_git.bb b/recipes-security/smw/itest_git.bb index 7885edc30..442f5fb89 100644 --- a/recipes-security/smw/itest_git.bb +++ b/recipes-security/smw/itest_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | # Copyright 2026 NXP | 1 | # Copyright 2026 NXP |
| 2 | SUMMARY = "NXP i.MX Itest" | 2 | SUMMARY = "NXP i.MX Itest" |
| 3 | DESCRIPTION = "NXP i.MX Itest" | 3 | DESCRIPTION = "NXP i.MX Itest" |
| 4 | HOMEPAGE = "https://github.com/nxp-imx/itest" | ||
| 4 | SECTION = "base" | 5 | SECTION = "base" |
| 5 | LICENSE = "BSD-3-Clause" | 6 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" |
| @@ -14,19 +15,19 @@ inherit cmake | |||
| 14 | 15 | ||
| 15 | PACKAGECONFIG:mx8dxl-nxp-bsp ??= "ele-seco" | 16 | PACKAGECONFIG:mx8dxl-nxp-bsp ??= "ele-seco" |
| 16 | PACKAGECONFIG:mx8ulp-nxp-bsp ??= "ele" | 17 | PACKAGECONFIG:mx8ulp-nxp-bsp ??= "ele" |
| 17 | PACKAGECONFIG:mx91-nxp-bsp ??= "ele" | 18 | PACKAGECONFIG:mx91-nxp-bsp ??= "ele" |
| 18 | PACKAGECONFIG:mx93-nxp-bsp ??= "ele" | 19 | PACKAGECONFIG:mx93-nxp-bsp ??= "ele" |
| 19 | PACKAGECONFIG:mx943-nxp-bsp ??= "ele ele-seco prime" | 20 | PACKAGECONFIG:mx943-nxp-bsp ??= "ele ele-seco prime" |
| 20 | PACKAGECONFIG:mx95-nxp-bsp ??= "ele ele-seco" | 21 | PACKAGECONFIG:mx95-nxp-bsp ??= "ele ele-seco" |
| 21 | PACKAGECONFIG:mx952-nxp-bsp ??= "ele ele-seco prime" | 22 | PACKAGECONFIG:mx952-nxp-bsp ??= "ele ele-seco prime" |
| 22 | 23 | ||
| 23 | PACKAGECONFIG[ele] = "-DELE=1,,imx-secure-enclave" | 24 | PACKAGECONFIG[ele] = "-DELE=1,,imx-secure-enclave" |
| 24 | PACKAGECONFIG[ele-seco] = "-DV2X=1,,imx-secure-enclave-seco" | 25 | PACKAGECONFIG[ele-seco] = "-DV2X=1,,imx-secure-enclave-seco" |
| 25 | PACKAGECONFIG[prime] = "-DPRIME=1,,imx-secure-enclave-prime" | 26 | PACKAGECONFIG[prime] = "-DPRIME=1,,imx-secure-enclave-prime" |
| 26 | 27 | ||
| 27 | EXTRA_OECMAKE = " \ | 28 | EXTRA_OECMAKE = "\ |
| 28 | -DOPENSSL_PATH="${STAGING_DIR_HOST}/usr" \ | 29 | -DOPENSSL_PATH="${STAGING_DIR_HOST}/usr"\ |
| 29 | -DELE_LIB_PATH="${STAGING_DIR_HOST}/usr" \ | 30 | -DELE_LIB_PATH="${STAGING_DIR_HOST}/usr"\ |
| 30 | -DLIB_PATH="${STAGING_DIR_HOST}${libdir}"" | 31 | -DLIB_PATH="${STAGING_DIR_HOST}${libdir}"" |
| 31 | 32 | ||
| 32 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 33 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-security/smw/keyctl-caam_git.bb b/recipes-security/smw/keyctl-caam_git.bb index 13202326b..cfa1b80c4 100644 --- a/recipes-security/smw/keyctl-caam_git.bb +++ b/recipes-security/smw/keyctl-caam_git.bb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | SUMMARY = "NXP i.MX CAAM Keyctl" | 3 | SUMMARY = "NXP i.MX CAAM Keyctl" |
| 4 | DESCRIPTION = "NXP i.MX keyctl tool to manage CAAM Keys" | 4 | DESCRIPTION = "NXP i.MX keyctl tool to manage CAAM Keys" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/keyctl_caam" | ||
| 5 | SECTION = "base" | 6 | SECTION = "base" |
| 6 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" |
| @@ -11,14 +12,14 @@ SRC_URI = "git://github.com/nxp-imx/keyctl_caam.git;protocol=https;branch=${SRCB | |||
| 11 | 12 | ||
| 12 | SRCREV = "71cb18f17d766145217a5517748e37e250b055bf" | 13 | SRCREV = "71cb18f17d766145217a5517748e37e250b055bf" |
| 13 | 14 | ||
| 14 | DEPENDS = " openssl" | 15 | DEPENDS = "openssl" |
| 15 | 16 | ||
| 16 | TARGET_CC_ARCH += "${LDFLAGS}" | 17 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 17 | 18 | ||
| 18 | EXTRA_OEMAKE = " OPENSSL_PATH=${STAGING_INCDIR}" | 19 | EXTRA_OEMAKE = "OPENSSL_PATH=${STAGING_INCDIR}" |
| 19 | 20 | ||
| 20 | do_install () { | 21 | do_install () { |
| 21 | oe_runmake DESTDIR=${D} install | 22 | oe_runmake DESTDIR=${D} install |
| 22 | } | 23 | } |
| 23 | 24 | ||
| 24 | COMPATIBLE_MACHINE = "(imx-generic-bsp|qoriq)" | 25 | COMPATIBLE_MACHINE = "(imx-generic-bsp|qoriq)" |
diff --git a/recipes-security/smw/smw_5.3.bb b/recipes-security/smw/smw_5.3.bb index 46155978e..37452720a 100644 --- a/recipes-security/smw/smw_5.3.bb +++ b/recipes-security/smw/smw_5.3.bb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | require recipes-security/optee-imx/optee-fslc.inc | 2 | require recipes-security/optee-imx/optee-fslc.inc |
| 3 | 3 | ||
| 4 | SUMMARY = "NXP i.MX Security Middleware Library" | 4 | SUMMARY = "NXP i.MX Security Middleware Library" |
| 5 | HOMEPAGE = "https://github.com/nxp-imx/imx-smw" | ||
| 5 | DESCRIPTION = "NXP i.MX Security Middleware Library" | 6 | DESCRIPTION = "NXP i.MX Security Middleware Library" |
| 6 | SECTION = "base" | 7 | SECTION = "base" |
| 7 | LICENSE = "BSD-3-Clause" | 8 | LICENSE = "BSD-3-Clause" |
| @@ -9,11 +10,11 @@ LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" | |||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ff20c8e51b28869d9cdec70a818d163f \ | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ff20c8e51b28869d9cdec70a818d163f \ |
| 10 | file://${PSA_ARCH_TESTS_SRC_PATH}/LICENSE.md;md5=2a944942e1496af1886903d274dedb13" | 11 | file://${PSA_ARCH_TESTS_SRC_PATH}/LICENSE.md;md5=2a944942e1496af1886903d274dedb13" |
| 11 | 12 | ||
| 12 | DEPENDS = " \ | 13 | DEPENDS = "\ |
| 13 | python3-cryptography-native \ | ||
| 14 | json-c \ | 14 | json-c \ |
| 15 | optee-client \ | 15 | optee-client \ |
| 16 | optee-os-tadevkit \ | 16 | optee-os-tadevkit \ |
| 17 | python3-cryptography-native \ | ||
| 17 | sqlite3 \ | 18 | sqlite3 \ |
| 18 | " | 19 | " |
| 19 | 20 | ||
| @@ -35,15 +36,15 @@ inherit cmake features_check python3native | |||
| 35 | REQUIRED_MACHINE_FEATURES = "optee" | 36 | REQUIRED_MACHINE_FEATURES = "optee" |
| 36 | 37 | ||
| 37 | PACKAGECONFIG ??= "${PACKAGECONFIG_DRIVERS} ${PACKAGECONFIG_FEATURES}" | 38 | PACKAGECONFIG ??= "${PACKAGECONFIG_DRIVERS} ${PACKAGECONFIG_FEATURES}" |
| 38 | PACKAGECONFIG_DRIVERS = "" | 39 | PACKAGECONFIG_DRIVERS = "" |
| 39 | PACKAGECONFIG_DRIVERS:mx8x-nxp-bsp = "ele-seco" | 40 | PACKAGECONFIG_DRIVERS:mx8x-nxp-bsp = "ele-seco" |
| 40 | PACKAGECONFIG_DRIVERS:mx8ulp-nxp-bsp = "ele" | 41 | PACKAGECONFIG_DRIVERS:mx8ulp-nxp-bsp = "ele" |
| 41 | PACKAGECONFIG_DRIVERS:mx91-nxp-bsp = "ele" | 42 | PACKAGECONFIG_DRIVERS:mx91-nxp-bsp = "ele" |
| 42 | PACKAGECONFIG_DRIVERS:mx93-nxp-bsp = "ele" | 43 | PACKAGECONFIG_DRIVERS:mx93-nxp-bsp = "ele" |
| 43 | PACKAGECONFIG_DRIVERS:mx943-nxp-bsp = "ele" | 44 | PACKAGECONFIG_DRIVERS:mx943-nxp-bsp = "ele" |
| 44 | PACKAGECONFIG_DRIVERS:mx95-nxp-bsp = "ele" | 45 | PACKAGECONFIG_DRIVERS:mx95-nxp-bsp = "ele" |
| 45 | 46 | ||
| 46 | PACKAGECONFIG_FEATURES = "" | 47 | PACKAGECONFIG_FEATURES = "" |
| 47 | PACKAGECONFIG_FEATURES:mx91-nxp-bsp = "tls" | 48 | PACKAGECONFIG_FEATURES:mx91-nxp-bsp = "tls" |
| 48 | PACKAGECONFIG_FEATURES:mx93-nxp-bsp = "tls" | 49 | PACKAGECONFIG_FEATURES:mx93-nxp-bsp = "tls" |
| 49 | PACKAGECONFIG_FEATURES:mx943-nxp-bsp = "tls" | 50 | PACKAGECONFIG_FEATURES:mx943-nxp-bsp = "tls" |
| @@ -61,11 +62,11 @@ LD[unexport] = "1" | |||
| 61 | # setting the linker options | 62 | # setting the linker options |
| 62 | TARGET_LDFLAGS:remove = "${DEBUG_PREFIX_MAP}" | 63 | TARGET_LDFLAGS:remove = "${DEBUG_PREFIX_MAP}" |
| 63 | 64 | ||
| 64 | EXTRA_OECMAKE = " \ | 65 | EXTRA_OECMAKE = "\ |
| 65 | -DYOCTO_BUILD=ON \ | 66 | -DYOCTO_BUILD=ON \ |
| 66 | -DTA_DEV_KIT_ROOT=${TA_DEV_KIT_DIR} \ | 67 | -DTA_DEV_KIT_ROOT=${TA_DEV_KIT_DIR} \ |
| 67 | -DTEEC_ROOT=${STAGING_DIR_HOST} \ | 68 | -DTEEC_ROOT=${STAGING_DIR_HOST} \ |
| 68 | -DJSONC_ROOT="${COMPONENTS_DIR}/${TARGET_ARCH}/json-c/usr" \ | 69 | -DJSONC_ROOT="${COMPONENTS_DIR}/${TARGET_ARCH}/json-c/usr"\ |
| 69 | -DPSA_ARCH_TESTS_SRC_PATH=${PSA_ARCH_TESTS_SRC_PATH} \ | 70 | -DPSA_ARCH_TESTS_SRC_PATH=${PSA_ARCH_TESTS_SRC_PATH} \ |
| 70 | -DTEE_TA_DESTDIR=${nonarch_base_libdir} \ | 71 | -DTEE_TA_DESTDIR=${nonarch_base_libdir} \ |
| 71 | " | 72 | " |
