VirtualBox

Changeset 40787 in vbox


Ignore:
Timestamp:
Apr 6, 2012 11:01:59 AM (13 years ago)
Author:
vboxsync
Message:

Config.kmk: Make GCCConfig.kmk depend on the gcc and g++ binaries to catch most compiler upgrades.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r40772 r40787  
    21272127
    21282128# No $(QUIET) here as it's interesting to see what goes into the file.
    2129 $(PATH_OUT)/GCCConfig.kmk: $(PATH_ROOT)/Config.kmk $(LOCALCFG) $(AUTOCFG)
     2129$(PATH_OUT)/GCCConfig.kmk: \
     2130                $(PATH_ROOT)/Config.kmk \
     2131                $(LOCALCFG) \
     2132                $(AUTOCFG) \
     2133                $(VBOX_GCC_PATH_CC) \
     2134                $(VBOX_GCC_PATH_CXX) \
     2135                $(VBOX_GCC32_PATH_CC) \
     2136                $(VBOX_GCC32_PATH_CXX)
    21302137        $(call MSG_GENERATE,,$@,)
    21312138        $(QUIET)$(RM) -f '$@'
     
    21332140
    21342141# HC compiler switch detection.
     2142        $(APPEND) '$@' 'VBOX_GCC_PATH_CC               ?= $(which $(TOOL_$(VBOX_GCC_TOOL)_CC))'
     2143        $(APPEND) '$@' 'VBOX_GCC_PATH_CXX              ?= $(which $(TOOL_$(VBOX_GCC_TOOL)_CXX))'
    21352144        $(APPEND) '$@' 'VBOX_GCC_VERSION_CC            ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CC))'
    21362145        $(APPEND) '$@' 'VBOX_GCC_VERSION_CXX           ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CXX))'
     
    21962205endif
    21972206# 32-bit (GC) compiler switch detection.
     2207        $(APPEND) '$@' 'VBOX_GCC32_PATH_CC             ?= $(which $(TOOL_$(VBOX_GCC32_TOOL)_CC))'
     2208        $(APPEND) '$@' 'VBOX_GCC32_PATH_CXX            ?= $(which $(TOOL_$(VBOX_GCC32_TOOL)_CXX))'
    21982209        $(APPEND) '$@' 'VBOX_GCC32_VERSION_CC          ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC32_TOOL)_CC))'
    21992210        $(APPEND) '$@' 'VBOX_GCC32_VERSION_CXX         ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC32_TOOL)_CXX))'
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