Ignore:
Timestamp:
Dec 17, 2006, 9:42:47 AM (19 years ago)
Author:
bird
Message:

better place for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r744 r745  
    361361# @param    $(target)   Target name
    362362define def_inherit_template_one_accumulate_r1
    363 ifdef _$(target)_$(prop)_R
    364 $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s))
    365 endif
    366363ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop)
    367364$(eval _$(target)_$(prop)_R = $(value $(target)_$(prop)))
     
    413410# @param    $(target)    Target name.
    414411define def_inherit_template
     412# sanity check.
     413ifdef _$(target)_ALREADY_PROCESSED
     414 $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s))
     415endif
     416_$(target)_ALREADY_PROCESSED := 1
     417
    415418# Inherit any default template.
    416419ifdef TEMPLATE
     
    883886# @param        bld_trg_arch
    884887define def_fetch
    885 # sanity check.
    886 ifdef $(target)_ALREADY_PROCESSED
    887  $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s). Prev: $(EXT) This: $($(target)_ALREADY_PROCESSED))
    888 endif
    889 $(target)_ALREADY_PROCESSED := fetch
    890 
    891888# common
    892889INSTARGET_$(target) := $($(target)_INST)
     
    11471144# @param    $(target)   Normalized library (target) name.
    11481145define def_lib
    1149 # sanity check.
    1150 ifdef $(target)_ALREADY_PROCESSED
    1151  $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s). Prev: $(EXT) This: $($(target)_ALREADY_PROCESSED))
    1152 endif
    1153 $(target)_ALREADY_PROCESSED := lib
    1154 
    11551146# library basics
    11561147## @todo prefix
     
    12841275# @param    $(typevar)  The name of the variable with all the root targets of its type.
    12851276define def_link_common
    1286 # sanity check.
    1287 ifdef $(target)_ALREADY_PROCESSED
    1288  $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s). Prev: $(EXT) This: $($(target)_ALREADY_PROCESSED))
    1289 endif
    1290 $(target)_ALREADY_PROCESSED := $(EXT)
    1291 
    12921277# basics
    12931278bld_type    := $(firstword $($(target)_BLD_TYPE)     $(BUILD_TYPE))
     
    18811866## process one install target.
    18821867define def_install
    1883 # sanity check.
    1884 ifdef $(target)_ALREADY_PROCESSED
    1885  $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s). Prev: $(EXT) This: $($(target)_ALREADY_PROCESSED))
    1886 endif
    1887 $(target)_ALREADY_PROCESSED := install
    1888 
    18891868# the basics.
    18901869bld_type  := $(firstword $($(target)_BLD_TYPE)     $(BUILD_TYPE))
Note: See TracChangeset for help on using the changeset viewer.