Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149367592
D25213.id72933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25213.id72933.diff
View Options
Index: net/ipxe/Makefile
===================================================================
--- net/ipxe/Makefile
+++ net/ipxe/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ipxe
DISTVERSION= 20200314
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= tobik@FreeBSD.org
@@ -66,8 +67,11 @@
ISO_DESC= Create bootable CD image
_EFI_ARCHS= ${ARCH:Mamd64:S/amd64/x86_64/} i386
+_EFI_FLAVORS= ipxe snp snponly
.for _arch in ${_EFI_ARCHS}
-EFI_PLIST_FILES+= ${DATADIR}/ipxe.efi-${_arch}
+. for _efi_flavor in ${_EFI_FLAVORS}
+EFI_PLIST_FILES+= ${DATADIR}/${_efi_flavor}.efi-${_arch}
+. endfor
.endfor
ISO_BUILD_DEPENDS= ${LOCALBASE}/share/syslinux/bios/core/isolinux.bin:sysutils/syslinux \
@@ -105,7 +109,9 @@
do-build-EFI-on:
.for _arch in ${_EFI_ARCHS}
- ${DO_MAKE_BUILD} ARCH=${_arch} -C ${WRKSRC} bin-${_arch}-efi/ipxe.efi
+. for _efi_flavor in ${_EFI_FLAVORS}
+ ${DO_MAKE_BUILD} ARCH=${_arch} -C ${WRKSRC} bin-${_arch}-efi/${_efi_flavor}.efi
+. endfor
.endfor
do-install:
@@ -114,7 +120,9 @@
do-install-EFI-on:
.for _arch in ${_EFI_ARCHS}
- ${INSTALL_DATA} ${WRKSRC}/bin-${_arch}-efi/ipxe.efi ${STAGEDIR}${DATADIR}/ipxe.efi-${_arch}
+. for _efi_flavor in ${_EFI_FLAVORS}
+ ${INSTALL_DATA} ${WRKSRC}/bin-${_arch}-efi/${_efi_flavor}.efi ${STAGEDIR}${DATADIR}/${_efi_flavor}.efi-${_arch}
+. endfor
.endfor
.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 25, 12:25 AM (14 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30284014
Default Alt Text
D25213.id72933.diff (1 KB)
Attached To
Mode
D25213: Add snp, snponly, and EFI USB flavors to net/ipxe
Attached
Detach File
Event Timeline
Log In to Comment