Changeset 40519 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 18, 2012 4:45:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r40517 r40519 37 37 # Main targets. 38 38 # 39 LIBRARIES += D evicesR3 Drivers ServicesR039 LIBRARIES += Drivers ServicesR0 40 40 DLLS += VBoxDDU VBoxDD VBoxDD2 41 41 SYSMODS += VBoxDDR0 VBoxDD2R0 … … 120 120 VBoxDD_INCS = build 121 121 VBoxDD_SOURCES = \ 122 build/VBoxDD.cpp 123 VBoxDD_DEFS = VBOX_ACPI 124 ifdef VBOX_WITH_USB 125 VBoxDD_DEFS += VBOX_WITH_USB 126 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 127 VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL 128 endif 129 endif 130 ifdef VBOX_WITH_VUSB 131 VBoxDD_DEFS += VBOX_WITH_VUSB 132 endif 133 ifdef VBOX_WITH_AHCI 134 VBoxDD_DEFS += VBOX_WITH_AHCI 135 endif 136 ifdef VBOX_WITH_INIP 137 VBoxDD_DEFS += VBOX_WITH_INIP 138 endif 139 ifdef VBOX_WITH_E1000 140 VBoxDD_DEFS += VBOX_WITH_E1000 141 endif 142 ifdef VBOX_WITH_VIRTIO 143 VBoxDD_DEFS += VBOX_WITH_VIRTIO 144 endif 145 ifdef VBOX_WITH_BUSLOGIC 146 VBoxDD_DEFS += VBOX_WITH_BUSLOGIC 147 endif 148 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 149 VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION 150 endif 151 ifdef VBOX_WITH_SCSI 152 VBoxDD_DEFS += VBOX_WITH_SCSI 153 endif 154 ifdef VBOX_WITH_LSILOGIC 155 VBoxDD_DEFS += VBOX_WITH_LSILOGIC 156 endif 157 ifdef VBOX_WITH_EFI 158 VBoxDD_DEFS += VBOX_WITH_EFI 159 endif 160 ifdef VBOX_WITH_DRV_DISK_INTEGRITY 161 VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY 162 endif 163 ifdef VBOX_WITH_UDPTUNNEL 164 VBoxDD_DEFS += VBOX_WITH_UDPTUNNEL 165 endif 166 ifdef VBOX_WITH_VDE 167 VBoxDD_DEFS += VBOX_WITH_VDE 168 endif 169 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 170 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL 171 endif 172 173 VBoxDD_LIBS = \ 174 $(PATH_STAGE_LIB)/DevicesR3$(VBOX_SUFF_LIB) \ 175 $(PATH_STAGE_LIB)/Drivers$(VBOX_SUFF_LIB) \ 176 $(PATH_STAGE_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \ 177 $(LIB_VMM) \ 178 $(LIB_RUNTIME) 179 ifeq ($(KBUILD_TARGET),win) 180 VBoxDD_LIBS += \ 181 $(LIB_DDU) \ 182 $(PATH_STAGE_LIB)/VBoxDD2.lib \ 183 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 184 else 185 VBoxDD_LIBS += \ 186 $(VBoxDDU_1_STAGE_TARGET) \ 187 $(VBoxDD2_1_STAGE_TARGET) 188 endif 189 ifeq ($(KBUILD_TARGET),l4) 190 VBoxDD_LIBS += \ 191 $(L4_LIBDIR)/libl4sys.p.a 192 endif 193 194 ifdef VBOX_WITH_HGSMI 195 VBoxDD_LIBS += \ 196 $(PATH_STAGE_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB) 197 endif 198 199 ifdef VBOX_WITH_NETFLT 200 VBoxDD_LIBS.win += $(PATH_STAGE_LIB)/WinNetConfig.lib 201 endif 202 203 ifdef VBOX_WITH_EFI 204 VBoxDD_LIBS += $(PATH_STAGE_LIB)/EfiThunkBin$(VBOX_SUFF_LIB) 205 endif 206 207 ifeq ($(KBUILD_TARGET),solaris) 208 VBoxDD_LIBS += adm 209 ifdef VBOX_WITH_SUID_WRAPPER 210 VBoxDD_LIBS += secdb 211 endif 212 ifdef VBOX_WITH_USB 213 VBoxDD_LIBS += aio 214 endif 215 endif 216 217 VBoxDD_LIBS.darwin += \ 218 $(LIB_REM) 219 220 VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \ 221 -framework CoreAudio \ 222 -framework AudioUnit \ 223 -framework AudioToolbox \ 224 -framework IOKit \ 225 -framework Carbon \ 226 -framework DiskArbitration 227 VBoxDD_LDFLAGS.linux = -Wl,--no-undefined 228 VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined 229 230 ifdef VBOX_WITH_DTRACE_R3 231 VBoxDD_USES += dtrace 232 VBoxDD_SOURCES += build/VBoxDD.d 233 endif 234 235 236 # 237 # VBoxDD2 (shared object) 238 # 239 VBoxDD2_TEMPLATE = VBoxR3DllWarnNoPic 240 VBoxDD2_DEFS = IN_VBOXDD2 241 VBoxDD2_INCS := \ 242 build \ 243 $(PATH_SUB_CURRENT) 244 VBoxDD2_SOURCES = \ 245 build/VBoxDD2.cpp \ 246 PC/DevAPIC.cpp \ 247 PC/DevIoApic.cpp \ 248 PC/DevSMC.cpp \ 249 PC/DevLPC.cpp 250 VBoxDD2_LIBS = \ 251 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \ 252 $(PATH_STAGE_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \ 253 $(if $(VBOX_WITH_PXE_ROM),$(PATH_STAGE_LIB)/NetBiosBin$(VBOX_SUFF_LIB),) \ 254 $(LIB_VMM) \ 255 $(LIB_RUNTIME) 256 ifeq ($(KBUILD_TARGET),l4) 257 VBoxDD2_LIBS += \ 258 $(L4_LIBDIR)/libl4sys.p.a 259 endif 260 VBoxDD2_LIBS.darwin += $(LIB_REM) 261 VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib 262 VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined 263 VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined 264 265 ifdef VBOX_WITH_PXE_ROM 266 VBoxDD2_DEFS += VBOX_WITH_PXE_ROM 267 endif 268 269 # 270 # DevicesR3 (library) 271 # 272 DevicesR3_TEMPLATE = VBoxR3DllWarnNoPic 273 DevicesR3_SDKS.win = WINPSDK W2K3DDK 274 DevicesR3_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE 275 DevicesR3_DEFS += \ 276 VBOX_HGCM_HOST_CODE \ 277 VBOX_WITH_HGCM \ 278 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \ 279 VBOX_WITH_DMI_CHASSIS \ 280 VBOX_WITH_DMI_OEMSTRINGS 281 282 DevicesR3_DEFS.linux += _GNU_SOURCE 283 DevicesR3_DEFS.l4 += _GNU_SOURCE 284 285 DevicesR3_INCS = \ 286 build 287 288 DevicesR3_SOURCES = \ 122 build/VBoxDD.cpp \ 289 123 Input/DevPS2.cpp \ 290 124 Input/PS2K.cpp \ … … 321 155 Parallel/DevParallel.cpp 322 156 323 ifdef VBOX_WITH_E1000 324 DevicesR3_DEFS += VBOX_WITH_E1000 325 DevicesR3_SOURCES += \ 326 Network/DevE1000.cpp \ 327 Network/DevE1000Phy.cpp \ 328 Network/DevEEPROM.cpp 329 endif 330 331 ifdef VBOX_WITH_VIRTIO 332 DevicesR3_DEFS += VBOX_WITH_VIRTIO 333 DevicesR3_SOURCES += \ 334 VirtIO/Virtio.cpp \ 335 Network/DevVirtioNet.cpp 336 endif 337 338 ifdef VBOX_WITH_HGSMI 339 DevicesR3_DEFS += VBOX_WITH_HGSMI 340 DevicesR3_SOURCES += \ 341 Graphics/DevVGA_VBVA.cpp \ 342 Graphics/HGSMI/HGSMIHost.cpp \ 343 Graphics/HGSMI/HGSMIHostHlp.cpp 344 345 endif 346 ifdef VBOX_WITH_WDDM 347 DevicesR3_DEFS += VBOX_WITH_WDDM 348 DevicesR3_SOURCES += \ 349 Graphics/HGSMI/SHGSMIHost.cpp 350 endif 351 ifdef VBOX_WITH_VDMA 352 DevicesR3_DEFS += VBOX_WITH_VDMA 353 DevicesR3_SOURCES += \ 354 Graphics/DevVGA_VDMA.cpp 355 endif 157 VBoxDD_DEFS = \ 158 VBOX_ACPI \ 159 VBOX_HGCM_HOST_CODE \ 160 VBOX_WITH_HGCM \ 161 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) 162 VBoxDD_DEFS += \ 163 VBOX_WITH_DMI_CHASSIS \ 164 VBOX_WITH_DMI_OEMSTRINGS # why was these here and then again further down?? 165 166 VBoxDD_LIBS = # more later. 167 168 VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \ 169 -framework CoreAudio \ 170 -framework AudioUnit \ 171 -framework AudioToolbox \ 172 -framework IOKit \ 173 -framework Carbon \ 174 -framework DiskArbitration 175 VBoxDD_LDFLAGS.linux = -Wl,--no-undefined 176 VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined 177 178 179 # Optional bits and pieces. 180 356 181 ifdef VBOX_WITH_CRHGSMI 357 DevicesR3_DEFS+= VBOX_WITH_CRHGSMI182 VBoxDD_DEFS += VBOX_WITH_CRHGSMI 358 183 endif 359 184 ifdef VBOXWDDM_TEST_UHGSMI 360 DevicesR3_DEFS+= VBOXWDDM_TEST_UHGSMI185 VBoxDD_DEFS += VBOXWDDM_TEST_UHGSMI 361 186 endif 362 187 ifdef VBOXWDDM_WITH_VBVA 363 DevicesR3_DEFS+= VBOXWDDM_WITH_VBVA188 VBoxDD_DEFS += VBOXWDDM_WITH_VBVA 364 189 endif 365 190 ifdef VBOX_WITH_VIDEOHWACCEL 366 DevicesR3_DEFS+= VBOX_WITH_VIDEOHWACCEL367 endif 368 ifdef VBOX_WITH_DMI_CHASSIS369 DevicesR3_DEFS += VBOX_WITH_DMI_CHASSIS370 endif371 ifdef VBOX_WITH_DMI_OEMSTRINGS372 DevicesR3_DEFS += VBOX_WITH_DMI_OEMSTRINGS373 endif191 VBoxDD_DEFS += VBOX_WITH_VIDEOHWACCEL 192 endif 193 #ifdef VBOX_WITH_DMI_CHASSIS 194 # VBoxDD_DEFS += VBOX_WITH_DMI_CHASSIS # this is always defined above... 195 #endif 196 #ifdef VBOX_WITH_DMI_OEMSTRINGS 197 # VBoxDD_DEFS += VBOX_WITH_DMI_OEMSTRINGS # this is always defined above... 198 #endif 374 199 ifdef VBOX_WITH_PXE_ROM 375 DevicesR3_DEFS += VBOX_WITH_PXE_ROM 200 VBoxDD_DEFS += VBOX_WITH_PXE_ROM 201 endif 202 203 ifdef VBOX_WITH_USB 204 VBoxDD_DEFS += VBOX_WITH_USB 205 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 206 VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL 207 endif 208 VBoxDD_DEFS += VBOX_WITH_USB 209 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 210 VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL 211 VBoxDD_SOURCES += \ 212 USB/DevEHCI.cpp 213 endif 214 endif 215 216 ifdef VBOX_WITH_VUSB 217 VBoxDD_DEFS += VBOX_WITH_VUSB 218 VBoxDD_SOURCES += \ 219 USB/DevOHCI.cpp 220 endif 221 222 ifdef VBOX_WITH_AHCI 223 VBoxDD_DEFS += VBOX_WITH_AHCI IN_AHCI_R3 224 VBoxDD_SOURCES += \ 225 Storage/DevAHCI.cpp \ 226 Storage/ATAController.cpp 376 227 endif 377 228 378 229 ifdef VBOX_WITH_INIP 379 DevicesR3_INCS += \ 230 VBoxDD_DEFS += VBOX_WITH_INIP 231 VBoxDD_INCS += \ 380 232 Network/lwip/src/include \ 381 233 Network/lwip/src/include/ipv4 \ 382 234 Network/lwip/vbox/include 383 DevicesR3_SOURCES+= \235 VBoxDD_SOURCES += \ 384 236 Network/lwip/src/api/api_lib.c \ 385 237 Network/lwip/src/api/api_msg.c \ … … 407 259 Network/lwip/vbox/sys_arch.c \ 408 260 Network/DevINIP.cpp 409 DevicesR3_DEFS += VBOX_WITH_INIP 410 endif 411 412 ifdef VBOX_WITH_AHCI 413 DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3 414 DevicesR3_SOURCES += \ 415 Storage/DevAHCI.cpp \ 416 Storage/ATAController.cpp 261 endif 262 263 ifdef VBOX_WITH_E1000 264 VBoxDD_DEFS += VBOX_WITH_E1000 265 VBoxDD_SOURCES += \ 266 Network/DevE1000.cpp \ 267 Network/DevE1000Phy.cpp \ 268 Network/DevEEPROM.cpp 269 endif 270 271 ifdef VBOX_WITH_VIRTIO 272 VBoxDD_DEFS += VBOX_WITH_VIRTIO 273 VBoxDD_SOURCES += \ 274 VirtIO/Virtio.cpp \ 275 Network/DevVirtioNet.cpp 417 276 endif 418 277 419 278 ifdef VBOX_WITH_BUSLOGIC 420 DevicesR3_DEFS+= VBOX_WITH_BUSLOGIC421 DevicesR3_SOURCES+= \279 VBoxDD_DEFS += VBOX_WITH_BUSLOGIC 280 VBoxDD_SOURCES += \ 422 281 Storage/DevBusLogic.cpp \ 423 282 Storage/VBoxSCSI.cpp 424 283 endif 425 284 285 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 286 VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION 287 endif 288 ifdef VBOX_WITH_SCSI 289 VBoxDD_DEFS += VBOX_WITH_SCSI 290 endif 291 426 292 ifdef VBOX_WITH_LSILOGIC 427 DevicesR3_DEFS+= VBOX_WITH_LSILOGIC428 DevicesR3_SOURCES+= \293 VBoxDD_DEFS += VBOX_WITH_LSILOGIC 294 VBoxDD_SOURCES += \ 429 295 Storage/DevLsiLogicSCSI.cpp 430 296 endif 431 297 432 298 ifdef VBOX_WITH_EFI 433 DevicesR3_DEFS += VBOX_WITH_EFI 299 VBoxDD_DEFS += VBOX_WITH_EFI 300 VBoxDD_LIBS += $(PATH_STAGE_LIB)/EfiThunkBin$(VBOX_SUFF_LIB) 434 301 ifdef VBOX_WITH_ALT_EFITHUNK 435 DevicesR3_DEFS+= VBOX_WITH_ALT_EFITHUNK436 endif 437 DevicesR3_SOURCES+= EFI/DevEFI.cpp302 VBoxDD_DEFS += VBOX_WITH_ALT_EFITHUNK 303 endif 304 VBoxDD_SOURCES += EFI/DevEFI.cpp 438 305 EFI/DevEFI.cpp_INCS += EFI/tools/include 439 306 EFI/DevEFI.cpp_INCS.x86 += EFI/tools/include/Ia32 … … 441 308 endif 442 309 310 ifdef VBOX_WITH_DRV_DISK_INTEGRITY 311 VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY 312 endif 313 ifdef VBOX_WITH_UDPTUNNEL 314 VBoxDD_DEFS += VBOX_WITH_UDPTUNNEL 315 endif 316 ifdef VBOX_WITH_VDE 317 VBoxDD_DEFS += VBOX_WITH_VDE 318 endif 319 320 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 321 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL 322 VBoxDD_SOURCES += \ 323 Bus/DevPciRaw.cpp 324 endif 325 326 ifdef VBOX_WITH_HGSMI 327 VBoxDD_DEFS += VBOX_WITH_HGSMI 328 VBoxDD_SOURCES += \ 329 Graphics/DevVGA_VBVA.cpp \ 330 Graphics/HGSMI/HGSMIHost.cpp \ 331 Graphics/HGSMI/HGSMIHostHlp.cpp 332 VBoxDD_LIBS += \ 333 $(PATH_STAGE_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB) 334 endif 335 336 ifdef VBOX_WITH_WDDM 337 VBoxDD_DEFS += VBOX_WITH_WDDM 338 VBoxDD_SOURCES += \ 339 Graphics/HGSMI/SHGSMIHost.cpp 340 endif 341 342 ifdef VBOX_WITH_VDMA 343 VBoxDD_DEFS += VBOX_WITH_VDMA 344 VBoxDD_SOURCES += \ 345 Graphics/DevVGA_VDMA.cpp 346 endif 347 443 348 ifdef VBOX_WITH_MSI_DEVICES 444 DevicesR3_DEFS+= VBOX_WITH_MSI_DEVICES349 VBoxDD_DEFS += VBOX_WITH_MSI_DEVICES 445 350 endif 446 351 447 352 ifdef VBOX_WITH_DYNAMIC_DSDT 448 DevicesR3_DEFS += VBOX_WITH_DYNAMIC_DSDT 449 endif 450 451 ifdef VBOX_WITH_VUSB 452 DevicesR3_DEFS += VBOX_WITH_VUSB 453 DevicesR3_SOURCES += \ 454 USB/DevOHCI.cpp 455 endif 456 ifdef VBOX_WITH_USB 457 DevicesR3_DEFS += VBOX_WITH_USB 458 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 459 DevicesR3_DEFS += VBOX_WITH_EHCI_IMPL 460 DevicesR3_SOURCES += \ 461 USB/DevEHCI.cpp 462 endif 463 endif 464 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 465 DevicesR3_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL 466 DevicesR3_SOURCES += \ 467 Bus/DevPciRaw.cpp 468 353 VBoxDD_DEFS += VBOX_WITH_DYNAMIC_DSDT 469 354 endif 470 355 471 356 ifdef VBOX_WITH_DTRACE_R3 472 DevicesR3_DEFS += VBOX_WITH_DTRACE 473 DevicesR3_USES += dtrace 474 DevicesR3_SOURCES += build/VBoxDD.d 475 endif 357 VBoxDD_DEFS += VBOX_WITH_DTRACE 358 VBoxDD_USES += dtrace 359 VBoxDD_SOURCES += build/VBoxDD.d 360 endif 361 362 363 VBoxDD_LIBS += \ 364 $(PATH_STAGE_LIB)/Drivers$(VBOX_SUFF_LIB) \ 365 $(PATH_STAGE_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \ 366 $(LIB_VMM) \ 367 $(LIB_RUNTIME) 368 ifeq ($(KBUILD_TARGET),win) 369 VBoxDD_LIBS += \ 370 $(LIB_DDU) \ 371 $(PATH_STAGE_LIB)/VBoxDD2.lib \ 372 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 373 else 374 VBoxDD_LIBS += \ 375 $(VBoxDDU_1_STAGE_TARGET) \ 376 $(VBoxDD2_1_STAGE_TARGET) 377 endif 378 ifeq ($(KBUILD_TARGET),l4) 379 VBoxDD_LIBS += \ 380 $(L4_LIBDIR)/libl4sys.p.a 381 endif 382 383 ifdef VBOX_WITH_NETFLT 384 VBoxDD_LIBS.win += $(PATH_STAGE_LIB)/WinNetConfig.lib 385 endif 386 387 ifeq ($(KBUILD_TARGET),solaris) 388 VBoxDD_LIBS += adm 389 ifdef VBOX_WITH_SUID_WRAPPER 390 VBoxDD_LIBS += secdb 391 endif 392 ifdef VBOX_WITH_USB 393 VBoxDD_LIBS += aio 394 endif 395 endif 396 397 VBoxDD_LIBS.darwin += \ 398 $(LIB_REM) 399 476 400 477 401 ifdef VBOX_WITH_DYNAMIC_DSDT 478 DevicesR3_CLEAN += $(DevicesR3_0_OUTDIR)/vboxdsl.hex479 PC/ACPI/VBoxAcpi.cpp_DEPS = $( DevicesR3_0_OUTDIR)/vboxdsl.hex480 481 $$( DevicesR3_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)482 $(call MSG_TOOL,bin2c, DevicesR3,$<,$@)402 VBoxDD_CLEAN += $(VBoxDD_0_OUTDIR)/vboxdsl.hex 403 PC/ACPI/VBoxAcpi.cpp_DEPS = $(VBoxDD_0_OUTDIR)/vboxdsl.hex 404 405 $$(VBoxDD_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@) 406 $(call MSG_TOOL,bin2c,VBoxDD,$<,$@) 483 407 $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@ 484 408 485 vboxdsl.hex:: $$( DevicesR3_0_OUTDIR)/vboxdsl.hex409 vboxdsl.hex:: $$(VBoxDD_0_OUTDIR)/vboxdsl.hex 486 410 487 411 else # !VBOX_WITH_DYNAMIC_DSDT 488 412 # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl 489 DevicesR3_CLEAN += \490 $( DevicesR3_0_OUTDIR)/vboxaml.hex \491 $( DevicesR3_0_OUTDIR)/vboxaml.aml \492 $( DevicesR3_0_OUTDIR)/vboxssdt-standard.hex \493 $( DevicesR3_0_OUTDIR)/vboxssdt-standard.aml \494 $( DevicesR3_0_OUTDIR)/vboxssdt-standard.aml.tmp \495 $( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex \496 $( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml \497 $( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml.tmp \498 $( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.aml.pre413 VBoxDD_CLEAN += \ 414 $(VBoxDD_0_OUTDIR)/vboxaml.hex \ 415 $(VBoxDD_0_OUTDIR)/vboxaml.aml \ 416 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \ 417 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml \ 418 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml.tmp \ 419 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex \ 420 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml \ 421 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.tmp \ 422 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.pre 499 423 PC/ACPI/VBoxAcpi.cpp_DEPS = \ 500 $( DevicesR3_0_OUTDIR)/vboxaml.hex \501 $( DevicesR3_0_OUTDIR)/vboxssdt-standard.hex \502 $( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex503 504 $$( DevicesR3_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)505 $(call MSG_TOOL,iasl, DevicesR3,$<,$@)424 $(VBoxDD_0_OUTDIR)/vboxaml.hex \ 425 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \ 426 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex 427 428 $$(VBoxDD_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@) 429 $(call MSG_TOOL,iasl,VBoxDD,$<,$@) 506 430 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $< 507 431 508 vboxaml.hex:: $$( DevicesR3_0_OUTDIR)/vboxaml.hex509 510 $$( DevicesR3_0_OUTDIR)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)511 $(call MSG_TOOL,iasl, DevicesR3,$<,$@)432 vboxaml.hex:: $$(VBoxDD_0_OUTDIR)/vboxaml.hex 433 434 $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@) 435 $(call MSG_TOOL,iasl,VBoxDD,$<,$@) 512 436 $(QUIET)$(RM) -f $@ [email protected] 513 437 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $< … … 518 442 519 443 520 vboxssdt-standard.hex:: $$( DevicesR3_0_OUTDIR)/vboxssdt-standard.hex521 522 $$( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)523 $(call MSG_TOOL,iasl, DevicesR3,$<,$@)444 vboxssdt-standard.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex 445 446 $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@) 447 $(call MSG_TOOL,iasl,VBoxDD,$<,$@) 524 448 $(QUIET)$(RM) -f $@ [email protected] [email protected] 525 449 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o [email protected] $< … … 531 455 532 456 533 vboxssdt-cpuhotplug.hex:: $$( DevicesR3_0_OUTDIR)/vboxssdt-cpuhotplug.hex457 vboxssdt-cpuhotplug.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex 534 458 535 459 endif # !VBOX_WITH_DYNAMIC_DSDT 536 PC/ACPI/VBoxAcpi.cpp_INCS = $( DevicesR3_0_OUTDIR)460 PC/ACPI/VBoxAcpi.cpp_INCS = $(VBoxDD_0_OUTDIR) 537 461 538 462 # For finding PCIInternal.h from VBox/pci.h. … … 652 576 endif 653 577 endif # VBOX_WITH_RAW_MODE 578 579 580 # 581 # VBoxDD2 (shared object) 582 # 583 VBoxDD2_TEMPLATE = VBoxR3DllWarnNoPic 584 VBoxDD2_DEFS = IN_VBOXDD2 585 VBoxDD2_INCS := \ 586 build \ 587 $(PATH_SUB_CURRENT) 588 VBoxDD2_SOURCES = \ 589 build/VBoxDD2.cpp \ 590 PC/DevAPIC.cpp \ 591 PC/DevIoApic.cpp \ 592 PC/DevSMC.cpp \ 593 PC/DevLPC.cpp 594 VBoxDD2_LIBS = \ 595 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \ 596 $(PATH_STAGE_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \ 597 $(if $(VBOX_WITH_PXE_ROM),$(PATH_STAGE_LIB)/NetBiosBin$(VBOX_SUFF_LIB),) \ 598 $(LIB_VMM) \ 599 $(LIB_RUNTIME) 600 ifeq ($(KBUILD_TARGET),l4) 601 VBoxDD2_LIBS += \ 602 $(L4_LIBDIR)/libl4sys.p.a 603 endif 604 VBoxDD2_LIBS.darwin += $(LIB_REM) 605 VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib 606 VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined 607 VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined 608 609 ifdef VBOX_WITH_PXE_ROM 610 VBoxDD2_DEFS += VBOX_WITH_PXE_ROM 611 endif 654 612 655 613 … … 1203 1161 Network/testcase/tstDevEEPROM.cpp 1204 1162 tstDevEEPROM_LIBS = \ 1205 $(TARGET_ DevicesR3)1163 $(TARGET_VBoxDD) 1206 1164 PROGRAMS += tstDevPhy 1207 1165 tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
Note:
See TracChangeset
for help on using the changeset viewer.