VirtualBox

Changeset 585 in kBuild


Ignore:
Timestamp:
Nov 24, 2006 5:14:13 AM (18 years ago)
Author:
bird
Message:

BUILD_TYPE defaults to 'release'. BUILD_MODE is the only variant needing lowercasing.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r584 r585  
    22
    332006-11-23:
     4    - kBuild/header.kmk:
     5        o BUILD_TYPE defaults to 'release'.
    46    - kBuild/tools/GCC*.kmk:
    57        o Cleaned up the -s and -g usage.
  • trunk/kBuild/header.kmk

    r578 r585  
    7878
    7979#
    80 # Assert build type.
     80# Set default build type.
    8181#
    8282ifndef BUILD_TYPE
    83 ifndef BUILD_MODE
    84 $(error kBuild: You must define BUILD_TYPE!)
    85 endif
    86 BUILD_TYPE          := $(BUILD_MODE)
    87 endif
    88 ifeq ($(BUILD_TYPE),DEBUG)
    89 BUILD_TYPE          := debug
    90 endif
    91 ifeq ($(BUILD_TYPE),RELEASE)
     83 ifdef BUILD_MODE
     84 # BUILD_MODE is legacy from the OS/2 build system. :)
     85BUILD_TYPE          := $(tolower $(BUILD_MODE))
     86 else
    9287BUILD_TYPE          := release
    93 endif
    94 ifeq ($(BUILD_TYPE),PROFILE)
    95 BUILD_TYPE          := profile
     88 endif
    9689endif
    9790
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