mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-04 12:01:25 +02:00
[build] Include Xen and Hyper-V drivers only in x86 BIOS and UEFI builds
The Xen and Hyper-V drivers cannot be included in the Linux userspace build since they require MMIO accesses. Limit these drivers to being included in the all-drivers build only for BIOS and UEFI platforms. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
0992d9b560
commit
5669c4d52e
@ -28,11 +28,3 @@ CFLAGS += -DNVALGRIND
|
||||
# Define version string for lkrnprefix.S
|
||||
#
|
||||
CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
|
||||
|
||||
# Include Xen driver in the all-drivers build
|
||||
#
|
||||
DRIVERS_ipxe += $(DRIVERS_xenbus_net)
|
||||
|
||||
# Include Hyper-V driver in the all-drivers build
|
||||
#
|
||||
DRIVERS_ipxe += $(DRIVERS_vmbus_net)
|
||||
|
||||
@ -4,3 +4,8 @@
|
||||
#
|
||||
MAKEDEPS += Makefile.efi
|
||||
include Makefile.efi
|
||||
|
||||
# Include Xen and Hyper-V drivers in the all-drivers build
|
||||
#
|
||||
DRIVERS_ipxe += $(DRIVERS_xenbus_net)
|
||||
DRIVERS_ipxe += $(DRIVERS_vmbus_net)
|
||||
|
||||
@ -105,3 +105,8 @@ NON_AUTO_MEDIA += pdsk
|
||||
%pdsk : %dsk
|
||||
$(Q)cp $< $@
|
||||
$(Q)$(PADIMG) --blksize=1474560 $@
|
||||
|
||||
# Include Xen and Hyper-V drivers in the all-drivers build
|
||||
#
|
||||
DRIVERS_ipxe += $(DRIVERS_xenbus_net)
|
||||
DRIVERS_ipxe += $(DRIVERS_vmbus_net)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user