pkgsrc/sysutils/arm-trusted-firmware-sun50iw1p1/Makefile
jmcneill 2b7fd5f153 Initial import of arm-trusted-firmware-sun50iw1p1 version 20170831.
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 sun50iw1p1 family SoCs.
2017-09-01 21:02:39 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2017/09/01 21:02:39 jmcneill Exp $
VERSION= 20170831
GITHUB_PROJECT= arm-trusted-firmware
GITHUB_TAG= aa75c8da415158a94b82a430b2b40000778e851f
PKGNAME= ${GITHUB_PROJECT}-sun50iw1p1-${VERSION}
DISTNAME= ${PKGNAME}
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=apritzel/}
EXTRACT_SUFX= .zip
MAINTAINER= port-arm@NetBSD.org
HOMEPAGE= https://github.com/apritzel/arm-trusted-firmware/
COMMENT= ARM Trusted Firmware for Allwinner sun50iw1p1 SoCs
LICENSE= modified-bsd
USE_TOOLS+= gmake
MAKE_FLAGS+= CROSS_COMPILE=${PREFIX}/cross-aarch64-none-elf/bin/aarch64-none-elf-
MAKE_FLAGS+= PLAT=sun50iw1p1
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/sun50iw1p1
${INSTALL_DATA} ${WRKSRC}/build/sun50iw1p1/debug/bl31.bin \
${DESTDIR}${PREFIX}/share/arm-trusted-firmware/sun50iw1p1
.include "../../mk/bsd.pkg.mk"