aboutsummaryrefslogtreecommitdiff
path: root/sysutils/atf-allwinner/Makefile
blob: bf6c7ac6e1542ca0c3cb2b30e2b718718de34779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=	atf-allwinner
PORTVERSION=	1.2.20171017
CATEGORIES=	sysutils
MASTER_SITES=	GH

MAINTAINER=	manu@freebsd.org
COMMENT=	Arm Trusted Framework for Allwinner SoCs

LICENSE=	BSD

BUILD_DEPENDS=	aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc

USE_GITHUB=	yes
GH_ACCOUNT=	apritzel
GH_PROJECT=	arm-trusted-firmware
GH_TAGNAME=	91f2402

SSP_UNSAFE=	yes
USES=	gmake
MAKE_ENV+=	CROSS_COMPILE="aarch64-none-elf-"
ALL_TARGET=	PLAT=sun50iw1p1 bl31

PLIST_FILES=	${PREFIX}/share/${PORTNAME}/bl31.bin

do-install:
	${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}/
	${INSTALL_DATA} ${WRKSRC}/build/sun50iw1p1/release/bl31.bin ${STAGEDIR}/${PREFIX}/share/${PORTNAME}/

.include <bsd.port.mk>