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>
# 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)
#
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)
%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)