mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 10:18:23 +01:00
29 lines
720 B
BlitzBasic
29 lines
720 B
BlitzBasic
DESCRIPTION = "ARM Trusted Firmware Allwinner"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=b2c740efedc159745b9b31f88ff03dde"
|
|
|
|
SRC_URI = "git://github.com/ARM-software/arm-trusted-firmware;nobranch=1;protocol=https"
|
|
SRCREV = "f04dfbb297f03d7f8d7f7c00ce8712e1a10295cf"
|
|
|
|
S = "${WORKDIR}/git"
|
|
B = "${WORKDIR}/build"
|
|
|
|
COMPATIBLE_MACHINE = "sunxi64"
|
|
|
|
PLATFORM:sun50i = "sun50iw1p1"
|
|
PLATFORM:sun50i-h616 = "sun50i_h616"
|
|
|
|
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
|
|
}
|