Ignore:
Timestamp:
Jan 9, 2011, 6:45:08 PM (15 years ago)
Author:
bird
Message:

kBuild: Deprecating PATH_<target> and <target>_PATH in favor of <target>_0_OUTDIR and <target>_DEFPATH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/subfooter.kmk

    r2413 r2434  
    4444define def_subheader
    4545 ifndef $(target)_PATH
    46   ifdef $(target)_DEFPATH
    47    $(target)_PATH := $($(target)_DEFPATH)
    48   else
    49    $(target)_PATH := $(PATH_SUB_CURRENT)
     46  ifndef $(target)_DEFPATH
    5047   $(target)_DEFPATH := $(PATH_SUB_CURRENT)
    5148  endif
     49  $(call KB_FN_ASSIGN_DEPRECATED,$(target)_PATH,$($(target)_DEFPATH), $(target)_DEFPATH)
    5250 else ifndef $(target)_DEFPATH
    5351  $(target)_DEFPATH := $($(target)_PATH)
     
    5856 ifndef $(target)_0_OUTDIR
    5957  $(target)_0_OUTDIR := $(call TARGET_PATH,$(target))
    60   PATH_$(target) := $($(target)_0_OUTDIR)
     58  $(call KB_FN_ASSIGN_DEPRECATED,PATH_$(target),$($(target)_0_OUTDIR), $(target)_0_OUTDIR)
    6159 endif
    6260endef
Note: See TracChangeset for help on using the changeset viewer.