diff options
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc | 7 | ||||
| -rw-r--r-- | recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | 6 | ||||
| -rw-r--r-- | recipes-bsp/imx-test/imx-test_00.00.00.bb | 10 | ||||
| -rw-r--r-- | recipes-bsp/imx-test/imx-test_git.bb | 7 | ||||
| -rw-r--r-- | recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb | 19 |
5 files changed, 33 insertions, 16 deletions
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc index 12dc1c31b..fbfcfc7c3 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc | |||
| @@ -1,12 +1,17 @@ | |||
| 1 | # Copyright 2021-2025 NXP | 1 | # Copyright 2021-2025 NXP |
| 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 = "Library providing access to the NXP i.MX Secure Enclave \ |
| 5 | (EdgeLock Enclave) on-chip security subsystem, exposing its \ | ||
| 6 | cryptographic and key-management services to userspace." | ||
| 5 | HOMEPAGE = "https://github.com/NXP/imx-secure-enclave" | 7 | HOMEPAGE = "https://github.com/NXP/imx-secure-enclave" |
| 6 | SECTION = "base" | 8 | SECTION = "base" |
| 7 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" |
| 9 | 11 | ||
| 12 | # Canonical DEPENDS for the library; this .inc is the base definition, so the | ||
| 13 | # plain assignment is intentional (the require sits at the top of the .bb). | ||
| 14 | # nooelint: oelint.vars.dependsappend | ||
| 10 | DEPENDS = "mbedtls openssl" | 15 | DEPENDS = "mbedtls openssl" |
| 11 | 16 | ||
| 12 | SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" | 17 | SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" |
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 7095ce7a1..2fd6bed75 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
| @@ -9,10 +9,10 @@ PLAT = "ele" | |||
| 9 | 9 | ||
| 10 | PACKAGES =+ "${PN}-crrm" | 10 | PACKAGES =+ "${PN}-crrm" |
| 11 | 11 | ||
| 12 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" | 12 | FILES:${PN}-crrm += "\ |
| 13 | |||
| 14 | FILES:${PN}-crrm = "\ | ||
| 15 | ${bindir}/ele_crrm_test \ | 13 | ${bindir}/ele_crrm_test \ |
| 16 | ${libdir}/lib*crrm${SOLIBS}" | 14 | ${libdir}/lib*crrm${SOLIBS}" |
| 17 | 15 | ||
| 16 | RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" | ||
| 17 | |||
| 18 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | 18 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" |
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 70b6988fc..bbc382aa3 100644 --- a/recipes-bsp/imx-test/imx-test_00.00.00.bb +++ b/recipes-bsp/imx-test/imx-test_00.00.00.bb | |||
| @@ -1,10 +1,18 @@ | |||
| 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 = "Empty placeholder package that provides imx-test on SoCs where \ |
| 3 | the real test suite is unavailable, so images can depend on it \ | ||
| 4 | unconditionally." | ||
| 3 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" | 5 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" |
| 4 | SECTION = "base" | 6 | SECTION = "base" |
| 5 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
| 8 | # The license text is not shipped in the source tree, so reference the | ||
| 9 | # common-licenses copy; this is intentionally a local (non-remote) file. | ||
| 10 | # nooelint: oelint.var.licenseremotefile | ||
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 11 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 7 | 12 | ||
| 13 | # Empty placeholder (ALLOW_EMPTY) with no upstream sources. | ||
| 14 | SRC_URI = "" | ||
| 15 | |||
| 8 | ALLOW_EMPTY:${PN} = "1" | 16 | ALLOW_EMPTY:${PN} = "1" |
| 9 | 17 | ||
| 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 9007a655c..e53fa666f 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -7,6 +7,9 @@ DESCRIPTION = "Unit tests for the i.MX BSP" | |||
| 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" | 7 | HOMEPAGE = "https://github.com/nxp-imx/imx-test" |
| 8 | SECTION = "base" | 8 | SECTION = "base" |
| 9 | LICENSE = "GPL-2.0-or-later" | 9 | LICENSE = "GPL-2.0-or-later" |
| 10 | # The license text is not shipped in the source tree, so reference the | ||
| 11 | # common-licenses copy; this is intentionally a local (non-remote) file. | ||
| 12 | # nooelint: oelint.var.licenseremotefile | ||
| 10 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" | 13 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" |
| 11 | 14 | ||
| 12 | DEPENDS = "alsa-lib freetype libdrm" | 15 | DEPENDS = "alsa-lib freetype libdrm" |
| @@ -85,6 +88,6 @@ do_install() { | |||
| 85 | } | 88 | } |
| 86 | 89 | ||
| 87 | FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" | 90 | FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" |
| 88 | RDEPENDS:${PN} = "bash" | ||
| 89 | |||
| 90 | FILES:${PN}-dbg += "/unit_tests/.debug" | 91 | FILES:${PN}-dbg += "/unit_tests/.debug" |
| 92 | |||
| 93 | RDEPENDS:${PN} = "bash" | ||
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb index 3296ebd94..c53bb8bda 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb | |||
| @@ -1,27 +1,21 @@ | |||
| 1 | SUMMARY = "Contiguous DMA memory allocation library for i.MX" | ||
| 1 | DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ | 2 | DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ |
| 2 | ("DMA memory" or "DMA buffers") on i.MX devices.' | 3 | ("DMA memory" or "DMA buffers") on i.MX devices.' |
| 3 | HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" | 4 | HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" |
| 5 | SECTION = "base" | ||
| 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 = "base" | ||
| 7 | 8 | ||
| 8 | PV .= "+git${SRCPV}" | 9 | PV .= "+git${SRCPV}" |
| 9 | 10 | ||
| 10 | SRCBRANCH ?= "master" | 11 | SRCBRANCH ?= "master" |
| 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 | SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" | ||
| 15 | 16 | ||
| 16 | inherit pkgconfig waf use-imx-headers ptest | 17 | inherit pkgconfig waf use-imx-headers ptest |
| 17 | 18 | ||
| 18 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ | ||
| 19 | --libdir=${libdir} \ | ||
| 20 | ${@bb.utils.contains_any('PACKAGECONFIG', \ | ||
| 21 | [ 'dma-heap-cached', 'dma-heap-uncached' ], \ | ||
| 22 | '', '--with-dma-heap-allocator=no',d)} \ | ||
| 23 | ${PACKAGECONFIG_CONFARGS}" | ||
| 24 | |||
| 25 | # If imxdpu is in use, the DPU is also used for implementing | 19 | # If imxdpu is in use, the DPU is also used for implementing |
| 26 | # libg2d. However, that implementation's g2d_alloc() function | 20 | # libg2d. However, that implementation's g2d_alloc() function |
| 27 | # is broken, so we cannot use it. | 21 | # is broken, so we cannot use it. |
| @@ -78,6 +72,13 @@ PACKAGECONFIG[dma-heap-cached] = "--with-dma-heap-allocator=yes ${CACHED_DMA_HEA | |||
| 78 | PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ | 72 | PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ |
| 79 | ,,,,dma-heap-cached" | 73 | ,,,,dma-heap-cached" |
| 80 | 74 | ||
| 75 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ | ||
| 76 | --libdir=${libdir} \ | ||
| 77 | ${@bb.utils.contains_any('PACKAGECONFIG', \ | ||
| 78 | [ 'dma-heap-cached', 'dma-heap-uncached' ], \ | ||
| 79 | '', '--with-dma-heap-allocator=no',d)} \ | ||
| 80 | ${PACKAGECONFIG_CONFARGS}" | ||
| 81 | |||
| 81 | # Using do_install_ptest_base instead of do_install_ptest, since | 82 | # Using do_install_ptest_base instead of do_install_ptest, since |
| 82 | # the default do_install_ptest_base is hardcoded to expect Makefiles. | 83 | # the default do_install_ptest_base is hardcoded to expect Makefiles. |
| 83 | do_install_ptest_base() { | 84 | do_install_ptest_base() { |
