瀏覽代碼

[build] Build pcbios specific drivers only on pcbios

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Piotr Jaroszyński 14 年之前
父節點
當前提交
6142b721bf
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 0
    2
      src/arch/i386/Makefile
  2. 4
    0
      src/arch/i386/Makefile.pcbios

+ 0
- 2
src/arch/i386/Makefile 查看文件

@@ -80,8 +80,6 @@ ISOLINUX_BIN	= $(firstword $(wildcard $(ISOLINUX_BIN_LIST)))
80 80
 SRCDIRS		+= arch/i386/core arch/i386/transitions arch/i386/prefix
81 81
 SRCDIRS		+= arch/i386/firmware/pcbios
82 82
 SRCDIRS		+= arch/i386/image
83
-SRCDIRS		+= arch/i386/drivers
84
-SRCDIRS		+= arch/i386/drivers/net
85 83
 SRCDIRS		+= arch/i386/interface/pcbios
86 84
 SRCDIRS		+= arch/i386/interface/pxe
87 85
 SRCDIRS		+= arch/i386/interface/pxeparent

+ 4
- 0
src/arch/i386/Makefile.pcbios 查看文件

@@ -8,6 +8,10 @@ LDSCRIPT	= arch/i386/scripts/i386.lds
8 8
 #
9 9
 LDFLAGS		+= -N --no-check-sections
10 10
 
11
+# pcbios specific drivers
12
+SRCDIRS		+= arch/i386/drivers
13
+SRCDIRS		+= arch/i386/drivers/net
14
+
11 15
 # Media types.
12 16
 #
13 17
 MEDIA		+= rom

Loading…
取消
儲存