Browse Source

[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 years ago
parent
commit
6142b721bf
2 changed files with 4 additions and 2 deletions
  1. 0
    2
      src/arch/i386/Makefile
  2. 4
    0
      src/arch/i386/Makefile.pcbios

+ 0
- 2
src/arch/i386/Makefile View File

@@ -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 View File

@@ -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…
Cancel
Save