VirtualBox

Changeset 75335 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Nov 9, 2018 1:22:37 AM (6 years ago)
Author:
vboxsync
Message:

Config.kmk: Added VBOX_USE_WATCOM_FOR_OS2 variant for TEMPLATE_VBOXR0DRV as a potential cross build option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r75303 r75335  
    45324532
    45334533ifeq ($(KBUILD_TARGET),os2)
     4534 ifndef VBOX_USE_WATCOM_FOR_OS2
    45344535TEMPLATE_VBOXR0DRV_TOOL                = GXX3OMF
    45354536TEMPLATE_VBOXR0DRV_CXXFLAGS            = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions -fno-rtti
     
    45384539# wlink thinks physdevice doesn't need fixups and should have a stack - stupid!
    45394540TEMPLATE_VBOXR0DRV_LDFLAGS             = -Zlinker Option -Zlinker internalrelocs, -Zlinker togglerelocs
     4541  else
     4542TEMPLATE_VBOXR0DRV_TOOL     = OPENWATCOM
     4543TEMPLATE_VBOXR0DRV_CTOOL    = OPENWATCOM
     4544TEMPLATE_VBOXR0DRV_CXXTOOL  = OPENWATCOM
     4545TEMPLATE_VBOXR0DRV_LDTOOL   = OPENWATCOM-WL
     4546TEMPLATE_VBOXR0DRV_ARTOOL   = OPENWATCOM
     4547TEMPLATE_VBOXR0DRV_ASTOOL   = NASM
     4548TEMPLATE_VBOXR0DRV_ASFLAGS  = -fobj -DASM_FORMAT_OMF -D__NASM__ -w+orphan-labels #-g -F borland
     4549TEMPLATE_VBOXR0DRV_DEFS.os2 = #_OS2EMX_H
     4550TEMPLATE_VBOXR0DRV_INCS     = \
     4551        $(PATH_TOOL_OPENWATCOM)/h \
     4552        $(PATH_TOOL_OPENWATCOM)/h/os2 \
     4553        $(PATH_ROOT)/include \
     4554        $(PATH_KLIBC_TRUNK)/libc/include # for os2ddk
     4555TEMPLATE_VBOXR0DRV_CFLAGS   = -s -ze -w4 -hd -d1+ -nt=TEXT32 -nc=CODE -4 -of+
     4556TEMPLATE_VBOXR0DRV_CXXFLAGS = -s -ze -w4 -hd -d2t -nt=TEXT32 -nc=CODE -4 -of+
     4557TEMPLATE_VBOXR0DRV_LDFLAGS  = \
     4558        form os2 lx physdevice \
     4559        option NODefaultlibs, internalrelocs, togglerelocs \
     4560        debug dwarf all #option symfile
     4561#       debug codeview all option symfile - wlink generates bad info, overwritten mod dir header.
     4562 endif
    45404563endif
    45414564
     
    70807103endif
    70817104
     7105
    70827106#
    70837107# Template for building R0 libraries for the guest additions.
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