VirtualBox

Changeset 106643 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 24, 2024 6:31:48 AM (4 months ago)
Author:
vboxsync
Message:

HostDrivers/USB/win: Made them build for win.arm64. jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/Makefile.kmk

    r106061 r106643  
    6565 VBoxUSB_DEFS      := IN_RT_R0 IN_SUP_R0 VBOX_DBG_LOG_NAME=\"USBDev\"
    6666endif
    67 VBoxUSB_LDFLAGS.x86 = -Entry:DriverEntry@8
    68 VBoxUSB_LDFLAGS.amd64 = -Entry:DriverEntry
     67VBoxUSB_LDFLAGS.x86   := -Entry:DriverEntry@8
     68VBoxUSB_LDFLAGS.amd64 := -Entry:DriverEntry
     69VBoxUSB_LDFLAGS.arm64 := -Entry:DriverEntry
    6970VBoxUSB_SOURCES     = \
    7071        dev/VBoxUsbDev.cpp \
     
    8081        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
    8182        $(usbd_1_TARGET)
     83VBoxUSB_LIBS.arm64  = \
     84        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/BufferOverflowFastFailK.lib
    8285
    8386#
     
    97100 VBoxUSBMon_DEFS      += VBOX_DBG_LOG_NAME=\"USBMon\"
    98101endif
    99 VBoxUSBMon_LDFLAGS.x86 = -Entry:DriverEntry@8
    100 VBoxUSBMon_LDFLAGS.amd64 = -Entry:DriverEntry
     102if1of ($(KBUILD_TYPE), debug)
     103 VBoxUSBMon_DEFS      += LOG_ENABLED VBOX_USB_WITH_VERBOSE_LOGGING
     104endif
    101105ifdef VBOX_USBMON_WITH_FILTER_AUTOAPPLY
    102106 VBoxUSBMon_DEFS      += VBOX_USBMON_WITH_FILTER_AUTOAPPLY
    103107endif
     108VBoxUSBMon_LDFLAGS.x86   := -Entry:DriverEntry@8
     109VBoxUSBMon_LDFLAGS.amd64 := -Entry:DriverEntry
     110VBoxUSBMon_LDFLAGS.arm64 := -Entry:DriverEntry
    104111VBoxUSBMon_SOURCES     = \
    105112        mon/VBoxUsbMon.cpp \
     
    116123        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) \
    117124        $(usbd_1_TARGET)
    118 if1of ($(KBUILD_TYPE), debug)
    119  VBoxUSBMon_DEFS     += LOG_ENABLED VBOX_USB_WITH_VERBOSE_LOGGING
    120 endif
     125VBoxUSBMon_LIBS.arm64  = \
     126        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/BufferOverflowFastFailK.lib
    121127
    122128#
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