- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
34 lines
1.1 KiB
BlitzBasic
34 lines
1.1 KiB
BlitzBasic
# Firmware Image Package (FIP)
|
|
# It is a packaging format used by TF-A to package the
|
|
# firmware images in a single binary.
|
|
|
|
DESCRIPTION = "fiptool - Trusted Firmware tool for packaging"
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
SRC_URI_TRUSTED_FIRMWARE_A ?= "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https"
|
|
SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};destsuffix=fiptool-${PV};branch=${SRCBRANCH}"
|
|
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=b2c740efedc159745b9b31f88ff03dde"
|
|
|
|
# Use fiptool from TF-A v2.8.6
|
|
SRCREV = "ff0bd5f9bb2ba2f31fb9cec96df917747af9e92d"
|
|
SRCBRANCH = "lts-v2.8"
|
|
|
|
DEPENDS += "openssl-native"
|
|
|
|
inherit native
|
|
|
|
EXTRA_OEMAKE = "V=1 HOSTCC='${BUILD_CC}' OPENSSL_DIR=${STAGING_DIR_NATIVE}/${prefix_native}"
|
|
|
|
do_compile () {
|
|
# This is still needed to have the native fiptool executing properly by
|
|
# setting the RPATH
|
|
sed -i '/^LDLIBS/ s,$, \$\{BUILD_LDFLAGS},' ${S}/tools/fiptool/Makefile
|
|
sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile
|
|
|
|
oe_runmake fiptool
|
|
}
|
|
|
|
do_install () {
|
|
install -D -p -m 0755 tools/fiptool/fiptool ${D}${bindir}/fiptool
|
|
}
|