Changeset 6620 in vbox
- Timestamp:
- Jan 30, 2008 6:08:07 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27681
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r6615 r6620 2703 2703 # 2704 2704 # Template for building R3 programs for the guest additions. 2705 # Note: Make sure you don't break VBOXGUESTR3CPPEXE when changing this. 2705 2706 # 2706 2707 # 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 # 2713 TEMPLATE_VBOXGUESTR3EXE = VBox Guest Program 2711 2714 ifeq ($(BUILD_TARGET),win) # quick hack 2712 TEMPLATE_VBOXGUESTR3EXE_EXTENDS= VBOXW32GUESTR32713 else 2714 TEMPLATE_VBOXGUESTR3EXE_EXTENDS= VBOXR3EXE2715 #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-exceptions2718 endif 2719 TEMPLATE_VBOXGUESTR3EXE_INST = $(INST_ADDITIONS)2720 TEMPLATE_VBOXGUESTR3EXE_ASFLAGS = $(VBOX_ASFLAGS32)2715 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXW32GUESTR3 2716 else 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 2721 endif 2722 TEMPLATE_VBOXGUESTR3EXE_INST = $(INST_ADDITIONS) 2723 TEMPLATE_VBOXGUESTR3EXE_ASFLAGS = $(VBOX_ASFLAGS32) 2721 2724 TEMPLATE_VBOXGUESTR3EXE_BLD_TRG_ARCH = x86 2722 2725 TEMPLATE_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=322726 TEMPLATE_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 2725 2728 2726 2729 # … … 2749 2752 endif 2750 2753 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 # 2759 TEMPLATE_VBOXGUESTR3CPPEXE = VBox Guest Program with C++ library dependencies 2760 TEMPLATE_VBOXGUESTR3CPPEXE_EXTENDS = VBOXGUESTR3EXE 2761 ifeq ($(BUILD_TARGET),win) 2762 # later 2763 else 2764 #TEMPLATE_VBOXGUESTR3CPPEXE_TOOL = $(TEMPLATE_VBOXR3EXE_TOOL) 2765 TEMPLATE_VBOXGUESTR3CPPEXE_TOOL = $(VBOX_GCC32_TOOL) 2766 TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS) 2767 endif 2768 2769 2751 2770 # 2752 2771 # Template for building R0 drivers for the guest additions. … … 2767 2786 TEMPLATE_VBOXGUESTR0LIB_EXTENDS = VBOXGUESTR0 2768 2787 TEMPLATE_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 dependencies2774 TEMPLATE_VBOXGUESTR3CPPEXE_EXTENDS = VBOXGUESTR3EXE2775 ifndef TEMPLATE_VBOXGUESTR3CPPEXE_TOOL2776 TEMPLATE_VBOXGUESTR3CPPEXE_TOOL := $(subst GCC,GXX,$(VBOX_GCC32_TOOL))2777 TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS = $(filter-out -fno-exceptions,$(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS))2778 endif2779 2788 2780 2789
Note:
See TracChangeset
for help on using the changeset viewer.