VirtualBox

Changeset 104679 in vbox


Ignore:
Timestamp:
May 16, 2024 11:42:15 AM (7 months ago)
Author:
vboxsync
Message:

Main/Makefile.kmk: Some preliminary win.arm64 support, bugref:10392

File:
1 edited

Legend:

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

    r103332 r104679  
    10131013 VBoxC_DEFS.win.x86 += _WIN32_WINNT=0x0500
    10141014 VBoxC_DEFS.win.amd64 += _WIN32_WINNT=0x0510
     1015 VBoxC_DEFS.win.arm64 += _WIN32_WINNT=0x0510
    10151016
    10161017 if $(KBUILD_TARGET) != "win" && $(VBOX_GCC_VERSION_CXX) >= 40900 # gcc 4.9.x (4.8.x is causing endless RT_ELEMENT trouble)
     
    14011402 VBoxCOM_DEFS.x86      = _WIN32_WINNT=0x0500
    14021403 VBoxCOM_DEFS.amd64    = _WIN32_WINNT=0x0510
     1404 VBoxCOM_DEFS.arm64    = _WIN32_WINNT=0x0510
    14031405 VBoxCOM_SOURCES      += \
    14041406        $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
     
    15131515  VBoxProxyStub_DEFS   += VBOX_WITH_SDS_CLIENT_WATCHER,)
    15141516 endif
    1515  VBoxProxyStub_DEFS.win.x86 = WIN32
     1517 VBoxProxyStub_DEFS.win.x86   = WIN32
     1518 VBoxProxyStub_DEFS.win.arm64 = WIN32
    15161519 VBoxProxyStub_SDKS     = VBoxNtDll
    15171520 VBoxProxyStub_DEFPATH  = $(VBoxCOM_0_OUTDIR)/# Hack to workaround drive letter in $(VBoxCOM_0_OUTDIR)/ for CFLAGS hack below.
     
    15261529 VBoxProxyStub_VirtualBox_p.c_CFLAGS.x86 = /Gz # Workaround for incorrect ObjectStublessClient* prototypes in SDK v7.1.
    15271530
    1528  DLLS += VBoxProxyStubLegacy
    1529  VBoxProxyStubLegacy_TEMPLATE = VBoxMainComp
    1530  VBoxProxyStubLegacy_EXTENDS  = VBoxProxyStub
    1531  VBoxProxyStubLegacy_DEFS     = $(VBoxProxyStub_DEFS) VBOX_IN_PROXY_STUB_LEGACY
    1532  VBoxProxyStubLegacy_INCS     = $(VBoxCOM_0_OUTDIR)/legacy/
    1533  VBoxProxyStubLegacy_SOURCES  = \
    1534         $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_p.c \
    1535         $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_i.c \
    1536         src-all/win/VBoxProxyStub.def \
    1537         src-all/win/VBoxProxyStubLegacy.rc \
    1538         src-all/win/VBoxProxyStub.c
    1539  src-all/win/VBoxProxyStubLegacy.rc_DEPS = $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox.tlb
     1531 ifn1of ($(KBUILD_TARGET_ARCH),arm64)
     1532  DLLS += VBoxProxyStubLegacy
     1533  VBoxProxyStubLegacy_TEMPLATE = VBoxMainComp
     1534  VBoxProxyStubLegacy_EXTENDS  = VBoxProxyStub
     1535  VBoxProxyStubLegacy_DEFS     = $(VBoxProxyStub_DEFS) VBOX_IN_PROXY_STUB_LEGACY
     1536  VBoxProxyStubLegacy_INCS     = $(VBoxCOM_0_OUTDIR)/legacy/
     1537  VBoxProxyStubLegacy_SOURCES  = \
     1538        $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_p.c \
     1539        $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox_i.c \
     1540        src-all/win/VBoxProxyStub.def \
     1541        src-all/win/VBoxProxyStubLegacy.rc \
     1542        src-all/win/VBoxProxyStub.c
     1543  src-all/win/VBoxProxyStubLegacy.rc_DEPS = $(VBoxCOM_0_OUTDIR)/legacy/VirtualBox.tlb
     1544 endif
    15401545
    15411546 ifdef VBOX_WITH_32_ON_64_MAIN_API
     
    16841689        $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
    16851690        $(VBOX_MIDL_REDIRECT) $(VBOX_WIN_MIDL) /nologo /W4 \
    1686                 /env $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.amd64" ,amd64,win32) \
     1691                /env $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.amd64" ,amd64,$(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.arm64" ,arm64,win32)) \
    16871692                /robust /protocol all /target $(if-expr defined(VBOX_WITH_MIDL_PROXY_STUB),NT61,NT51) \
    16881693                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxCOM_0_OUTDIR)) \
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