1 | # $Id: Makefile.kmk 35401 2011-01-04 14:33:26Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level sub-makefile for the devices, drivers and services.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2010 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | # Include sub-makefiles.
|
---|
23 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
24 | if defined(VBOX_WITH_INTEL_PXE) || defined(VBOX_ONLY_EXTPACKS)
|
---|
25 | include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
|
---|
26 | else if defined(VBOX_WITH_PXE_ROM) && !defined(VBOX_WITHOUT_ETHERBOOT)
|
---|
27 | include $(PATH_SUB_CURRENT)/PC/Etherboot-src/Makefile.kmk
|
---|
28 | endif
|
---|
29 | if !defined(VBOX_ONLY_EXTPACKS) # Goes on almost to the end of the file.
|
---|
30 | include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
|
---|
31 | include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
|
---|
32 | ifdef VBOX_WITH_EFI
|
---|
33 | include $(PATH_SUB_CURRENT)/EFI/Thunk/Makefile.kmk
|
---|
34 | endif
|
---|
35 |
|
---|
36 | #
|
---|
37 | # Main targets.
|
---|
38 | #
|
---|
39 | LIBRARIES += DevicesR3 Drivers ServicesR0
|
---|
40 | DLLS += VBoxDDU VBoxDD VBoxDD2
|
---|
41 | SYSMODS += VBoxDDR0 VBoxDD2R0
|
---|
42 | ifdef VBOX_WITH_RAW_MODE
|
---|
43 | SYSMODS += VBoxDDGC VBoxDD2GC
|
---|
44 | endif
|
---|
45 |
|
---|
46 |
|
---|
47 | #
|
---|
48 | # VBoxDDU (shared object)
|
---|
49 | #
|
---|
50 | VBoxDDU_TEMPLATE = VBOXR3
|
---|
51 | VBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
|
---|
52 | VBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
|
---|
53 | VBoxDDU_DEFS = IN_VBOXDDU
|
---|
54 | ifdef VBOX_WITH_VUSB
|
---|
55 | VBoxDDU_DEFS += VBOX_WITH_VUSB
|
---|
56 | endif
|
---|
57 | ifdef VBOX_WITH_USB
|
---|
58 | VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
|
---|
59 | VBoxDDU_SDKS.win = WINPSDK W2K3DDK
|
---|
60 | if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
61 | VBoxDDU_DEFS += VBOX_WITH_EHCI
|
---|
62 | endif
|
---|
63 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
64 | VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
65 | endif
|
---|
66 | else
|
---|
67 | VBoxDDU_SDKS.win = WINPSDK
|
---|
68 | endif
|
---|
69 | VBoxDDU_SOURCES = \
|
---|
70 | Storage/VSCSI/VSCSIDevice.cpp \
|
---|
71 | Storage/VSCSI/VSCSILun.cpp \
|
---|
72 | Storage/VSCSI/VSCSILunSbc.cpp \
|
---|
73 | Storage/VSCSI/VSCSISense.cpp \
|
---|
74 | Storage/VSCSI/VSCSISgBuf.cpp \
|
---|
75 | Storage/VSCSI/VSCSIIoReq.cpp \
|
---|
76 | build/VBoxDDUDeps.cpp
|
---|
77 | ifdef VBOX_WITH_USB
|
---|
78 | VBoxDDU_INCS.os2 += \
|
---|
79 | $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
80 | endif
|
---|
81 | VBoxDDU_LIBS = \
|
---|
82 | $(LIB_RUNTIME) \
|
---|
83 | $(PATH_LIB)/StorageLib$(VBOX_SUFF_LIB)
|
---|
84 | ifdef VBOX_WITH_USB
|
---|
85 | VBoxDDU_LIBS += \
|
---|
86 | $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
|
---|
87 | endif
|
---|
88 | ifeq ($(KBUILD_TARGET),l4)
|
---|
89 | VBoxDDU_LIBS += \
|
---|
90 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
91 | endif
|
---|
92 | VBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
|
---|
93 | ifdef VBOX_WITH_USB
|
---|
94 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
95 | VBoxDDU_LDFLAGS.darwin += -framework IOKit
|
---|
96 | endif
|
---|
97 | endif
|
---|
98 |
|
---|
99 | VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
|
---|
100 | VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
101 |
|
---|
102 | #
|
---|
103 | # VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
|
---|
104 | #
|
---|
105 | ifeq ($(KBUILD_TARGET),l4)
|
---|
106 | LIBRARIES += VBoxDDULnxHostR3
|
---|
107 | VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
|
---|
108 | VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
|
---|
109 | VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
|
---|
110 | endif
|
---|
111 |
|
---|
112 | #
|
---|
113 | # VBoxDD (shared object)
|
---|
114 | #
|
---|
115 | VBoxDD_TEMPLATE = VBOXR3
|
---|
116 | VBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
|
---|
117 | VBoxDD_INCS = build
|
---|
118 | VBoxDD_SOURCES = \
|
---|
119 | build/VBoxDD.cpp
|
---|
120 | VBoxDD_DEFS = VBOX_ACPI
|
---|
121 | ifdef VBOX_WITH_USB
|
---|
122 | VBoxDD_DEFS += VBOX_WITH_USB
|
---|
123 | if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
124 | VBoxDD_DEFS += VBOX_WITH_EHCI
|
---|
125 | endif
|
---|
126 | endif
|
---|
127 | ifdef VBOX_WITH_VUSB
|
---|
128 | VBoxDD_DEFS += VBOX_WITH_VUSB
|
---|
129 | endif
|
---|
130 | ifdef VBOX_WITH_AHCI
|
---|
131 | VBoxDD_DEFS += VBOX_WITH_AHCI
|
---|
132 | endif
|
---|
133 | ifdef VBOX_WITH_INIP
|
---|
134 | VBoxDD_DEFS += VBOX_WITH_INIP
|
---|
135 | endif
|
---|
136 | ifdef VBOX_WITH_E1000
|
---|
137 | VBoxDD_DEFS += VBOX_WITH_E1000
|
---|
138 | endif
|
---|
139 | ifdef VBOX_WITH_VIRTIO
|
---|
140 | VBoxDD_DEFS += VBOX_WITH_VIRTIO
|
---|
141 | endif
|
---|
142 | ifdef VBOX_WITH_BUSLOGIC
|
---|
143 | VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
|
---|
144 | endif
|
---|
145 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
146 | VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
147 | endif
|
---|
148 | ifdef VBOX_WITH_SCSI
|
---|
149 | VBoxDD_DEFS += VBOX_WITH_SCSI
|
---|
150 | endif
|
---|
151 | ifdef VBOX_WITH_LSILOGIC
|
---|
152 | VBoxDD_DEFS += VBOX_WITH_LSILOGIC
|
---|
153 | endif
|
---|
154 | ifdef VBOX_WITH_EFI
|
---|
155 | VBoxDD_DEFS += VBOX_WITH_EFI
|
---|
156 | endif
|
---|
157 | ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
158 | VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
159 | endif
|
---|
160 | ifdef VBOX_WITH_VDE
|
---|
161 | VBoxDD_DEFS += VBOX_WITH_VDE
|
---|
162 | endif
|
---|
163 |
|
---|
164 | VBoxDD_LIBS = \
|
---|
165 | $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
|
---|
166 | $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
|
---|
167 | $(PATH_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
|
---|
168 | $(LIB_VMM) \
|
---|
169 | $(LIB_RUNTIME)
|
---|
170 | ifeq ($(KBUILD_TARGET),win)
|
---|
171 | VBoxDD_LIBS += \
|
---|
172 | $(LIB_DDU) \
|
---|
173 | $(PATH_LIB)/VBoxDD2.lib \
|
---|
174 | $(PATH_SDK_DXSDK_LIB)/dxguid.lib
|
---|
175 | else
|
---|
176 | VBoxDD_LIBS += \
|
---|
177 | $(INSTARGET_VBoxDDU) \
|
---|
178 | $(INSTARGET_VBoxDD2)
|
---|
179 | endif
|
---|
180 | ifeq ($(KBUILD_TARGET),l4)
|
---|
181 | VBoxDD_LIBS += \
|
---|
182 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
183 | endif
|
---|
184 |
|
---|
185 | ifdef VBOX_WITH_HGSMI
|
---|
186 | VBoxDD_LIBS += \
|
---|
187 | $(PATH_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
|
---|
188 | endif
|
---|
189 |
|
---|
190 | ifdef VBOX_WITH_NETFLT
|
---|
191 | VBoxDD_LIBS.win += $(PATH_LIB)/WinNetConfig.lib
|
---|
192 | endif
|
---|
193 |
|
---|
194 | ifdef VBOX_WITH_EFI
|
---|
195 | VBoxDD_LIBS += $(PATH_LIB)/EfiThunkBin$(VBOX_SUFF_LIB)
|
---|
196 | endif
|
---|
197 |
|
---|
198 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
199 | VBoxDD_LIBS += adm
|
---|
200 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
201 | VBoxDD_LIBS += secdb
|
---|
202 | endif
|
---|
203 | ifdef VBOX_WITH_USB
|
---|
204 | VBoxDD_LIBS += aio
|
---|
205 | endif
|
---|
206 | endif
|
---|
207 |
|
---|
208 | VBoxDD_LIBS.darwin += \
|
---|
209 | $(LIB_REM)
|
---|
210 |
|
---|
211 | VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
|
---|
212 | -framework CoreAudio \
|
---|
213 | -framework AudioUnit \
|
---|
214 | -framework AudioToolbox \
|
---|
215 | -framework IOKit \
|
---|
216 | -framework Carbon \
|
---|
217 | -framework DiskArbitration
|
---|
218 | VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
|
---|
219 | VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
220 |
|
---|
221 |
|
---|
222 | #
|
---|
223 | # VBoxDD2 (shared object)
|
---|
224 | #
|
---|
225 | VBoxDD2_TEMPLATE = VBOXR3
|
---|
226 | VBoxDD2_DEFS = IN_VBOXDD2
|
---|
227 | VBoxDD2_INCS := \
|
---|
228 | build \
|
---|
229 | $(PATH_SUB_CURRENT)
|
---|
230 | VBoxDD2_SOURCES = \
|
---|
231 | build/VBoxDD2.cpp \
|
---|
232 | PC/DevAPIC.cpp \
|
---|
233 | PC/DevSMC.cpp \
|
---|
234 | PC/DevLPC.cpp
|
---|
235 | VBoxDD2_LIBS = \
|
---|
236 | $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
|
---|
237 | $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
|
---|
238 | $(if $(VBOX_WITH_PXE_ROM),$(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB),) \
|
---|
239 | $(LIB_VMM) \
|
---|
240 | $(LIB_RUNTIME)
|
---|
241 | ifeq ($(KBUILD_TARGET),l4)
|
---|
242 | VBoxDD2_LIBS += \
|
---|
243 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
244 | endif
|
---|
245 | VBoxDD2_LIBS.darwin += $(LIB_REM)
|
---|
246 | VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
|
---|
247 | VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
|
---|
248 | VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
249 |
|
---|
250 | ifdef VBOX_WITH_PXE_ROM
|
---|
251 | VBoxDD2_DEFS += VBOX_WITH_PXE_ROM
|
---|
252 | endif
|
---|
253 |
|
---|
254 | #
|
---|
255 | # DevicesR3 (library)
|
---|
256 | #
|
---|
257 | DevicesR3_TEMPLATE = VBOXR3
|
---|
258 | DevicesR3_SDKS.win = WINPSDK W2K3DDK
|
---|
259 | DevicesR3_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
260 | DevicesR3_DEFS += \
|
---|
261 | VBOX_HGCM_HOST_CODE \
|
---|
262 | VBOX_WITH_HGCM \
|
---|
263 | $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
|
---|
264 | $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,)
|
---|
265 | DevicesR3_DEFS.linux += _GNU_SOURCE
|
---|
266 | DevicesR3_DEFS.l4 += _GNU_SOURCE
|
---|
267 |
|
---|
268 | DevicesR3_INCS = \
|
---|
269 | build
|
---|
270 |
|
---|
271 | DevicesR3_SOURCES = \
|
---|
272 | Input/DevPS2.cpp \
|
---|
273 | Input/UsbKbd.cpp \
|
---|
274 | Input/UsbMouse.cpp \
|
---|
275 | Bus/DevPCI.cpp \
|
---|
276 | Bus/DevPciIch9.cpp \
|
---|
277 | Bus/MsiCommon.cpp \
|
---|
278 | Bus/MsixCommon.cpp \
|
---|
279 | Bus/DevPciRaw.cpp \
|
---|
280 | Graphics/DevVGA.cpp \
|
---|
281 | Storage/DevATA.cpp \
|
---|
282 | PC/DevPit-i8254.cpp \
|
---|
283 | PC/DevPIC.cpp \
|
---|
284 | PC/DevACPI.cpp \
|
---|
285 | PC/ACPI/VBoxAcpi.cpp \
|
---|
286 | PC/DevRTC.cpp \
|
---|
287 | PC/DevPcBios.cpp \
|
---|
288 | PC/DevFwCommon.cpp \
|
---|
289 | PC/DevPcArch.c \
|
---|
290 | VMMDev/VMMDev.cpp \
|
---|
291 | VMMDev/VMMDevHGCM.cpp \
|
---|
292 | VMMDev/VMMDevTesting.cpp \
|
---|
293 | Network/DevPCNet.cpp \
|
---|
294 | Audio/DevIchAc97.cpp \
|
---|
295 | Audio/DevSB16.cpp \
|
---|
296 | Audio/DevIchIntelHDA.cpp \
|
---|
297 | Audio/DevCodec.cpp \
|
---|
298 | PC/DevDMA.cpp \
|
---|
299 | PC/DevHPET.cpp \
|
---|
300 | PC/DevSMC.cpp \
|
---|
301 | PC/DevLPC.cpp \
|
---|
302 | Storage/fdc.c \
|
---|
303 | Serial/DevSerial.cpp \
|
---|
304 | Parallel/DevParallel.cpp
|
---|
305 |
|
---|
306 | ifdef VBOX_WITH_E1000
|
---|
307 | DevicesR3_DEFS += VBOX_WITH_E1000
|
---|
308 | DevicesR3_SOURCES += \
|
---|
309 | Network/DevE1000.cpp \
|
---|
310 | Network/DevE1000Phy.cpp \
|
---|
311 | Network/DevEEPROM.cpp
|
---|
312 | endif
|
---|
313 |
|
---|
314 | ifdef VBOX_WITH_VIRTIO
|
---|
315 | DevicesR3_DEFS += VBOX_WITH_VIRTIO
|
---|
316 | DevicesR3_SOURCES += \
|
---|
317 | VirtIO/Virtio.cpp \
|
---|
318 | Network/DevVirtioNet.cpp
|
---|
319 | endif
|
---|
320 |
|
---|
321 | ifdef VBOX_WITH_HGSMI
|
---|
322 | DevicesR3_DEFS += VBOX_WITH_HGSMI
|
---|
323 | DevicesR3_SOURCES += \
|
---|
324 | Graphics/DevVGA_VBVA.cpp \
|
---|
325 | Graphics/HGSMI/HGSMIHost.cpp \
|
---|
326 | Graphics/HGSMI/HGSMIHostHlp.cpp
|
---|
327 |
|
---|
328 | endif
|
---|
329 | ifdef VBOX_WITH_WDDM
|
---|
330 | DevicesR3_DEFS += VBOX_WITH_WDDM
|
---|
331 | DevicesR3_SOURCES += \
|
---|
332 | Graphics/HGSMI/SHGSMIHost.cpp
|
---|
333 | endif
|
---|
334 | ifdef VBOX_WITH_VDMA
|
---|
335 | DevicesR3_DEFS += VBOX_WITH_VDMA
|
---|
336 | DevicesR3_SOURCES += \
|
---|
337 | Graphics/DevVGA_VDMA.cpp
|
---|
338 | endif
|
---|
339 | ifdef VBOX_WITH_CRHGSMI
|
---|
340 | DevicesR3_DEFS += VBOX_WITH_CRHGSMI
|
---|
341 | endif
|
---|
342 | ifdef VBOXWDDM_TEST_UHGSMI
|
---|
343 | DevicesR3_DEFS += VBOXWDDM_TEST_UHGSMI
|
---|
344 | endif
|
---|
345 | ifdef VBOXWDDM_WITH_VBVA
|
---|
346 | DevicesR3_DEFS += VBOXWDDM_WITH_VBVA
|
---|
347 | endif
|
---|
348 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
349 | DevicesR3_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
350 | endif
|
---|
351 | ifdef VBOX_WITH_DMI_CHASSIS
|
---|
352 | DevicesR3_DEFS += VBOX_WITH_DMI_CHASSIS
|
---|
353 | endif
|
---|
354 | ifdef VBOX_WITH_DMI_OEMSTRINGS
|
---|
355 | DevicesR3_DEFS += VBOX_WITH_DMI_OEMSTRINGS
|
---|
356 | endif
|
---|
357 | ifdef VBOX_WITH_PXE_ROM
|
---|
358 | DevicesR3_DEFS += VBOX_WITH_PXE_ROM
|
---|
359 | endif
|
---|
360 |
|
---|
361 | ifdef VBOX_WITH_INIP
|
---|
362 | DevicesR3_INCS += \
|
---|
363 | Network/lwip/src/include \
|
---|
364 | Network/lwip/src/include/ipv4 \
|
---|
365 | Network/lwip/vbox/include
|
---|
366 | DevicesR3_SOURCES += \
|
---|
367 | Network/lwip/src/api/api_lib.c \
|
---|
368 | Network/lwip/src/api/api_msg.c \
|
---|
369 | Network/lwip/src/api/err.c \
|
---|
370 | Network/lwip/src/api/sockets.c \
|
---|
371 | Network/lwip/src/api/tcpip.c \
|
---|
372 | Network/lwip/src/core/tcp_in.c \
|
---|
373 | Network/lwip/src/core/dhcp.c \
|
---|
374 | Network/lwip/src/core/inet.c \
|
---|
375 | Network/lwip/src/core/mem.c \
|
---|
376 | Network/lwip/src/core/memp.c \
|
---|
377 | Network/lwip/src/core/netif.c \
|
---|
378 | Network/lwip/src/core/pbuf.c \
|
---|
379 | Network/lwip/src/core/raw.c \
|
---|
380 | Network/lwip/src/core/stats.c \
|
---|
381 | Network/lwip/src/core/sys.c \
|
---|
382 | Network/lwip/src/core/tcp.c \
|
---|
383 | Network/lwip/src/core/ipv4/ip_addr.c \
|
---|
384 | Network/lwip/src/core/ipv4/icmp.c \
|
---|
385 | Network/lwip/src/core/ipv4/ip.c \
|
---|
386 | Network/lwip/src/core/ipv4/ip_frag.c \
|
---|
387 | Network/lwip/src/core/tcp_out.c \
|
---|
388 | Network/lwip/src/core/udp.c \
|
---|
389 | Network/lwip/src/netif/etharp.c \
|
---|
390 | Network/lwip/vbox/sys_arch.c \
|
---|
391 | Network/DevINIP.cpp
|
---|
392 | DevicesR3_DEFS += VBOX_WITH_INIP
|
---|
393 | endif
|
---|
394 |
|
---|
395 | ifdef VBOX_WITH_AHCI
|
---|
396 | DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
|
---|
397 | DevicesR3_SOURCES += \
|
---|
398 | Storage/DevAHCI.cpp \
|
---|
399 | Storage/ATAController.cpp
|
---|
400 | endif
|
---|
401 |
|
---|
402 | ifdef VBOX_WITH_BUSLOGIC
|
---|
403 | DevicesR3_DEFS += VBOX_WITH_BUSLOGIC
|
---|
404 | DevicesR3_SOURCES += \
|
---|
405 | Storage/DevBusLogic.cpp \
|
---|
406 | Storage/VBoxSCSI.cpp
|
---|
407 | endif
|
---|
408 |
|
---|
409 | ifdef VBOX_WITH_LSILOGIC
|
---|
410 | DevicesR3_DEFS += VBOX_WITH_LSILOGIC
|
---|
411 | DevicesR3_SOURCES += \
|
---|
412 | Storage/DevLsiLogicSCSI.cpp
|
---|
413 | endif
|
---|
414 |
|
---|
415 | ifdef VBOX_WITH_EFI
|
---|
416 | DevicesR3_DEFS += VBOX_WITH_EFI
|
---|
417 | ifdef VBOX_WITH_ALT_EFITHUNK
|
---|
418 | DevicesR3_DEFS += VBOX_WITH_ALT_EFITHUNK
|
---|
419 | endif
|
---|
420 | DevicesR3_SOURCES += EFI/DevEFI.cpp
|
---|
421 | EFI/DevEFI.cpp_INCS += EFI/tools/include
|
---|
422 | EFI/DevEFI.cpp_INCS.x86 += EFI/tools/include/Ia32
|
---|
423 | EFI/DevEFI.cpp_INCS.amd64 += EFI/tools/include/X64
|
---|
424 | endif
|
---|
425 |
|
---|
426 | ifdef VBOX_WITH_MSI_DEVICES
|
---|
427 | DevicesR3_DEFS += VBOX_WITH_MSI_DEVICES
|
---|
428 | endif
|
---|
429 |
|
---|
430 | ifdef VBOX_WITH_DYNAMIC_DSDT
|
---|
431 | DevicesR3_DEFS += VBOX_WITH_DYNAMIC_DSDT
|
---|
432 | endif
|
---|
433 |
|
---|
434 | ifdef VBOX_WITH_VUSB
|
---|
435 | DevicesR3_DEFS += VBOX_WITH_VUSB
|
---|
436 | DevicesR3_SOURCES += \
|
---|
437 | USB/DevOHCI.cpp
|
---|
438 | endif
|
---|
439 | ifdef VBOX_WITH_USB
|
---|
440 | DevicesR3_DEFS += VBOX_WITH_USB
|
---|
441 | if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
442 | DevicesR3_DEFS += VBOX_WITH_EHCI
|
---|
443 | DevicesR3_SOURCES += \
|
---|
444 | USB/DevEHCI.cpp
|
---|
445 | endif
|
---|
446 | endif
|
---|
447 |
|
---|
448 | ifdef VBOX_WITH_DTRACE_R3
|
---|
449 | DevicesR3_DEFS += VBOX_WITH_DTRACE
|
---|
450 | DevicesR3_INCS += $(DevicesR3_0_OUTDIR)
|
---|
451 | DevicesR3_INTERMEDIATES += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h
|
---|
452 | $$(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h: $(PATH_SUB_CURRENT)/build/VBoxDD-dtrace.d | $$(dir $$@)
|
---|
453 | dtrace -C -h -o $@ -s $<
|
---|
454 | endif
|
---|
455 |
|
---|
456 | ifdef VBOX_WITH_DYNAMIC_DSDT
|
---|
457 | DevicesR3_CLEAN += $(DevicesR3_0_OUTDIR)/vboxdsl.hex
|
---|
458 | PC/ACPI/VBoxAcpi.cpp_DEPS = $(DevicesR3_0_OUTDIR)/vboxdsl.hex
|
---|
459 |
|
---|
460 | $$(DevicesR3_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
|
---|
461 | $(call MSG_TOOL,bin2c,DevicesR3,$<,$@)
|
---|
462 | $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
|
---|
463 |
|
---|
464 | vboxdsl.hex:: $$(DevicesR3_0_OUTDIR)/vboxdsl.hex
|
---|
465 |
|
---|
466 | else # !VBOX_WITH_DYNAMIC_DSDT
|
---|
467 | # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
|
---|
468 | DevicesR3_CLEAN += \
|
---|
469 | $(DevicesR3_0_OUTDIR)/vboxaml.hex \
|
---|
470 | $(DevicesR3_0_OUTDIR)/vboxaml.aml \
|
---|
471 | $(DevicesR3_0_OUTDIR)/vboxssdt-standard.hex \
|
---|
472 | $(DevicesR3_0_OUTDIR)/vboxssdt-standard.aml \
|
---|
473 | $(DevicesR3_0_OUTDIR)/vboxssdt-standard.aml.tmp \
|
---|
474 | $(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex \
|
---|
475 | $(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml \
|
---|
476 | $(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml.tmp \
|
---|
477 | $(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml.pre
|
---|
478 | PC/ACPI/VBoxAcpi.cpp_DEPS = \
|
---|
479 | $(DevicesR3_0_OUTDIR)/vboxaml.hex \
|
---|
480 | $(DevicesR3_0_OUTDIR)/vboxssdt-standard.hex \
|
---|
481 | $(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex
|
---|
482 |
|
---|
483 | $$(DevicesR3_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
|
---|
484 | $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
|
---|
485 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
486 |
|
---|
487 | vboxaml.hex:: $$(DevicesR3_0_OUTDIR)/vboxaml.hex
|
---|
488 |
|
---|
489 | $$(DevicesR3_0_OUTDIR)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)
|
---|
490 | $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
|
---|
491 | $(QUIET)$(RM) -f $@ $@.tmp
|
---|
492 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
493 | $(QUIET)$(MV) -f $@ $@.tmp
|
---|
494 | $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtStandard/g" \
|
---|
495 | --output $@ $@.tmp
|
---|
496 | $(QUIET)$(RM) -f $@.tmp
|
---|
497 |
|
---|
498 |
|
---|
499 | vboxssdt-standard.hex:: $$(DevicesR3_0_OUTDIR)/vboxssdt-standard.hex
|
---|
500 |
|
---|
501 | $$(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)
|
---|
502 | $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
|
---|
503 | $(QUIET)$(RM) -f $@ $@.tmp $@.pre
|
---|
504 | $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $<
|
---|
505 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre
|
---|
506 | $(QUIET)$(MV) -f $@ $@.tmp
|
---|
507 | $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \
|
---|
508 | --output $@ $@.tmp
|
---|
509 | $(QUIET)$(RM) -f $@.tmp $@.pre
|
---|
510 |
|
---|
511 |
|
---|
512 | vboxssdt-cpuhotplug.hex:: $$(DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex
|
---|
513 |
|
---|
514 | endif # !VBOX_WITH_DYNAMIC_DSDT
|
---|
515 | PC/ACPI/VBoxAcpi.cpp_INCS = $(DevicesR3_0_OUTDIR)
|
---|
516 |
|
---|
517 | # For finding PCIInternal.h from VBox/pci.h.
|
---|
518 | Bus/DevPCI.cpp_INCS = Bus
|
---|
519 | Bus/DevPciIch9.cpp_INCS = Bus
|
---|
520 | Bus/MsiCommon.cpp_INCS = Bus
|
---|
521 | Bus/MsixCommon.cpp_INCS = Bus
|
---|
522 |
|
---|
523 | # For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
|
---|
524 | Graphics/DevVGA.cpp_INCS = $(VgaBiosBin_0_OUTDIR)
|
---|
525 | Graphics/DevVGA.cpp_DEPS = $(VgaBiosBin_0_OUTDIR)/vbetables.h
|
---|
526 |
|
---|
527 |
|
---|
528 | ifdef VBOX_WITH_RAW_MODE
|
---|
529 | #
|
---|
530 | # VBoxDDGC (sysmod)
|
---|
531 | #
|
---|
532 | VBoxDDGC_TEMPLATE = VBoxRc
|
---|
533 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
534 | VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
535 | endif
|
---|
536 | VBoxDDGC_DEFS = VBOX_WITH_HGCM
|
---|
537 | VBoxDDGC_INCS = build
|
---|
538 | VBoxDDGC_SOURCES = \
|
---|
539 | Bus/DevPCI.cpp \
|
---|
540 | Bus/DevPciIch9.cpp \
|
---|
541 | Bus/MsiCommon.cpp \
|
---|
542 | Bus/MsixCommon.cpp \
|
---|
543 | Bus/DevPciRaw.cpp \
|
---|
544 | Graphics/DevVGA.cpp \
|
---|
545 | Input/DevPS2.cpp \
|
---|
546 | PC/DevACPI.cpp \
|
---|
547 | PC/DevPit-i8254.cpp \
|
---|
548 | PC/DevPIC.cpp \
|
---|
549 | PC/DevRTC.cpp \
|
---|
550 | PC/DevHPET.cpp \
|
---|
551 | Storage/DevATA.cpp \
|
---|
552 | Network/DevPCNet.cpp \
|
---|
553 | Serial/DevSerial.cpp \
|
---|
554 | Parallel/DevParallel.cpp \
|
---|
555 | VMMDev/VMMDevTesting.cpp
|
---|
556 |
|
---|
557 | ifdef VBOX_WITH_E1000
|
---|
558 | VBoxDDGC_DEFS += VBOX_WITH_E1000
|
---|
559 | VBoxDDGC_SOURCES += \
|
---|
560 | Network/DevE1000.cpp \
|
---|
561 | Network/DevE1000Phy.cpp
|
---|
562 | endif
|
---|
563 |
|
---|
564 | ifdef VBOX_WITH_VIRTIO
|
---|
565 | VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
|
---|
566 | VBoxDDGC_SOURCES += \
|
---|
567 | VirtIO/Virtio.cpp \
|
---|
568 | Network/DevVirtioNet.cpp
|
---|
569 | endif
|
---|
570 |
|
---|
571 | ifdef VBOX_WITH_HGSMI
|
---|
572 | VBoxDDGC_DEFS += VBOX_WITH_HGSMI
|
---|
573 | endif
|
---|
574 | ifdef VBOX_WITH_WDDM
|
---|
575 | VBoxDDGC_DEFS += VBOX_WITH_WDDM
|
---|
576 | endif
|
---|
577 | ifdef VBOX_WITH_VDMA
|
---|
578 | VBoxDDGC_DEFS += VBOX_WITH_VDMA
|
---|
579 | endif
|
---|
580 | ifdef VBOX_WITH_CRHGSMI
|
---|
581 | VBoxDDGC_DEFS += VBOX_WITH_CRHGSMI
|
---|
582 | endif
|
---|
583 |
|
---|
584 | ifdef VBOXWDDM_WITH_VBVA
|
---|
585 | VBoxDDGC_DEFS += VBOXWDDM_WITH_VBVA
|
---|
586 | endif
|
---|
587 |
|
---|
588 | ifdef VBOX_WITH_VUSB
|
---|
589 | VBoxDDGC_DEFS += VBOX_WITH_VUSB
|
---|
590 | VBoxDDGC_SOURCES += \
|
---|
591 | USB/DevOHCI.cpp
|
---|
592 | endif
|
---|
593 |
|
---|
594 | ifdef VBOX_WITH_USB
|
---|
595 | VBoxDDGC_DEFS += VBOX_WITH_USB
|
---|
596 | if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
597 | VBoxDDGC_DEFS += VBOX_WITH_EHCI
|
---|
598 | VBoxDDGC_SOURCES += \
|
---|
599 | USB/DevEHCI.cpp
|
---|
600 | endif
|
---|
601 | endif
|
---|
602 |
|
---|
603 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
604 | VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
605 | endif
|
---|
606 |
|
---|
607 | ifdef VBOX_WITH_AHCI
|
---|
608 | VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
|
---|
609 | VBoxDDGC_SOURCES += \
|
---|
610 | Storage/DevAHCI.cpp \
|
---|
611 | Storage/ATAController.cpp
|
---|
612 | endif
|
---|
613 |
|
---|
614 | ifdef VBOX_WITH_BUSLOGIC
|
---|
615 | VBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
|
---|
616 | VBoxDDGC_SOURCES += \
|
---|
617 | Storage/DevBusLogic.cpp
|
---|
618 | endif
|
---|
619 |
|
---|
620 | ifdef VBOX_WITH_LSILOGIC
|
---|
621 | VBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
|
---|
622 | VBoxDDGC_SOURCES += \
|
---|
623 | Storage/DevLsiLogicSCSI.cpp
|
---|
624 | endif
|
---|
625 |
|
---|
626 | if1of ($(VBOX_LDR_FMT32), pe lx)
|
---|
627 | VBoxDDGC_LIBS = \
|
---|
628 | $(PATH_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
|
---|
629 | $(PATH_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
|
---|
630 | endif
|
---|
631 | endif # VBOX_WITH_RAW_MODE
|
---|
632 |
|
---|
633 |
|
---|
634 | #
|
---|
635 | # VBoxDDR0 (sysmod)
|
---|
636 | #
|
---|
637 | VBoxDDR0_TEMPLATE = VBoxR0
|
---|
638 | VBoxDDR0_DEFS.darwin.x86= VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
639 | VBoxDDR0_DEFS = IN_RT_R0 VBOX_WITH_HGCM # - WTF is IN_RT_R0 doing here?
|
---|
640 | VBoxDDR0_INCS = build
|
---|
641 | VBoxDDR0_SOURCES = \
|
---|
642 | Bus/DevPCI.cpp \
|
---|
643 | Bus/DevPciIch9.cpp \
|
---|
644 | Bus/MsiCommon.cpp \
|
---|
645 | Bus/MsixCommon.cpp \
|
---|
646 | Bus/DevPciRaw.cpp \
|
---|
647 | Graphics/DevVGA.cpp \
|
---|
648 | Input/DevPS2.cpp \
|
---|
649 | PC/DevACPI.cpp \
|
---|
650 | PC/DevPit-i8254.cpp \
|
---|
651 | PC/DevPIC.cpp \
|
---|
652 | PC/DevRTC.cpp \
|
---|
653 | PC/DevHPET.cpp \
|
---|
654 | Storage/DevATA.cpp \
|
---|
655 | Network/DevPCNet.cpp \
|
---|
656 | Serial/DevSerial.cpp \
|
---|
657 | Parallel/DevParallel.cpp \
|
---|
658 | VMMDev/VMMDevTesting.cpp \
|
---|
659 | \
|
---|
660 | Network/DrvIntNet.cpp \
|
---|
661 | Network/DrvDedicatedNic.cpp
|
---|
662 |
|
---|
663 | ifdef VBOX_WITH_E1000
|
---|
664 | VBoxDDR0_DEFS += VBOX_WITH_E1000
|
---|
665 | VBoxDDR0_SOURCES += \
|
---|
666 | Network/DevE1000.cpp \
|
---|
667 | Network/DevE1000Phy.cpp
|
---|
668 | endif
|
---|
669 |
|
---|
670 | ifdef VBOX_WITH_VIRTIO
|
---|
671 | VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
|
---|
672 | VBoxDDR0_SOURCES += \
|
---|
673 | VirtIO/Virtio.cpp \
|
---|
674 | Network/DevVirtioNet.cpp
|
---|
675 | endif
|
---|
676 |
|
---|
677 | ifdef VBOX_WITH_HGSMI
|
---|
678 | VBoxDDR0_DEFS += VBOX_WITH_HGSMI
|
---|
679 | endif
|
---|
680 | ifdef VBOX_WITH_WDDM
|
---|
681 | VBoxDDR0_DEFS += VBOX_WITH_WDDM
|
---|
682 | endif
|
---|
683 | ifdef VBOX_WITH_VDMA
|
---|
684 | VBoxDDR0_DEFS += VBOX_WITH_VDMA
|
---|
685 | endif
|
---|
686 | ifdef VBOX_WITH_CRHGSMI
|
---|
687 | VBoxDDR0_DEFS += VBOX_WITH_CRHGSMI
|
---|
688 | endif
|
---|
689 | ifdef VBOXWDDM_WITH_VBVA
|
---|
690 | VBoxDDR0_DEFS += VBOXWDDM_WITH_VBVA
|
---|
691 | endif
|
---|
692 |
|
---|
693 | ifdef VBOX_WITH_VUSB
|
---|
694 | VBoxDDR0_DEFS += VBOX_WITH_VUSB
|
---|
695 | VBoxDDR0_SOURCES += \
|
---|
696 | USB/DevOHCI.cpp
|
---|
697 | endif
|
---|
698 | ifdef VBOX_WITH_USB
|
---|
699 | VBoxDDR0_DEFS += VBOX_WITH_USB
|
---|
700 | if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
701 | VBoxDDR0_DEFS += VBOX_WITH_EHCI
|
---|
702 | VBoxDDR0_SOURCES += \
|
---|
703 | USB/DevEHCI.cpp
|
---|
704 | endif
|
---|
705 | endif
|
---|
706 |
|
---|
707 | ifdef VBOX_WITH_AHCI
|
---|
708 | VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
|
---|
709 | VBoxDDR0_SOURCES += \
|
---|
710 | Storage/DevAHCI.cpp \
|
---|
711 | Storage/ATAController.cpp
|
---|
712 | endif
|
---|
713 |
|
---|
714 | ifdef VBOX_WITH_BUSLOGIC
|
---|
715 | VBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
|
---|
716 | VBoxDDR0_SOURCES += \
|
---|
717 | Storage/DevBusLogic.cpp
|
---|
718 | endif
|
---|
719 |
|
---|
720 | ifdef VBOX_WITH_LSILOGIC
|
---|
721 | VBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
|
---|
722 | VBoxDDR0_SOURCES += \
|
---|
723 | Storage/DevLsiLogicSCSI.cpp
|
---|
724 | endif
|
---|
725 |
|
---|
726 | ifdef VBOX_WITH_HGSMI
|
---|
727 | VBoxDDR0_DEFS += VBOX_WITH_HGSMI
|
---|
728 | endif
|
---|
729 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
730 | VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
731 | endif
|
---|
732 |
|
---|
733 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
734 | VBoxDDR0_LIBS = \
|
---|
735 | $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
|
---|
736 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
737 | endif
|
---|
738 |
|
---|
739 |
|
---|
740 | ifdef VBOX_WITH_RAW_MODE
|
---|
741 | #
|
---|
742 | # VBoxDD2GC (LGPL sysmod)
|
---|
743 | #
|
---|
744 | VBoxDD2GC_TEMPLATE = VBoxRc
|
---|
745 | VBoxDD2GC_DEFS =
|
---|
746 | VBoxDD2GC_INCS = build
|
---|
747 | VBoxDD2GC_SOURCES = \
|
---|
748 | PC/DevAPIC.cpp \
|
---|
749 | PC/DevSMC.cpp
|
---|
750 | if1of ($(VBOX_LDR_FMT32), pe lx)
|
---|
751 | VBoxDD2GC_LIBS = \
|
---|
752 | $(PATH_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
|
---|
753 | $(PATH_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
|
---|
754 | endif
|
---|
755 | endif
|
---|
756 |
|
---|
757 | #
|
---|
758 | # VBoxDD2R0 (LGPL sysmod)
|
---|
759 | #
|
---|
760 | VBoxDD2R0_TEMPLATE = VBoxR0
|
---|
761 | VBoxDD2R0_DEFS = IN_RT_R0
|
---|
762 | VBoxDD2R0_INCS = build
|
---|
763 | VBoxDD2R0_SOURCES = \
|
---|
764 | PC/DevAPIC.cpp \
|
---|
765 | PC/DevSMC.cpp
|
---|
766 |
|
---|
767 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
768 | VBoxDD2R0_LIBS = \
|
---|
769 | $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
|
---|
770 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
771 | endif
|
---|
772 |
|
---|
773 |
|
---|
774 | #
|
---|
775 | # Drivers (library)
|
---|
776 | #
|
---|
777 | ifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
|
---|
778 | Drivers_TEMPLATE = VBOXR3NP
|
---|
779 | else
|
---|
780 | Drivers_TEMPLATE = VBOXR3
|
---|
781 | endif
|
---|
782 | Drivers_SDKS.win = WINPSDK W2K3DDK
|
---|
783 | Storage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
|
---|
784 | Drivers_DEFS.win += _WIN32_WINNT=0x0510
|
---|
785 | Drivers_DEFS = \
|
---|
786 | IN_IDE_R3 \
|
---|
787 | $(if $(VBOX_WITH_NETFLT),VBOX_WITH_NETFLT,) \
|
---|
788 | $(if $(VBOX_WITH_INIP),VBOX_WITH_INIP,) \
|
---|
789 | $(if $(VBOX_WITH_DRV_DISK_INTEGRITY),VBOX_WITH_DRV_DISK_INTEGRITY,) \
|
---|
790 | $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
|
---|
791 |
|
---|
792 | Drivers_INCS := \
|
---|
793 | build \
|
---|
794 | Network/slirp
|
---|
795 | Drivers_SOURCES = \
|
---|
796 | Audio/audio.c \
|
---|
797 | Audio/audiosniffer.c \
|
---|
798 | Audio/mixeng.c \
|
---|
799 | Audio/noaudio.c \
|
---|
800 | Audio/filteraudio.c \
|
---|
801 | Input/DrvKeyboardQueue.cpp \
|
---|
802 | Input/DrvMouseQueue.cpp \
|
---|
803 | Network/DrvIntNet.cpp \
|
---|
804 | Network/DrvDedicatedNic.cpp \
|
---|
805 | PC/DrvACPI.cpp \
|
---|
806 | PC/DrvAcpiCpu.cpp \
|
---|
807 | Serial/DrvChar.cpp \
|
---|
808 | Serial/DrvNamedPipe.cpp \
|
---|
809 | Serial/DrvRawFile.cpp \
|
---|
810 | Storage/DrvBlock.cpp \
|
---|
811 | Storage/DrvHostBase.cpp \
|
---|
812 | Storage/DrvHostDVD.cpp \
|
---|
813 | Storage/DrvHostFloppy.cpp \
|
---|
814 | Storage/DrvMediaISO.cpp \
|
---|
815 | Storage/DrvRawImage.cpp \
|
---|
816 | Storage/Debug.cpp \
|
---|
817 | Storage/DrvVD.cpp \
|
---|
818 | Network/DrvNetSniffer.cpp \
|
---|
819 | Network/Pcap.cpp
|
---|
820 |
|
---|
821 | VBOX_SLIRP_SOURCES = \
|
---|
822 | Network/DrvNAT.cpp \
|
---|
823 | Network/slirp/bootp.c \
|
---|
824 | Network/slirp/debug.c \
|
---|
825 | Network/slirp/ip_icmp.c \
|
---|
826 | Network/slirp/ip_input.c \
|
---|
827 | Network/slirp/ip_output.c \
|
---|
828 | Network/slirp/misc.c \
|
---|
829 | Network/slirp/sbuf.c \
|
---|
830 | Network/slirp/slirp.c \
|
---|
831 | Network/slirp/socket.c \
|
---|
832 | Network/slirp/tcp_input.c \
|
---|
833 | Network/slirp/tcp_output.c \
|
---|
834 | Network/slirp/tcp_subr.c \
|
---|
835 | Network/slirp/tcp_timer.c \
|
---|
836 | Network/slirp/udp.c \
|
---|
837 | Network/slirp/dnsproxy/hash.c \
|
---|
838 | Network/slirp/tftp.c \
|
---|
839 | Network/slirp/dnsproxy/dnsproxy.c
|
---|
840 |
|
---|
841 | ifdef VBOX_WITH_SLIRP_BSD_SBUF
|
---|
842 | VBOX_SLIRP_SOURCES += Network/slirp/bsd/kern/subr_sbuf.c
|
---|
843 | endif
|
---|
844 |
|
---|
845 | VBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
|
---|
846 | VBOX_SLIRP_BSD_SOURCES += \
|
---|
847 | Network/slirp/bsd/kern/kern_mbuf.c \
|
---|
848 | Network/slirp/bsd/kern/uipc_mbuf.c \
|
---|
849 | Network/slirp/bsd/kern/uipc_mbuf2.c \
|
---|
850 | Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
|
---|
851 |
|
---|
852 | VBOX_SLIRP_ALIAS_SOURCES = \
|
---|
853 | Network/slirp/libalias/alias.c \
|
---|
854 | Network/slirp/libalias/alias_db.c \
|
---|
855 | Network/slirp/libalias/alias_mod.c \
|
---|
856 | Network/slirp/libalias/alias_proxy.c \
|
---|
857 | Network/slirp/libalias/alias_ftp.c \
|
---|
858 | Network/slirp/libalias/alias_dns.c \
|
---|
859 | Network/slirp/libalias/alias_nbt.c \
|
---|
860 | Network/slirp/libalias/alias_util.c
|
---|
861 |
|
---|
862 | # some day will be deleted
|
---|
863 |
|
---|
864 | Drivers_SOURCES += $(VBOX_SLIRP_SOURCES)
|
---|
865 | define def_vbox_slirp_cflags
|
---|
866 | $(file)_DEFS += \
|
---|
867 | $(if $(VBOX_WITH_SLIRP_BSD_SBUF),VBOX_WITH_SLIRP_BSD_SBUF,) \
|
---|
868 | $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
|
---|
869 | $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
|
---|
870 | $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
|
---|
871 | $(file)_INCS += $(1)/slirp/bsd/sys
|
---|
872 | $(file)_INCS += $(1)/slirp/bsd/sys/sys
|
---|
873 | $(file)_INCS += $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include
|
---|
874 | $(file)_INCS += $(1)/slirp/bsd/netinet
|
---|
875 | $(file)_INCS += $(1)/slirp
|
---|
876 | $(file)_INCS += $(1)/slirp/libalias
|
---|
877 | ifeq ($(KBUILD_TARGET),win)
|
---|
878 | $(file)_CFLAGS = -wd4018
|
---|
879 | else
|
---|
880 | $(file)_CFLAGS += -Wno-sign-compare
|
---|
881 | $(file)_CFLAGS += -Wno-format
|
---|
882 | $(file)_CFLAGS += -Wno-bad-function-cast
|
---|
883 | endif
|
---|
884 | endef
|
---|
885 |
|
---|
886 | $(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
887 |
|
---|
888 | Drivers_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
|
---|
889 | define def_vbox_slirp_alias_cflags
|
---|
890 | $(file)_DEFS += VBOX_SLIRP_ALIAS \
|
---|
891 | $(if $(VBOX_WITH_DEBUG_LIBALIAS),VBOX_WITH_DEBUG_LIBALIAS,)
|
---|
892 | $(file)_INCS += $(1)/slirp/libalias
|
---|
893 | $(file)_INCS += $(1)/slirp
|
---|
894 | $(file)_INCS += $(1)/slirp/dnsproxy
|
---|
895 | ifneq ($(KBUILD_TARGET),win)
|
---|
896 | $(file)_CFLAGS += -Wno-shadow
|
---|
897 | endif
|
---|
898 | endef
|
---|
899 | $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
900 | $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_alias_cflags, Network)))
|
---|
901 |
|
---|
902 | VBOX_SLIRP_BSD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES.${KBUILD_TARGET_ARCH})
|
---|
903 | Drivers_SOURCES += $(VBOX_SLIRP_BSD_SOURCES)
|
---|
904 | define def_vbox_slirp_bsd_cflags
|
---|
905 | $(file)_DEFS += VBOX_SLIRP_BSD
|
---|
906 | $(file)_INCS += $(1)/slirp/dnsproxy
|
---|
907 | endef
|
---|
908 | $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
909 | $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network)))
|
---|
910 |
|
---|
911 | ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
912 | Drivers_SOURCES += \
|
---|
913 | Storage/DrvDiskIntegrity.cpp
|
---|
914 | endif
|
---|
915 |
|
---|
916 | ifdef VBOX_WITH_VDE
|
---|
917 | Drivers_SOURCES += \
|
---|
918 | Network/DrvVDE.cpp \
|
---|
919 | Network/VDEPlug.cpp
|
---|
920 | Drivers_DEFS += \
|
---|
921 | VBOX_WITH_VDE
|
---|
922 | endif
|
---|
923 |
|
---|
924 | # -- OS specific --
|
---|
925 |
|
---|
926 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
927 | Drivers_SOURCES := $(filter-out \
|
---|
928 | Storage/DrvHostRaw% \
|
---|
929 | Storage/DrvHostFloppy% \
|
---|
930 | , $(Drivers_SOURCES)) \
|
---|
931 | Audio/coreaudio.c
|
---|
932 | Drivers_SOURCES.darwin = \
|
---|
933 | Serial/DrvHostSerial.cpp
|
---|
934 | endif # darwin
|
---|
935 |
|
---|
936 | ifeq ($(KBUILD_TARGET),freebsd)
|
---|
937 | Drivers_SOURCES := $(filter-out \
|
---|
938 | Storage/DrvHostFloppy% \
|
---|
939 | , $(Drivers_SOURCES)) \
|
---|
940 | Audio/ossaudio.c \
|
---|
941 | Serial/DrvHostSerial.cpp
|
---|
942 | Drivers_SOURCES.freebsd = \
|
---|
943 | Network/DrvTAP.cpp
|
---|
944 | endif # freebsd
|
---|
945 |
|
---|
946 |
|
---|
947 | ifeq ($(KBUILD_TARGET),l4)
|
---|
948 | Drivers_SOURCES = \
|
---|
949 | Input/DrvMouseQueue.cpp \
|
---|
950 | Input/DrvKeyboardQueue.cpp \
|
---|
951 | Storage/DrvBlock.cpp \
|
---|
952 | Storage/DrvMediaISO.cpp \
|
---|
953 | Storage/DrvRawImage.cpp \
|
---|
954 | Storage/DrvHostBase.cpp \
|
---|
955 | Storage/DrvHostDVD.cpp \
|
---|
956 | Storage/DrvVD.cpp \
|
---|
957 | PC/DrvACPI.cpp \
|
---|
958 | Network/DrvIntNet.cpp \
|
---|
959 | Network/DHCPServerRunner.cpp \
|
---|
960 | Network/DrvNetSniffer.cpp \
|
---|
961 | Network/Pcap.cpp \
|
---|
962 | Audio/audio.c \
|
---|
963 | Audio/mixeng.c \
|
---|
964 | Audio/noaudio.c \
|
---|
965 | Audio/audiosniffer.c
|
---|
966 |
|
---|
967 | Drivers_SOURCES.l4 = \
|
---|
968 | Audio/ossaudio.c
|
---|
969 | endif # l4
|
---|
970 |
|
---|
971 | Drivers_SOURCES.linux = \
|
---|
972 | Network/DrvTAP.cpp \
|
---|
973 | Audio/ossaudio.c \
|
---|
974 | Parallel/DrvHostParallel.cpp \
|
---|
975 | Serial/DrvHostSerial.cpp
|
---|
976 |
|
---|
977 | ifeq ($(KBUILD_TARGET),os2)
|
---|
978 | Drivers_SOURCES := $(filter-out \
|
---|
979 | Storage/DrvHost% \
|
---|
980 | , $(Drivers_SOURCES))
|
---|
981 | endif
|
---|
982 |
|
---|
983 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
984 | Drivers_SOURCES := $(filter-out \
|
---|
985 | Storage/DrvHost% \
|
---|
986 | , $(Drivers_SOURCES))
|
---|
987 | Drivers_SOURCES.solaris = \
|
---|
988 | Audio/solaudio.c \
|
---|
989 | Storage/DrvHostBase.cpp \
|
---|
990 | Storage/DrvHostDVD.cpp \
|
---|
991 | Serial/DrvHostSerial.cpp
|
---|
992 | ifdef VBOX_WITH_SOLARIS_OSS
|
---|
993 | Drivers_SOURCES += Audio/ossaudio.c
|
---|
994 | Drivers_DEFS += VBOX_WITH_SOLARIS_OSS
|
---|
995 | endif
|
---|
996 | ifdef VBOX_WITH_CROSSBOW
|
---|
997 | Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
|
---|
998 | Drivers_DEFS += VBOX_WITH_CROSSBOW
|
---|
999 | endif
|
---|
1000 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
1001 | Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
|
---|
1002 | endif
|
---|
1003 | endif
|
---|
1004 |
|
---|
1005 | Drivers_SOURCES.win = \
|
---|
1006 | Audio/dsoundaudio.c \
|
---|
1007 | Serial/DrvHostSerial.cpp
|
---|
1008 |
|
---|
1009 | if defined(VBOX_WITH_NETFLT)
|
---|
1010 | if defined(VBOX_NETFLT_ONDEMAND_BIND)
|
---|
1011 | Drivers_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
|
---|
1012 | endif
|
---|
1013 | endif
|
---|
1014 |
|
---|
1015 | # -- features --
|
---|
1016 |
|
---|
1017 | ifdef VBOX_WITH_ISCSI
|
---|
1018 | Storage/DrvVD.cpp_INCS = \
|
---|
1019 | Network/lwip/src/include \
|
---|
1020 | Network/lwip/src/include/ipv4 \
|
---|
1021 | Network/lwip/vbox/include
|
---|
1022 | endif # VBOX_WITH_ISCSI
|
---|
1023 |
|
---|
1024 | ifdef VBOX_WITH_ALSA
|
---|
1025 | Drivers_DEFS.linux += VBOX_WITH_ALSA
|
---|
1026 | Drivers_SOURCES.linux+= \
|
---|
1027 | Audio/alsaaudio.c \
|
---|
1028 | Audio/alsa_stubs.c
|
---|
1029 | endif
|
---|
1030 |
|
---|
1031 | ifdef VBOX_WITH_PULSE
|
---|
1032 | Drivers_DEFS.linux += VBOX_WITH_PULSE
|
---|
1033 | Drivers_SOURCES.linux+= \
|
---|
1034 | Audio/pulseaudio.c \
|
---|
1035 | Audio/pulse_stubs.c
|
---|
1036 | Drivers_DEFS.freebsd += VBOX_WITH_PULSE
|
---|
1037 | Drivers_SOURCES.freebsd+= \
|
---|
1038 | Audio/pulseaudio.c \
|
---|
1039 | Audio/pulse_stubs.c
|
---|
1040 | endif
|
---|
1041 |
|
---|
1042 | ifdef VBOX_WITH_VUSB
|
---|
1043 | Drivers_DEFS += VBOX_WITH_VUSB
|
---|
1044 | Drivers_SOURCES += \
|
---|
1045 | USB/DrvVUSBRootHub.cpp \
|
---|
1046 | USB/VUSBDevice.cpp \
|
---|
1047 | USB/VUSBReadAhead.cpp \
|
---|
1048 | USB/VUSBUrb.cpp
|
---|
1049 |
|
---|
1050 | endif # VBOX_WITH_VUSB
|
---|
1051 |
|
---|
1052 | ifdef VBOX_WITH_USB
|
---|
1053 | Drivers_DEFS += VBOX_WITH_USB
|
---|
1054 |
|
---|
1055 | Drivers_SOURCES += \
|
---|
1056 | USB/vrdp/USBProxyDevice-vrdp.cpp
|
---|
1057 |
|
---|
1058 | Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1059 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
1060 | Drivers_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
1061 | endif
|
---|
1062 | Drivers_SOURCES.darwin += \
|
---|
1063 | USB/USBProxyDevice.cpp \
|
---|
1064 | USB/darwin/USBProxyDevice-darwin.cpp
|
---|
1065 |
|
---|
1066 | Drivers_DEFS.linux += \
|
---|
1067 | VUSB_HAVE_USBPROXY_DEVICE \
|
---|
1068 | $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \
|
---|
1069 | $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
|
---|
1070 | Drivers_SOURCES.linux += \
|
---|
1071 | USB/USBProxyDevice.cpp \
|
---|
1072 | USB/linux/USBProxyDevice-linux.cpp
|
---|
1073 |
|
---|
1074 | Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1075 | Drivers_SOURCES.l4 += \
|
---|
1076 | USB/USBProxyDevice.cpp \
|
---|
1077 | USB/linux/USBProxyDevice-linux.cpp
|
---|
1078 |
|
---|
1079 | Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1080 | Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
1081 | Drivers_SOURCES.os2 += \
|
---|
1082 | USB/USBProxyDevice.cpp \
|
---|
1083 | USB/os2/USBProxyDevice-os2.cpp
|
---|
1084 |
|
---|
1085 | Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1086 | Drivers_SOURCES.win += \
|
---|
1087 | USB/USBProxyDevice.cpp \
|
---|
1088 | USB/win/USBProxyDevice-win.cpp
|
---|
1089 |
|
---|
1090 | Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1091 | Drivers_SOURCES.solaris += \
|
---|
1092 | USB/USBProxyDevice.cpp \
|
---|
1093 | USB/solaris/USBProxyDevice-solaris.cpp
|
---|
1094 |
|
---|
1095 | Drivers_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
|
---|
1096 | Drivers_SOURCES.freebsd += \
|
---|
1097 | USB/USBProxyDevice.cpp \
|
---|
1098 | USB/freebsd/USBProxyDevice-freebsd.cpp
|
---|
1099 |
|
---|
1100 | ifdef VBOX_WITH_SCSI
|
---|
1101 | Drivers_SOURCES += \
|
---|
1102 | Storage/UsbMsd.cpp
|
---|
1103 | endif
|
---|
1104 |
|
---|
1105 | endif # VBOX_WITH_USB
|
---|
1106 |
|
---|
1107 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
1108 | Drivers_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
1109 | endif #VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
1110 |
|
---|
1111 | ifdef VBOX_WITH_SCSI
|
---|
1112 | Drivers_DEFS += VBOX_WITH_SCSI
|
---|
1113 | Drivers_SOURCES += \
|
---|
1114 | Storage/DrvSCSI.cpp
|
---|
1115 | Drivers_SOURCES.linux += \
|
---|
1116 | Storage/DrvSCSIHost.cpp
|
---|
1117 | endif # VBOX_WITH_SCSI
|
---|
1118 |
|
---|
1119 | #
|
---|
1120 | # Ring-0 Services (library, linked into VMMR0.r0)
|
---|
1121 | #
|
---|
1122 | ServicesR0_TEMPLATE = VBoxR0
|
---|
1123 | ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
|
---|
1124 | ServicesR0_SOURCES = \
|
---|
1125 | Network/SrvIntNetR0.cpp
|
---|
1126 |
|
---|
1127 |
|
---|
1128 | #
|
---|
1129 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
1130 | #
|
---|
1131 | ifdef VBOX_WITH_TESTCASES
|
---|
1132 | PROGRAMS += tstIntNetR0
|
---|
1133 | tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
|
---|
1134 | tstIntNetR0_DEFS = IN_INTNET_R0
|
---|
1135 | tstIntNetR0_SOURCES = \
|
---|
1136 | Network/testcase/tstIntNetR0.cpp
|
---|
1137 | endif
|
---|
1138 |
|
---|
1139 | #
|
---|
1140 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
1141 | #
|
---|
1142 | ifdef VBOX_WITH_TESTCASES
|
---|
1143 | PROGRAMS += tstIntNet-1
|
---|
1144 | tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
|
---|
1145 | tstIntNet-1_SOURCES = \
|
---|
1146 | Network/testcase/tstIntNet-1.cpp \
|
---|
1147 | Network/Pcap.cpp
|
---|
1148 | endif
|
---|
1149 |
|
---|
1150 |
|
---|
1151 | #
|
---|
1152 | # EEPROM device unit test requires cppunit
|
---|
1153 | #
|
---|
1154 | ifdef VBOX_WITH_CPPUNIT_TESTCASES
|
---|
1155 | ifdef VBOX_WITH_E1000
|
---|
1156 | PROGRAMS += tstDevEEPROM
|
---|
1157 | tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
|
---|
1158 | tstDevEEPROM_SOURCES = \
|
---|
1159 | Network/testcase/tstDevEEPROM.cpp
|
---|
1160 | tstDevEEPROM_LIBS = \
|
---|
1161 | $(TARGET_DevicesR3)
|
---|
1162 | PROGRAMS += tstDevPhy
|
---|
1163 | tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
|
---|
1164 | tstDevPhy_SOURCES = \
|
---|
1165 | Network/testcase/tstDevPhy.cpp \
|
---|
1166 | Network/DevE1000Phy.cpp
|
---|
1167 | tstDevPhy_DEFS = PHY_UNIT_TEST
|
---|
1168 | endif
|
---|
1169 | endif
|
---|
1170 |
|
---|
1171 | endif # !VBOX_ONLY_EXTPACKS
|
---|
1172 |
|
---|
1173 | ifdef VBOX_WITH_EXTPACK_PUEL
|
---|
1174 | #
|
---|
1175 | # The EHCI (USB 2.0) Extension Pack Modules.
|
---|
1176 | #
|
---|
1177 | if defined(VBOX_WITH_USB)
|
---|
1178 | DLLS += VBoxEhciR3
|
---|
1179 | VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
|
---|
1180 | VBoxEhciR3_SOURCES = USB/DevEHCI.cpp
|
---|
1181 |
|
---|
1182 | SYSMODS += VBoxEhciR0
|
---|
1183 | VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
|
---|
1184 | VBoxEhciR0_SOURCES = USB/DevEHCI.cpp
|
---|
1185 |
|
---|
1186 | ifdef VBOX_WITH_RAW_MODE
|
---|
1187 | SYSMODS += VBoxEhciRC
|
---|
1188 | VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
|
---|
1189 | VBoxEhciRC_SOURCES = USB/DevEHCI.cpp
|
---|
1190 | endif
|
---|
1191 | endif
|
---|
1192 |
|
---|
1193 | #
|
---|
1194 | # The Intel PXE rom.
|
---|
1195 | #
|
---|
1196 | INSTALLS += VBoxExtPackPuelInsRoms
|
---|
1197 | VBoxExtPackPuelInsRoms_TEMPLATE = VBoxInsExtPackPuel
|
---|
1198 | VBoxExtPackPuelInsRoms_SOURCES = PC/PXE/PXE-Intel.rom=>PXE-Intel.rom
|
---|
1199 | endif # VBOX_WITH_EXTPACK_PUEL
|
---|
1200 |
|
---|
1201 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
1202 |
|
---|