Browse Source

[linux] Remove Linux-specific code from default (non-Linux) build

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>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
27578ec8c1
2 changed files with 3 additions and 2 deletions
  1. 1
    2
      src/Makefile
  2. 2
    0
      src/arch/x86/Makefile.linux

+ 1
- 2
src/Makefile View File

@@ -74,8 +74,7 @@ SRCDIRS		+= drivers/block
74 74
 SRCDIRS		+= drivers/nvs
75 75
 SRCDIRS		+= drivers/bitbash
76 76
 SRCDIRS		+= drivers/infiniband
77
-SRCDIRS		+= drivers/linux
78
-SRCDIRS		+= interface/pxe interface/efi interface/smbios interface/linux
77
+SRCDIRS		+= interface/pxe interface/efi interface/smbios
79 78
 SRCDIRS		+= tests
80 79
 SRCDIRS		+= crypto crypto/axtls crypto/matrixssl
81 80
 SRCDIRS		+= hci hci/commands hci/tui

+ 2
- 0
src/arch/x86/Makefile.linux View File

@@ -1,6 +1,8 @@
1 1
 MEDIA = linux
2 2
 
3 3
 INCDIRS += arch/x86/include/linux
4
+SRCDIRS += interface/linux
5
+SRCDIRS += drivers/linux
4 6
 SRCDIRS += arch/x86/core/linux
5 7
 
6 8
 $(BIN)/%.linux : $(BIN)/%.linux.tmp

Loading…
Cancel
Save