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
 SRCDIRS		+= arch/i386/core arch/i386/transitions arch/i386/prefix
80
 SRCDIRS		+= arch/i386/core arch/i386/transitions arch/i386/prefix
81
 SRCDIRS		+= arch/i386/firmware/pcbios
81
 SRCDIRS		+= arch/i386/firmware/pcbios
82
 SRCDIRS		+= arch/i386/image
82
 SRCDIRS		+= arch/i386/image
83
-SRCDIRS		+= arch/i386/drivers
84
-SRCDIRS		+= arch/i386/drivers/net
85
 SRCDIRS		+= arch/i386/interface/pcbios
83
 SRCDIRS		+= arch/i386/interface/pcbios
86
 SRCDIRS		+= arch/i386/interface/pxe
84
 SRCDIRS		+= arch/i386/interface/pxe
87
 SRCDIRS		+= arch/i386/interface/pxeparent
85
 SRCDIRS		+= arch/i386/interface/pxeparent

+ 4
- 0
src/arch/i386/Makefile.pcbios View File

8
 #
8
 #
9
 LDFLAGS		+= -N --no-check-sections
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
 # Media types.
15
 # Media types.
12
 #
16
 #
13
 MEDIA		+= rom
17
 MEDIA		+= rom

Loading…
Cancel
Save