mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-05 05:14:44 +02:00

The series [1] changed the way sources are fetched/unpacked and S needs to follow that. Additionally for git repos it moved away from having 'git/' as the checkout directory. This has been partly tested by building weston based image for imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images. E.g. none of the recipes specific for qoriq is built time tested. As walnascar is no longer compatible with master/whinlatter drop it from LAYERSERIES_COMPAT. [1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
43 lines
1.4 KiB
BlitzBasic
43 lines
1.4 KiB
BlitzBasic
# Copyright 2021-2025 NXP
|
|
SUMMARY = "NXP i.MX ELE firmware"
|
|
DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs"
|
|
SECTION = "base"
|
|
LICENSE = "Proprietary"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
|
|
|
|
inherit fsl-eula-unpack use-imx-security-controller-firmware deploy
|
|
|
|
SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
|
|
IMX_SRCREV_ABBREV = "19b6ee2"
|
|
SRC_URI[sha256sum] = "14ad172ed70d2f16decca4b55e508dad32923390a298f10a598e8bc7778b6b66"
|
|
|
|
S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}"
|
|
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install() {
|
|
install -d ${D}${nonarch_base_libdir}/firmware/imx/ele
|
|
install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
|
|
if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then
|
|
install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele
|
|
fi
|
|
}
|
|
|
|
do_deploy () {
|
|
# Deploy the related firmware to be package by imx-boot
|
|
install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR}
|
|
}
|
|
addtask deploy after do_install before do_build
|
|
|
|
PACKAGES += "${PN}-ext"
|
|
|
|
ALLOW_EMPTY:${PN}-ext = "1"
|
|
|
|
FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}"
|
|
FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}"
|
|
|
|
RREPLACES:${PN} = "firmware-sentinel"
|
|
RPROVIDES:${PN} = "firmware-sentinel"
|
|
|
|
COMPATIBLE_MACHINE = "(mx8ulp-generic-bsp|mx9-generic-bsp)"
|