mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +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>
66 lines
1.8 KiB
PHP
66 lines
1.8 KiB
PHP
# Copyright 2017-2021 NXP
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
SUMMARY = "i.MX M4/M7/M33 core Demo images"
|
|
SECTION = "app"
|
|
LICENSE = "Proprietary"
|
|
|
|
inherit deploy fsl-eula-unpack
|
|
|
|
SOC ?= "INVALID"
|
|
SOC:mx7ulp-nxp-bsp = "imx7ulp"
|
|
SOC:mx7d-nxp-bsp = "imx7d-sabresd"
|
|
SOC:mx8dxl-nxp-bsp = "imx8dxl"
|
|
SOC:mx8mm-nxp-bsp = "imx8mm"
|
|
SOC:mx8mn-nxp-bsp = "imx8mn"
|
|
SOC:mx8mnul-nxp-bsp = "imx8mnddr3l"
|
|
SOC:mx8mp-nxp-bsp = "imx8mp"
|
|
SOC:mx8mpul-nxp-bsp = "imx8mp"
|
|
SOC:mx8mq-nxp-bsp = "imx8mq"
|
|
SOC:mx8qm-nxp-bsp = "imx8qm"
|
|
SOC:mx8qxp-nxp-bsp = "imx8qx"
|
|
SOC:mx8dx-nxp-bsp = "imx8qx"
|
|
SOC:mx8ulp-nxp-bsp = "imx8ulp"
|
|
SOC:mx93-nxp-bsp = "imx93"
|
|
SOC:mx95-nxp-bsp = "imx95"
|
|
|
|
MCORE_TYPE ?= "m4"
|
|
MCORE_TYPE:mx8mn-nxp-bsp = "m7"
|
|
MCORE_TYPE:mx8mnul-nxp-bsp = "m7"
|
|
MCORE_TYPE:mx8mp-nxp-bsp = "m7"
|
|
MCORE_TYPE:mx8mpul-nxp-bsp = "m7"
|
|
MCORE_TYPE:mx8ulp-nxp-bsp = "m33"
|
|
MCORE_TYPE:mx93-nxp-bsp = "m33"
|
|
MCORE_TYPE:mx95-nxp-bsp = "m7"
|
|
|
|
SRC_URI = "${FSL_MIRROR}/${SOC}-${MCORE_TYPE}-demo-${PV}.bin;name=${SOC};fsl-eula=true"
|
|
|
|
S = "${UNPACKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}"
|
|
|
|
SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt"
|
|
|
|
MCORE_DEMO_FILE_EXTENSION ?= "bin"
|
|
MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img"
|
|
|
|
do_install () {
|
|
install -d ${D}${nonarch_base_libdir}/firmware
|
|
if ls ${S}/*.elf > /dev/null 2>&1; then
|
|
install -m 0644 ${S}/*.elf ${D}${nonarch_base_libdir}/firmware
|
|
fi
|
|
install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${D}${nonarch_base_libdir}/firmware
|
|
}
|
|
|
|
do_deploy () {
|
|
# Install the demo binaries
|
|
install -d ${DEPLOYDIR}/mcore-demos
|
|
install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${DEPLOYDIR}/mcore-demos/
|
|
}
|
|
|
|
addtask deploy after do_install
|
|
|
|
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
|
|
|
FILES:${PN} = "${nonarch_base_libdir}/firmware"
|
|
|
|
INSANE_SKIP:${PN} = "arch"
|