瀏覽代碼

[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 年之前
父節點
當前提交
27578ec8c1
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. 1
    2
      src/Makefile
  2. 2
    0
      src/arch/x86/Makefile.linux

+ 1
- 2
src/Makefile 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存