summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-21 01:38:10 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-21 02:23:02 -0400
commitd497703918c3c75a1a898897f4d681cdf900a0ee (patch)
tree1a07bd80776559cadf9b7be6f8396248690a784b /sys-firmware/ipxe
parentnet-libs/libtirpc: updated Manifest file (diff)
downloadgentoo-d497703918c3c75a1a898897f4d681cdf900a0ee.tar.gz
gentoo-d497703918c3c75a1a898897f4d681cdf900a0ee.tar.bz2
gentoo-d497703918c3c75a1a898897f4d681cdf900a0ee.zip
sys-firmware/ipxe: add USE=efi support
Diffstat (limited to 'sys-firmware/ipxe')
-rw-r--r--sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild4
-rw-r--r--sys-firmware/ipxe/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
index 198c86c98544..9952525ce940 100644
--- a/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
+++ b/sys-firmware/ipxe/ipxe-1.0.0_p20130925.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="ipv6 iso lkrn +qemu undi usb vmware"
+IUSE="efi ipv6 iso lkrn +qemu undi usb vmware"
DEPEND="dev-lang/perl
sys-libs/zlib
@@ -85,6 +85,7 @@ src_compile() {
ipxemake bin/15ad07b0.rom # vmxnet3
fi
+ use efi && ipxemake PLATFORM=efi BIN=bin-efi bin-efi/ipxe.efi
use iso && ipxemake bin/ipxe.iso
use undi && ipxemake bin/undionly.kpxe
use usb && ipxemake bin/ipxe.usb
@@ -98,6 +99,7 @@ src_install() {
doins bin/*.rom
fi
use vmware && doins bin/*.mrom
+ use efi && doins bin-efi/*.efi
use iso && doins bin/*.iso
use undi && doins bin/*.kpxe
use usb && doins bin/*.usb
diff --git a/sys-firmware/ipxe/metadata.xml b/sys-firmware/ipxe/metadata.xml
index 38fc01182afb..94bfb5297dab 100644
--- a/sys-firmware/ipxe/metadata.xml
+++ b/sys-firmware/ipxe/metadata.xml
@@ -6,6 +6,7 @@
<name>Doug Goldstein</name>
</maintainer>
<use>
+ <flag name="efi">Build an EFI program for using PXE</flag>
<flag name="iso">Build a bootable ISO for using PXE</flag>
<flag name="lkrn">Build a linux kernel bootable file for using with grub/etc...</flag>
<flag name="usb">Build a bootable USB image for using PXE</flag>