2017-12-03 20:21:21 +01:00
|
|
|
DESCRIPTION = "ARM Trusted Firmware Allwinner"
|
2022-04-21 09:13:54 +02:00
|
|
|
LICENSE = "BSD-3-Clause"
|
2017-12-03 20:21:21 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://license.md;md5=829bdeb34c1d9044f393d5a16c068371"
|
|
|
|
|
2022-04-21 09:13:54 +02:00
|
|
|
SRC_URI = "git://github.com/apritzel/arm-trusted-firmware;nobranch=1;protocol=https"
|
2017-12-03 20:21:21 +01:00
|
|
|
SRCREV = "aa75c8da415158a94b82a430b2b40000778e851f"
|
|
|
|
|
2022-04-13 09:31:07 +02:00
|
|
|
SRC_URI:append = " file://0001-Use-same-type-as-in-declaration.patch"
|
|
|
|
|
2017-12-03 20:21:21 +01:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
B = "${WORKDIR}/build"
|
|
|
|
|
|
|
|
COMPATIBLE_MACHINE = "(sun50i)"
|
|
|
|
|
2022-01-02 21:46:06 +01:00
|
|
|
PLATFORM:sun50i = "sun50iw1p1"
|
2017-12-03 20:21:21 +01:00
|
|
|
|
|
|
|
LDFLAGS[unexport] = "1"
|
|
|
|
|
|
|
|
do_compile() {
|
|
|
|
oe_runmake -C ${S} BUILD_BASE=${B} \
|
|
|
|
CROSS_COMPILE=${TARGET_PREFIX} \
|
|
|
|
PLAT=${PLATFORM} \
|
|
|
|
bl31 \
|
|
|
|
all
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
install -D -p -m 0644 ${B}/${PLATFORM}/release/bl31.bin ${DEPLOY_DIR_IMAGE}/bl31.bin
|
|
|
|
}
|