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>
46 lines
1.4 KiB
BlitzBasic
46 lines
1.4 KiB
BlitzBasic
# Copyright (C) 2016 Freescale Semiconductor
|
|
# Copyright (C) 2017-2024 NXP
|
|
|
|
DESCRIPTION = "i.MX System Controller Firmware"
|
|
LICENSE = "Proprietary"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3"
|
|
SECTION = "BSP"
|
|
|
|
inherit fsl-eula-unpack pkgconfig deploy
|
|
|
|
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true"
|
|
SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3"
|
|
IMX_SRCREV_ABBREV = "654907b"
|
|
|
|
S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}"
|
|
|
|
BOARD_TYPE ?= "mek"
|
|
SC_FIRMWARE_NAME ?= "INVALID"
|
|
SC_FIRMWARE_NAME:mx8qm-generic-bsp = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
|
|
SC_FIRMWARE_NAME:mx8qxp-generic-bsp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
|
|
SC_FIRMWARE_NAME:mx8dxl-generic-bsp = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin"
|
|
SC_FIRMWARE_NAME:mx8dx-generic-bsp = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin"
|
|
|
|
symlink_name = "scfw_tcm.bin"
|
|
|
|
BOOT_TOOLS = "imx-boot-tools"
|
|
|
|
LDFLAGS:remove = "-fuse-ld=lld"
|
|
LDFLAGS:append = " -fuse-ld=bfd"
|
|
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install[noexec] = "1"
|
|
|
|
do_deploy() {
|
|
install -Dm 0644 ${S}/${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME}
|
|
ln -sf ${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name}
|
|
}
|
|
addtask deploy after do_install
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"
|