pkgsrc/sysutils/arm-trusted-firmware-sun50i-h6/Makefile
jmcneill f0070ad09c Initial import of arm-trusted-firmware-sun50i-h6 version 20180207.
ARM Trusted Firmware (ATF) provides a reference implementation of secure
world software for ARMv8-A, including a Secure Monitor executing at
Exception Level 3 (EL3). It implements various ARM interface standards,
such as:

    The Power State Coordination Interface (PSCI)
    Trusted Board Boot Requirements (TBBR, ARM DEN0006C-1)
    SMC Calling Convention
    System Control and Management Interface

As far as possible the code is designed for reuse or porting to other
ARMv8-A model and hardware platforms.

ARM will continue development in collaboration with interested parties to
provide a full reference implementation of Secure Monitor code and ARM
standards to the benefit of all developers working with ARMv8-A TrustZone
technology.

This package provides ATF for Allwinner H6 family SoCs.
2018-05-26 17:51:33 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2018/05/26 17:51:33 jmcneill Exp $
VERSION= 20180207
GITHUB_PROJECT= arm-trusted-firmware
GITHUB_TAG= 406a637162bee1f1b0c26525c3aae204aac241fa
PKGNAME= ${GITHUB_PROJECT}-sun50i-h6-${VERSION}
DISTNAME= ${PKGNAME}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=Icenowy/}
EXTRACT_SUFX= .zip
MAINTAINER= port-arm@NetBSD.org
HOMEPAGE= https://github.com/Icenowy/arm-trusted-firmware/
COMMENT= ARM Trusted Firmware for Allwinner H6 SoCs
LICENSE= modified-bsd
USE_TOOLS+= gmake
MAKE_FLAGS+= CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
MAKE_FLAGS+= PLAT=sun50i_h6
MAKE_FLAGS+= DEBUG=1
MAKE_FLAGS+= BUILD_STRING=${GITHUB_TAG}
BUILD_TARGET= bl31
BUILD_DEPENDS+= cross-aarch64-none-elf-gcc-[0-9]*:../../cross/aarch64-none-elf-gcc
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50i-h6
${INSTALL_DATA} ${WRKSRC}/build/sun50i_h6/debug/bl31.bin \
${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50i-h6
.include "../../mk/bsd.pkg.mk"