VirtualBox

Changeset 106894 in vbox for trunk/src/VBox/VMM/Makefile.kmk


Ignore:
Timestamp:
Nov 8, 2024 3:54:02 PM (2 months ago)
Author:
vboxsync
Message:

VMM: Only the ring-0 import lib is needed in only-builds (e.g. extpack), since the VBoxVMM can have multiple variants is accessed via a function table. VBP-1447

File:
1 edited

Legend:

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

    r106743 r106894  
    3535
    3636# Include sub-makefiles.
    37 ifndef VBOX_ONLY_EXTPACKS
     37ifndef VBOX_ONLY_BUILD
    3838 include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
    3939 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
     
    5656# The VMM DLL.
    5757#
    58 ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
     58ifndef VBOX_ONLY_BUILD
    5959 DLLS += VBoxVMM
    6060endif
     
    382382 # The VMM DLL - ARMv8 variant.
    383383 #
    384  ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
     384 ifndef VBOX_ONLY_BUILD
    385385  DLLS += VBoxVMMArm
    386386 endif
     
    769769endif # VBOX_WITH_IEM_RECOMPILER
    770770
    771 if "$(KBUILD_TARGET)" == "win" && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS)
     771if "$(KBUILD_TARGET)" == "win" && !defined(VBOX_ONLY_BUILD)
    772772 #
    773773 # Debug type info hack for VMCPU, VM and similar.
     
    826826
    827827
    828 #
    829 # VMMR3Imp.lib
    830 #
    831 IMPORT_LIBS += VMMR3Imp
    832 $(call VBOX_GENERATE_IMPORT_TARGET_FN,VMMR3Imp,VBoxVMM,VMMR3/VMMR3.def)
     828##
     829## VMMR3Imp.lib - obsolete.
     830##
     831#IMPORT_LIBS += VMMR3Imp
     832#$(call VBOX_GENERATE_IMPORT_TARGET_FN,VMMR3Imp,VBoxVMM,VMMR3/VMMR3.def)
    833833
    834834
     
    836836# VMMR0.r0
    837837#
    838 if defined(VBOX_WITH_R0_MODULES) && !defined(VBOX_ONLY_EXTPACKS)
     838if defined(VBOX_WITH_R0_MODULES) && !defined(VBOX_ONLY_BUILD)
    839839 ifdef VBOX_WITH_VBOXR0_AS_DLL
    840840  DLLS    += VMMR0
     
    10341034 endif
    10351035
    1036 endif # defined(VBOX_WITH_R0_MODULES) && !defined(VBOX_ONLY_EXTPACKS)
    1037 
    1038 
    1039 
    1040 ifndef VBOX_ONLY_EXTPACKS
     1036endif # defined(VBOX_WITH_R0_MODULES) && !defined(VBOX_ONLY_BUILD)
     1037
     1038
     1039
     1040ifndef VBOX_ONLY_BUILD
    10411041 #
    10421042 # SSMStandalone.lib/a for linking with VBoxSVC and other executables.
     
    10491049        VMMR3/SSM.cpp \
    10501050        VMMR3/CPUMR3Db.cpp
    1051 endif # !VBOX_ONLY_EXTPACKS
    1052 
    1053 
    1054 if   !defined(VBOX_ONLY_EXTPACKS) \
     1051endif # !VBOX_ONLY_BUILD
     1052
     1053
     1054if   !defined(VBOX_ONLY_BUILD) \
    10551055  && (   defined(VBOX_WITH_DTRACE_R3) \
    10561056      || defined(VBOX_WITH_DTRACE_R0) \
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