- 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)
41 lines
1.4 KiB
BlitzBasic
41 lines
1.4 KiB
BlitzBasic
SUMMARY = "i.MX code signing tool"
|
|
DESCRIPTION = "Provides software code signing support designed that integrate the HABv4 and AHAB library"
|
|
SECTION = "cst"
|
|
LICENSE = "BSD-3-Clause & Apache-2.0"
|
|
|
|
LIC_FILES_CHKSUM = "\
|
|
file://LICENSE.bsd3;md5=14aba05f9fa6c25527297c8aac95fcf6 \
|
|
file://LICENSE.hidapi;md5=e0ea014f523f64f0adb13409055ee59e \
|
|
file://LICENSE.openssl;md5=3441526b1df5cc01d812c7dfc218cea6 \
|
|
"
|
|
|
|
DEPENDS = "byacc-native flex-native openssl"
|
|
|
|
# debian: 3.4.0+dfsg-2
|
|
DEBIAN_PGK_NAME = "imx-code-signing-tool"
|
|
DEBIAN_PGK_VERSION = "${PV}+dfsg"
|
|
|
|
SRC_URI = "\
|
|
${DEBIAN_MIRROR}/main/i/${DEBIAN_PGK_NAME}/${DEBIAN_PGK_NAME}_${DEBIAN_PGK_VERSION}.orig.tar.xz \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "52ee3cee3bc500a42095f73c4584e223b4b9d2dfc1cd3e5df965c5952eba8c8d"
|
|
|
|
S = "${WORKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}"
|
|
|
|
EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"'
|
|
|
|
do_compile() {
|
|
oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}"
|
|
oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}${bindir}
|
|
install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/
|
|
install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir}
|
|
install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir}
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|