]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Include Linux network drivers in the Linux all-drivers build
authorMichael Brown <mcb30@ipxe.org>
Thu, 12 Feb 2026 12:44:33 +0000 (12:44 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 12 Feb 2026 12:50:18 +0000 (12:50 +0000)
Include all three of the Linux-specific network drivers (af_packet,
slirp, and tap) in the all-drivers Linux userspace build.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.linux

index 67afd4244411e37483b67cd051bc7a80f2d1eca2..95dcd84a380086efece1c8b130d66fca6eade7c7 100644 (file)
@@ -26,6 +26,13 @@ NON_AUTO_SRCS        += interface/linux/linux_api.c
 #
 NON_AUTO_MEDIA = linux
 
+# Include Linux-specific drivers in all-drivers build
+#
+DRIVERS_linux_net += af_packet
+DRIVERS_linux_net += slirp
+DRIVERS_linux_net += tap
+DRIVERS_ipxe   += $(DRIVERS_linux_net)
+
 # Compiler flags for building host API wrapper
 #
 LINUX_CFLAGS   += -Os -idirafter include -DSYMBOL_PREFIX=$(SYMBOL_PREFIX)