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>
31 lines
809 B
BlitzBasic
31 lines
809 B
BlitzBasic
# Copyright 2021-2022 NXP
|
|
DESCRIPTION = "NXP i.MX uPower firmware"
|
|
LICENSE = "Proprietary"
|
|
SECTION = "BSP"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de"
|
|
|
|
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
|
|
|
|
S = "${UNPACKDIR}/${PN}-${PV}"
|
|
|
|
inherit fsl-eula-unpack pkgconfig deploy
|
|
|
|
SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66"
|
|
|
|
do_configure[noexec] = "1"
|
|
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install[noexec] = "1"
|
|
|
|
BOOT_TOOLS = "imx-boot-tools"
|
|
|
|
do_deploy () {
|
|
# Deploy the related firmware to be package by imx-boot
|
|
install -d ${DEPLOYDIR}/${BOOT_TOOLS}
|
|
install -m 0644 ${S}/${UPOWER_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/upower.bin
|
|
}
|
|
addtask deploy after do_install before do_build
|
|
|
|
COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp)"
|