34 lines
1.0 KiB
BlitzBasic
34 lines
1.0 KiB
BlitzBasic
SUMMARY = "Cert_create & Fiptool for fip generation for Trusted Firmware-A"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
|
|
|
|
SRC_URI = "git://github.com/ARM-software/arm-trusted-firmware.git;protocol=https;branch=master \
|
|
file://0001-tools-allow-to-use-a-root-key-password-from-command-.patch \
|
|
file://0002-fix-fiptool-respect-OPENSSL_DIR.patch \
|
|
file://0003-FIX-openssl-for-nativesdk.patch \
|
|
"
|
|
|
|
#SRCREV corresponds to v2.6
|
|
SRCREV = "a1f02f4f3daae7e21ee58b4c93ec3e46b8f28d15"
|
|
|
|
DEPENDS += "dtc-native openssl"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE += "HOSTCC='${CC}' OPENSSL_DIR='${STAGING_EXECPREFIXDIR}'"
|
|
EXTRA_OEMAKE += "certtool fiptool"
|
|
|
|
do_configure[noexec] = "1"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 \
|
|
${B}/tools/fiptool/fiptool \
|
|
${B}/tools/cert_create/cert_create \
|
|
${D}${bindir}
|
|
}
|
|
|
|
#RDEPENDS:${PN}:class-nativesdk += "nativesdk-libcrypto"
|
|
|
|
BBCLASSEXTEND += "native nativesdk"
|