VirtualBox

Changeset 92221 in vbox for trunk


Ignore:
Timestamp:
Nov 4, 2021 7:29:24 PM (3 years ago)
Author:
vboxsync
Message:

VMM: Makefile changes for the NEM Apple backend, bugref:9044

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r91976 r92221  
    6868endif
    6969ifdef VBOX_WITH_NATIVE_NEM
    70  if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64)
     70 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64 darwin.amd64)
    7171  VMM_COMMON_DEFS += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
    7272  ifdef VBOX_WITH_PGM_NEM_MODE
  • trunk/src/VBox/VMM/Makefile.kmk

    r91952 r92221  
    236236        $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/um \
    237237        $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/shared
     238
     239VBoxVMM_SOURCES.darwin.amd64 += \
     240        VMMR3/NEMR3Native-darwin.cpp
     241VBoxVMM_DEFS.darwin.amd64    += VBOX_WITH_NATIVE_NEM
     242VMMR3/NEMR3Native-darwin.cpp_CXXFLAGS = \
     243        -F$(VBOX_PATH_MACOSX_SDK)/System/Library/Frameworks
     244VMMR3/NEMR3Native-darwin.cpp_INCS = \
     245        $(VBOX_PATH_MACOSX_SDK)/System/Library/Frameworks/Kernel.framework/Headers
     246VBoxVMM_LDFLAGS.darwin.amd64 += \
     247        -F$(VBOX_PATH_MACOSX_SDK)/System/Library/Frameworks \
     248        -framework Hypervisor
    238249endif
    239250
     
    581592VMMR0_DEFS.win.amd64    += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
    582593VMMR0/NEMR0Native-win.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK)INCS
     594
     595VMMR0_SOURCES.darwin.amd64 += \
     596        VMMR0/NEMR0Native-stubs.cpp
     597VMMR0_DEFS.darwin.amd64    += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
    583598 endif
    584599
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