Ignore:
Timestamp:
Feb 1, 2007, 7:37:56 AM (18 years ago)
Author:
bird
Message:

Added fake xargs implementation. Retired abspathex to gnumake-header.kmk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/gnumake-header.kmk

    r819 r825  
    5656# @param    $1   The stack variable name
    5757stack-top  = $(lastword $($1))
     58
     59## Converts an relative path to an absolute path using the given CWD.
     60# @returns absolute path.
     61# @param    $1      The path to fixup.
     62# @param    $2      The CWD to use.
     63abspathex = $(foreach _fix_path,$1\
     64,$(if $(subst :$(call no-root-slash,$(call no-drive,$(_fix_path))):,,:$(_fix_path):),$(_fix_path),$(abspath $2/$(_fix_path))))
     65
    5866
    5967##
Note: See TracChangeset for help on using the changeset viewer.