summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave.inc7
-rw-r--r--recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb6
-rw-r--r--recipes-bsp/imx-test/imx-test_00.00.00.bb10
-rw-r--r--recipes-bsp/imx-test/imx-test_git.bb7
-rw-r--r--recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb19
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
3SUMMARY = "NXP i.MX SECURE ENCLAVE library" 3SUMMARY = "NXP i.MX SECURE ENCLAVE library"
4DESCRIPTION = "NXP IMX SECURE ENCLAVE library" 4DESCRIPTION = "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."
5HOMEPAGE = "https://github.com/NXP/imx-secure-enclave" 7HOMEPAGE = "https://github.com/NXP/imx-secure-enclave"
6SECTION = "base" 8SECTION = "base"
7LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" 10LIC_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
10DEPENDS = "mbedtls openssl" 15DEPENDS = "mbedtls openssl"
11 16
12SRC_URI = "${SECURE_ENCLAVE_LIB_SRC};branch=${SRCBRANCH}" 17SRC_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
10PACKAGES =+ "${PN}-crrm" 10PACKAGES =+ "${PN}-crrm"
11 11
12RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}" 12FILES:${PN}-crrm += "\
13
14FILES:${PN}-crrm = "\
15 ${bindir}/ele_crrm_test \ 13 ${bindir}/ele_crrm_test \
16 ${libdir}/lib*crrm${SOLIBS}" 14 ${libdir}/lib*crrm${SOLIBS}"
17 15
16RDEPENDS:${PN} = "${@bb.utils.contains('UBOOT_CONFIG', 'crrm', '${PN}-crrm', '', d)}"
17
18COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" 18COMPATIBLE_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 @@
1SUMMARY = "Dummy package for SoCs lacking imx-test package" 1SUMMARY = "Dummy package for SoCs lacking imx-test package"
2DESCRIPTION = "Dummy package for SoCs lacking imx-test package" 2DESCRIPTION = "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."
3HOMEPAGE = "https://github.com/nxp-imx/imx-test" 5HOMEPAGE = "https://github.com/nxp-imx/imx-test"
4SECTION = "base" 6SECTION = "base"
5LICENSE = "MIT" 7LICENSE = "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
6LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 11LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
7 12
13# Empty placeholder (ALLOW_EMPTY) with no upstream sources.
14SRC_URI = ""
15
8ALLOW_EMPTY:${PN} = "1" 16ALLOW_EMPTY:${PN} = "1"
9 17
10PACKAGE_ARCH = "${MACHINE_ARCH}" 18PACKAGE_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"
7HOMEPAGE = "https://github.com/nxp-imx/imx-test" 7HOMEPAGE = "https://github.com/nxp-imx/imx-test"
8SECTION = "base" 8SECTION = "base"
9LICENSE = "GPL-2.0-or-later" 9LICENSE = "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
10LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" 13LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
11 14
12DEPENDS = "alsa-lib freetype libdrm" 15DEPENDS = "alsa-lib freetype libdrm"
@@ -85,6 +88,6 @@ do_install() {
85} 88}
86 89
87FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile" 90FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile"
88RDEPENDS:${PN} = "bash"
89
90FILES:${PN}-dbg += "/unit_tests/.debug" 91FILES:${PN}-dbg += "/unit_tests/.debug"
92
93RDEPENDS:${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 @@
1SUMMARY = "Contiguous DMA memory allocation library for i.MX"
1DESCRIPTION = 'Library for allocating and managing physically contiguous memory \ 2DESCRIPTION = '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.'
3HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer" 4HOMEPAGE = "https://github.com/Freescale/libimxdmabuffer"
5SECTION = "base"
4LICENSE = "LGPL-2.1-only" 6LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
6SECTION = "base"
7 8
8PV .= "+git${SRCPV}" 9PV .= "+git${SRCPV}"
9 10
10SRCBRANCH ?= "master" 11SRCBRANCH ?= "master"
11SRCREV = "d44deb80af881b82f394d44696433e6695022c8c"
12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15SRCREV = "d44deb80af881b82f394d44696433e6695022c8c"
15 16
16inherit pkgconfig waf use-imx-headers ptest 17inherit pkgconfig waf use-imx-headers ptest
17 18
18EXTRA_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
78PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \ 72PACKAGECONFIG[dma-heap-uncached] = "--with-dma-heap-allocator=yes ${UNCACHED_DMA_HEAP_CONF}, \
79 ,,,,dma-heap-cached" 73 ,,,,dma-heap-cached"
80 74
75EXTRA_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.
83do_install_ptest_base() { 84do_install_ptest_base() {