View | Details | Raw Unified | Return to bug 251408 | Differences between
and this patch

Collapse All | Expand All

(-)atf-master/Makefile (-1 / +20 lines)
Lines 8-14 Link Here
8
8
9
LICENSE=	BSD3CLAUSE
9
LICENSE=	BSD3CLAUSE
10
10
11
.if ${ATF_ARCH} == arm
12
BUILD_DEPENDS+= arm-none-eabi-gcc:devel/arm-none-eabi-gcc
13
.else
11
BUILD_DEPENDS+=	aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc
14
BUILD_DEPENDS+=	aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc
15
.endif
12
16
13
USES=	gmake
17
USES=	gmake
14
18
Lines 18-26 Link Here
18
GH_TAGNAME=	${ATF_VERSION}
22
GH_TAGNAME=	${ATF_VERSION}
19
23
20
SSP_UNSAFE=	yes
24
SSP_UNSAFE=	yes
25
26
.if ${ATF_ARCH} == arm
27
MAKE_ENV+=	CROSS_COMPILE="arm-none-eabi-"
28
ALL_TARGET=     ARCH="aarch32" PLAT=${PLAT} V=1 AARCH32_SP="sp_min" CFLAGS= bl32
29
.else
21
MAKE_ENV+=	CROSS_COMPILE="aarch64-none-elf-"
30
MAKE_ENV+=	CROSS_COMPILE="aarch64-none-elf-"
22
ATF_TARGET?=	bl31
31
ATF_TARGET?=	bl31
23
ALL_TARGET=	ARCH="aarch64" PLAT=${PLAT} V=1 CFLAGS= HOSTCC=${CC} ${ATF_TARGET}
32
ALL_TARGET=	ARCH="aarch64" PLAT=${PLAT} V=1 CFLAGS= HOSTCC=${CC} ${ATF_TARGET}
33
.endif
24
34
25
# Default to the latest release
35
# Default to the latest release
26
ATF_VERSION?=	v2.5
36
ATF_VERSION?=	v2.5
Lines 29-34 Link Here
29
.if defined(FIP)
39
.if defined(FIP)
30
PLIST_FILES+=	${PREFIX}/share/${PORTNAME}-${PLAT}/${FIP:T}
40
PLIST_FILES+=	${PREFIX}/share/${PORTNAME}-${PLAT}/${FIP:T}
31
.endif
41
.endif
42
.if ${PLAT} == rk3288
43
PLIST_FILES?=	${PREFIX}/share/${PORTNAME}-${PLAT}/${BL32:T}
44
.endif
32
45
33
DESCR?=		${.CURDIR}/pkg-descr
46
DESCR?=		${.CURDIR}/pkg-descr
34
47
Lines 41-47 Link Here
41
54
42
do-install:
55
do-install:
43
	${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
56
	${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
44
	${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${BL31} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
57
58
.if ${PLAT} == rk3288
59
	${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${BL32} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
60
.else
61
 	${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${BL31} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
62
.endif
63
45
.if defined(FIP)
64
.if defined(FIP)
46
	${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${FIP} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
65
	${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${FIP} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
47
.endif
66
.endif

Return to bug 251408