mirror of
https://github.com/ipxe/ipxe
synced 2026-05-09 18:00:12 +03: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:
@@ -28,11 +28,3 @@ CFLAGS += -DNVALGRIND
|
|||||||
# Define version string for lkrnprefix.S
|
# Define version string for lkrnprefix.S
|
||||||
#
|
#
|
||||||
CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
|
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
|
MAKEDEPS += Makefile.efi
|
||||||
include 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
|
%pdsk : %dsk
|
||||||
$(Q)cp $< $@
|
$(Q)cp $< $@
|
||||||
$(Q)$(PADIMG) --blksize=1474560 $@
|
$(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)
|
||||||
|
|||||||
Reference in New Issue
Block a user