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>
40 lines
1.0 KiB
BlitzBasic
40 lines
1.0 KiB
BlitzBasic
SUMMARY = "DPAA2 Management Complex Firmware"
|
|
LICENSE = "NXP-Binary-EULA"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=0701845051a61f6012009d7d6d11b32b"
|
|
|
|
inherit deploy
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
SRC_URI = "git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1"
|
|
SRCREV = "7d82686272f8a60b803818bbc7c5396819ee3b06"
|
|
|
|
REGLEX:ls2088a = "ls2088a"
|
|
REGLEX:ls2080a = "ls2080a"
|
|
REGLEX:ls1088a = "ls1088a"
|
|
REGLEX:lx2160a = "lx216xa"
|
|
REGLEX:lx2162a = "lx216xa"
|
|
|
|
do_install () {
|
|
install -d ${D}/boot
|
|
install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot
|
|
}
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}/mc_app
|
|
install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app
|
|
# make a symlink to the latest binary
|
|
for mc_binary in `find ${DEPLOYDIR}/mc_app -type f -printf "%f\n" |sort`;do
|
|
ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb
|
|
done
|
|
}
|
|
addtask deploy before do_build after do_install
|
|
|
|
PACKAGES += "${PN}-image"
|
|
FILES:${PN}-image += "/boot"
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
|
|
COMPATIBLE_MACHINE = "(qoriq-arm64)"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|