Changeset 748 for trunk/kBuild


Ignore:
Timestamp:
Dec 25, 2006, 2:21:48 AM (19 years ago)
Author:
bird
Message:

TARGET_BASE fix (not completed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r743 r748  
    170170endif
    171171
    172 ## CURSUBDIR is PATH_SUB_ROOT described relative to PATH_ROOT. 
     172## CURSUBDIR is PATH_SUB_ROOT described relative to PATH_ROOT.
    173173# This variable is used to determin where the object files and other output goes.
    174174ifneq ($(PATH_ROOT),$(PATH_CURRENT))
     
    211211## MAKEFILE is the name of the main makefile.
    212212MAKEFILE            := $(firstword $(MAKEFILE_LIST))
    213 ## MAKEFILE_CURRENT is the name of the current makefile. 
     213## MAKEFILE_CURRENT is the name of the current makefile.
    214214# This is updated everything a sub-makefile is included.
    215215MAKEFILE_CURRENT    := $(MAKEFILE)
     
    224224   $(warning kBuild: kmk major version mismatch, expected '0' found '$(KBUILD_VERSION_MAJOR)'!)
    225225  else
    226    $(warning kBuild: kmk minor version mismatch, expected '1' found '$(KBUILD_VERSION_MINOR)'!) 
     226   $(warning kBuild: kmk minor version mismatch, expected '1' found '$(KBUILD_VERSION_MINOR)'!)
    227227  endif
    228228 endif
    229 else 
     229else
    230230 include $(PATH_KBUILD)/gnumake-header.kmk
    231231endif
     
    444444#
    445445# Some Functions.
    446 # The lower cased ones are either fallbacks or candidates for functions.c. 
     446# The lower cased ones are either fallbacks or candidates for functions.c.
    447447#
    448448
     
    491491# @param    $1      real target name.
    492492# @param    $2      normalized main target
    493 TARGET_BASE = $(PATH_TARGET)/$(2)/$(call no-root-slash,$(call no-drive,$(basename $(1))))
     493TARGET_BASE = $(PATH_TARGET)/$(2)/$(call no-root-slash,$(call no-drive,$(1)))
    494494
    495495## Figure out where to put object files.
     
    540540
    541541## PROPS_ACCUMULATE_R
    542 # The list of accumulative target properties where the right most value/flag 
     542# The list of accumulative target properties where the right most value/flag
    543543# is the 'most significant'.
    544544# A Config.kmk file can add it's own properties to this list and kBuild
     
    554554
    555555## PROPS_ACCUMULATE
    556 # The list of accumulative target properties where the left most value/flag 
     556# The list of accumulative target properties where the left most value/flag
    557557# is the 'most significant'.
    558558# A Config.kmk file can add it's own properties to this list and kBuild
     
    569569
    570570#
    571 # Here is a special 'hack' to prevent innocent environment variables being 
    572 # picked up and treated as properties. (The most annoying example of why 
     571# Here is a special 'hack' to prevent innocent environment variables being
     572# picked up and treated as properties. (The most annoying example of why
    573573# this is necessary is the Visual C++ commandline with it's LIBPATH.)
    574574#
    575 # Define KBUILD_DONT_KILL_ENV_PROPS in the env. or on the commandline to 
     575# Define KBUILD_DONT_KILL_ENV_PROPS in the env. or on the commandline to
    576576# disable this 'hack'.
    577577#
     
    716716# Message macros.
    717717#
    718 # This is done after including Config.kmk as to allow for 
     718# This is done after including Config.kmk as to allow for
    719719# KBUILD_QUIET and KBUILD_VERBOSE to be configurable.
    720720#
Note: See TracChangeset for help on using the changeset viewer.