VirtualBox

Changeset 46474 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jun 10, 2013 4:02:12 PM (11 years ago)
Author:
vboxsync
Message:

VBoxDef2LazyLoad: Added tool for generating lazy loading of VBoxVMM.dll to prevent it being loaded into VBoxSVC and the VM selector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r46449 r46474  
    16371637 LIB_DDU         = $(PATH_STAGE_LIB)/VBoxDDU.lib
    16381638endif
     1639if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64)
     1640 VBOX_LIB_VMM_LAZY      = $(PATH_STAGE_LIB)/VMMR3LazyImp$(VBOX_SUFF_LIB)
     1641else
     1642 VBOX_LIB_VMM_LAZY      = $(LIB_VMM)
     1643endif
    16391644VBOX_LIB_SUPHARDENED    = $(PATH_STAGE_LIB)/SUPR3HardenedStatic$(VBOX_SUFF_LIB)
    16401645VBOX_LIB_RUNTIME_STATIC = $(PATH_STAGE_LIB)/RuntimeR3$(VBOX_SUFF_LIB)
     
    17301735# MakeAlternativeSource (for BIOSes)
    17311736VBOX_MAKE_ALTERNATIVE_SOURCE ?= $(PATH_OBJ)/MakeAlternativeSource/MakeAlternativeSource$(HOSTSUFF_EXE)
     1737
     1738# VBoxDef2LazyLoad (lazy dynamic library loader assembly generator)
     1739VBOX_DEF_2_LAZY_LOAD ?= $(PATH_OBJ)/VBoxDef2LazyLoad/VBoxDef2LazyLoad$(HOSTSUFF_EXE)
    17321740
    17331741# GNU tar if present.
     
    41254133 endif
    41264134 ifdef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
    4127   if1of ($(KBUILD_TARGET), win os2)
     4135  if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64)
     4136   TEMPLATE_VBoxR3ExtPack_LIBS = \
     4137        $(TEMPLATE_LIBS_VBOXR3) \
     4138        $(VBOX_LIB_VMM_LAZY) \
     4139        $(PATH_STAGE_LIB)/VBoxRTImp$(VBOX_SUFF_LIB)
     4140  else if1of ($(KBUILD_TARGET), win os2)
    41284141   TEMPLATE_VBoxR3ExtPack_LIBS = \
    41294142        $(TEMPLATE_LIBS_VBOXR3) \
     
    41404153        $(TEMPLATE_LIBS_VBOXR3) \
    41414154        $(LIB_RUNTIME) \
    4142         $(LIB_VMM)
     4155        $(VBOX_LIB_VMM_LAZY)
    41434156 endif
    41444157
     
    42884301        $(VBOX_LIBS_QT4) \
    42894302        $(LIB_RUNTIME) \
     4303        $(VBOX_LIB_VMM_LAZY) \
    42904304        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcprt.lib \
    42914305        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcrt.lib \
     
    43324346        $(LIB_SDL) \
    43334347        $(LIB_RUNTIME) \
    4334         $(LIB_REM) \
    4335         $(LIB_VMM)
     4348        $(if-expr "$(LIB_VMM)" == "$(VBOX_LIB_VMM_LAZY)",$(LIB_REM),) \
     4349        $(VBOX_LIB_VMM_LAZY)
    43364350
    43374351  ifeq ($(KBUILD_TARGET),linux)
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