VirtualBox

Ignore:
Timestamp:
Nov 10, 2008 8:25:38 PM (16 years ago)
Author:
vboxsync
Message:

Windows build fix; VBoxDD*R0/GC should not link against RuntimeR0/GC, but the VMM to avoid duplicate runtime code (some which can be really bad).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r13984 r14042  
    410410VBoxDDGC_LDFLAGS        = -Entry:vgaMMIOWrite
    411411endif
    412 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
     412if1of ($(VBOX_LDR_FMT32), pe lx)
    413413VBoxDDGC_LIBS           = \
    414414        $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
     
    473473VBoxDDR0_LDFLAGS        = -Entry:vgaMMIOWrite
    474474endif
    475 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
     475if1of ($(VBOX_LDR_FMT), pe lx)
    476476VBoxDDR0_LIBS           = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
    477 endif
    478 VBoxDDR0_LIBS          += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
    479 ifeq ($(VBOX_LDR_FMT32),elf) # this is template stuff!
    480 VBoxDDR0_LIBS          += $(VBOX_GCC_LIBGCC)
    481477endif
    482478
     
    495491VBoxDD2GC_LDFLAGS        = -Entry:apicMMIOWrite
    496492endif
    497 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
     493if1of ($(VBOX_LDR_FMT32), pe lx)
    498494VBoxDD2GC_LIBS           = \
    499495        $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
     
    515511VBoxDD2R0_LDFLAGS        = -Entry:apicMMIOWrite
    516512endif
    517 ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
     513if1of ($(VBOX_LDR_FMT), pe lx)
    518514VBoxDD2R0_LIBS           = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
    519 endif
    520 VBoxDD2R0_LIBS          += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
    521 ifeq ($(VBOX_LDR_FMT),elf)
    522 VBoxDD2R0_LIBS          += $(VBOX_GCC_LIBGCC)
    523515endif
    524516
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette