VirtualBox

Changeset 6620 in vbox


Ignore:
Timestamp:
Jan 30, 2008 6:08:07 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27681
Message:

it was supposed to be ifdef TEMPLATE_VBOXGUESTR3EXE_TOOL, just some cut and paste issues there. Fixed the way it should be and made it less convoluted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r6615 r6620  
    27032703#
    27042704# Template for building R3 programs for the guest additions.
     2705# Note: Make sure you don't break VBOXGUESTR3CPPEXE when changing this.
    27052706#
    27062707# For the time being, we force 32-bitness onto this and related
    2707 # templates (BLD_TRG_ARCH). When we start doing 64-bit guest however,
    2708 # they will be reverted to BUILD_TARGET_ARCH.
    2709 #
    2710 TEMPLATE_VBOXGUESTR3EXE         = VBox Guest Program
     2708# templates (via BLD_TRG_ARCH). When we start doing 64-bit guest
     2709# however, they will be reverted to follow BUILD_TARGET_ARCH.
     2710# So, if someone sees any weirdness happening in a 64-bit build now,
     2711# try do a 32-bit cross build (kmk BUILD_TARGET_ARCH=x86) first. It
     2712#
     2713TEMPLATE_VBOXGUESTR3EXE           = VBox Guest Program
    27112714ifeq ($(BUILD_TARGET),win) # quick hack
    2712 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXW32GUESTR3
    2713 else
    2714 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXR3EXE
    2715 #TEMPLATE_VBOXGUESTR3EXE_TOOL   := $(subst GXX,GCC,$(TEMPLATE_VBOXR3EXE_TOOL))
    2716 TEMPLATE_VBOXGUESTR3EXE_TOOL   := $(subst GXX,GCC,$(VBOX_GCC32_TOOL))
    2717 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS= $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions
    2718 endif
    2719 TEMPLATE_VBOXGUESTR3EXE_INST    = $(INST_ADDITIONS)
    2720 TEMPLATE_VBOXGUESTR3EXE_ASFLAGS = $(VBOX_ASFLAGS32)
     2715 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXW32GUESTR3
     2716else
     2717 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXR3EXE
     2718 #TEMPLATE_VBOXGUESTR3EXE_TOOL   := $(subst GXX,GCC,$(TEMPLATE_VBOXR3EXE_TOOL))
     2719 TEMPLATE_VBOXGUESTR3EXE_TOOL    := $(subst GXX,GCC,$(VBOX_GCC32_TOOL))
     2720 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) -fno-exceptions
     2721endif
     2722TEMPLATE_VBOXGUESTR3EXE_INST      = $(INST_ADDITIONS)
     2723TEMPLATE_VBOXGUESTR3EXE_ASFLAGS   = $(VBOX_ASFLAGS32)
    27212724TEMPLATE_VBOXGUESTR3EXE_BLD_TRG_ARCH  = x86
    27222725TEMPLATE_VBOXGUESTR3EXE_BLD_TRG_CPU   = blend
    2723 TEMPLATE_VBOXGUESTR3EXE_DEFS   := IN_GUEST IN_GUEST_R3 IN_RT_R3 \
    2724                                   $(filter-out $(ARCH_BITS_DEFS),$(TEMPLATE_VBOXR3EXE_DEFS)) HC_ARCH_BITS=32 GC_ARCH_BITS=32
     2726TEMPLATE_VBOXGUESTR3EXE_DEFS     := IN_GUEST IN_GUEST_R3 IN_RT_R3 \
     2727                                    $(filter-out $(ARCH_BITS_DEFS),$(TEMPLATE_VBOXR3EXE_DEFS)) HC_ARCH_BITS=32 GC_ARCH_BITS=32
    27252728
    27262729#
     
    27492752endif
    27502753
     2754
     2755#
     2756# Template for guest stuff that makes use of the C++ library and features.
     2757# (This is mostly about undoing what was done to C++ for VBOXGUESTR3EXE.)
     2758#
     2759TEMPLATE_VBOXGUESTR3CPPEXE         = VBox Guest Program with C++ library dependencies
     2760TEMPLATE_VBOXGUESTR3CPPEXE_EXTENDS = VBOXGUESTR3EXE
     2761ifeq ($(BUILD_TARGET),win)
     2762 # later
     2763else
     2764 #TEMPLATE_VBOXGUESTR3CPPEXE_TOOL  = $(TEMPLATE_VBOXR3EXE_TOOL)
     2765 TEMPLATE_VBOXGUESTR3CPPEXE_TOOL   = $(VBOX_GCC32_TOOL)
     2766 TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS)
     2767endif
     2768
     2769
    27512770#
    27522771# Template for building R0 drivers for the guest additions.
     
    27672786TEMPLATE_VBOXGUESTR0LIB_EXTENDS = VBOXGUESTR0
    27682787TEMPLATE_VBOXGUESTR0LIB_INST    = $(INST_ADDITIONS_LIB)
    2769 
    2770 #
    2771 # Template for guest stuff that makes use of the C++ library and features.
    2772 #
    2773 TEMPLATE_VBOXGUESTR3CPPEXE         = VBox Guest Program with C++ library dependencies
    2774 TEMPLATE_VBOXGUESTR3CPPEXE_EXTENDS = VBOXGUESTR3EXE
    2775 ifndef TEMPLATE_VBOXGUESTR3CPPEXE_TOOL
    2776  TEMPLATE_VBOXGUESTR3CPPEXE_TOOL  := $(subst GCC,GXX,$(VBOX_GCC32_TOOL))
    2777  TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS = $(filter-out -fno-exceptions,$(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS))
    2778 endif
    27792788
    27802789
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