]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[linux] Remove Linux-specific code from default (non-Linux) build
authorMichael Brown <mcb30@ipxe.org>
Fri, 25 Feb 2011 17:46:56 +0000 (17:46 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 25 Feb 2011 17:46:56 +0000 (17:46 +0000)
Building the Linux-specific code (tap.o et al) requires external
headers that have proven to be extremely variable across systems,
causing frequent build failures.

Until this situation is rectified, remove the Linux-specific code from
the default (non-Linux build).

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

index d51591ee6ac6c87827374f852be028542ad5bb53..1a878ef8f76f2d9bcbc7915ca58c3088037b76bf 100644 (file)
@@ -74,8 +74,7 @@ SRCDIRS               += drivers/block
 SRCDIRS                += drivers/nvs
 SRCDIRS                += drivers/bitbash
 SRCDIRS                += drivers/infiniband
-SRCDIRS                += drivers/linux
-SRCDIRS                += interface/pxe interface/efi interface/smbios interface/linux
+SRCDIRS                += interface/pxe interface/efi interface/smbios
 SRCDIRS                += tests
 SRCDIRS                += crypto crypto/axtls crypto/matrixssl
 SRCDIRS                += hci hci/commands hci/tui
index c3471dd7586bd1ba9a3a96b1b15382e4ba87ec38..fd56b4b6988210fce3ef2cf9906addb91f400cbd 100644 (file)
@@ -1,6 +1,8 @@
 MEDIA = linux
 
 INCDIRS += arch/x86/include/linux
+SRCDIRS += interface/linux
+SRCDIRS += drivers/linux
 SRCDIRS += arch/x86/core/linux
 
 $(BIN)/%.linux : $(BIN)/%.linux.tmp