VirtualBox

Changeset 85480 in vbox


Ignore:
Timestamp:
Jul 27, 2020 7:35:37 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139534
Message:

/Config.kmk: Reverted r139533. Committed too much.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r85479 r85480  
    30383038        $(QUIET)$(CAT) $@
    30393039        $(QUIET)$(ECHO) '=========== END OF $@ ========='
    3040 # temp hack for win-* debugging.
    3041         /usr/bin/env || true
    30423040
    30433041include $(PATH_OUT)/DynamicConfig.kmk
     
    46324630        $(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) \
    46334631        -fno-rtti $(VBOX_GCC_std) $(VBOX_GCC_IPRT_FMT_CHECK)
    4634 TEMPLATE_VBoxR0_CFLAGS.amd64        = -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fasynchronous-unwind-tables -ffreestanding
    4635 TEMPLATE_VBoxR0_CXXFLAGS.amd64      = -m64 -mno-red-zone -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fasynchronous-unwind-tables
     4632TEMPLATE_VBoxR0_CFLAGS.amd64        = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
     4633        -fasynchronous-unwind-tables -ffreestanding
     4634TEMPLATE_VBoxR0_CXXFLAGS.amd64      = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
     4635        -fasynchronous-unwind-tables
    46364636TEMPLATE_VBoxR0_CXXFLAGS.freebsd    = -ffreestanding
    46374637 if $(VBOX_GCC_VERSION_CC) < 30400
    46384638  TEMPLATE_VBoxR0_DEFS             += RT_WITHOUT_PRAGMA_ONCE
    46394639 endif
    4640  ifeq ($(KBUILD_TARGET),solaris)
     4640ifeq ($(KBUILD_TARGET),solaris)
    46414641 TEMPLATE_VBoxR0_LDFLAGS            = -r
    46424642 TEMPLATE_VBoxR0_LDFLAGS.solaris    = -u _init -u _info
     
    46494649 # Solaris driver signing.
    46504650 TEMPLATE_VBoxR0_POST_CMDS          = $(VBOX_SIGN_DRIVER_CMDS)
    4651  else
     4651else
    46524652 TEMPLATE_VBoxR0_LDFLAGS            = -nostdlib -Bsymbolic -g
    46534653 ## @todo WTF doesn't the globals work? Debug info is supposed to be split everywhere. GRR
    46544654 TEMPLATE_VBoxR0_LD_DEBUG           = split
    4655  endif
    4656  if1of ($(KBUILD_TARGET), linux)
    4657 VBOX_WITH_VBOXR0_AS_DLL = 1
    4658 TEMPLATE_VBoxR0_DLLSUFF             = .r0
    4659 TEMPLATE_VBoxR0_CFLAGS             += -fPIC
    4660 TEMPLATE_VBoxR0_CXXFLAGS           += -fPIC
    4661 TEMPLATE_VBoxR0_LDFLAGS            +=
    4662 TEMPLATE_VBoxR0_DTRACE_HDR_FLAGS   += --pic
    4663 TEMPLATE_VBoxR0_DTRACE_OBJ_FLAGS   += --pic
    4664  else
    4665 TEMPLATE_VBoxR0_CFLAGS.amd64       += -mcmodel=kernel
    4666 TEMPLATE_VBoxR0_CXXFLAGS.amd64     += -mcmodel=kernel
    4667  endif
    4668  ifn1of ($(KBUILD_TARGET),solaris freebsd)
     4655endif
     4656ifn1of ($(KBUILD_TARGET),solaris freebsd)
    46694657 TEMPLATE_VBoxR0_LIBS               = \
    46704658        $(VBOX_GCC_LIBGCC) # intrinsics
    4671  endif
    4672  if1of ($(KBUILD_TARGET),linux)
    4673  TEMPLATE_VBoxR0_POST_CMDS         += $(NLTAB)\
     4659endif
     4660if1of ($(KBUILD_TARGET),linux)
     4661 TEMPLATE_VBoxR0_POST_CMDS          = \
    46744662        $(if $(eq $(tool_do),LINK_SYSMOD),if readelf -S $(out)|grep -q "[cd]tors"; then echo "Found ctors/dtors in $(out)!"; exit 1; fi)
    4675  endif
    4676 endif # elf
     4663endif
     4664endif
    46774665
    46784666ifeq ($(VBOX_LDR_FMT),macho)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette