atf-master: Hook to the build and add IGNORE when no platform is specified

Reported by:	antoine
This commit is contained in:
Emmanuel Vadot 2019-02-05 15:47:28 +00:00
parent 058f9d8568
commit 7d3fa60584
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=492253
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,7 @@
SUBDIR += asmem
SUBDIR += asmon
SUBDIR += asusoled
SUBDIR += atf-master
SUBDIR += atf-sun50i_a64
SUBDIR += atf-rk3399
SUBDIR += atitvout

View File

@ -32,6 +32,11 @@ DESCR?= ${.CURDIR}/pkg-descr
NO_ARCH= yes
.if !defined(PLAT)
PLAT= NONE
IGNORE= is a metaport; there is nothing to build
.endif
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/
${INSTALL_DATA} ${WRKSRC}/build/${PLAT}/release/${BL31} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}-${PLAT}/