32 lines
927 B
BlitzBasic
32 lines
927 B
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 \
|
|
"
|
|
|
|
SRCREV = "a1f02f4f3daae7e21ee58b4c93ec3e46b8f28d15"
|
|
|
|
DEPENDS = "openssl"
|
|
|
|
COMPATIBLE_HOST:class-target = "null"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OEMAKE += "V=1 HOSTCC='${BUILD_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}
|
|
}
|
|
|
|
BBCLASSEXTEND += "native nativesdk"
|