Changeset 745 for trunk/kBuild/footer.kmk
- Timestamp:
- Dec 17, 2006, 9:42:47 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r744 r745 361 361 # @param $(target) Target name 362 362 define def_inherit_template_one_accumulate_r1 363 ifdef _$(target)_$(prop)_R364 $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s))365 endif366 363 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop) 367 364 $(eval _$(target)_$(prop)_R = $(value $(target)_$(prop))) … … 413 410 # @param $(target) Target name. 414 411 define def_inherit_template 412 # sanity check. 413 ifdef _$(target)_ALREADY_PROCESSED 414 $(error kBuild: The target $(target) appears more than once in the target lists! Please correct the makefile(s)) 415 endif 416 _$(target)_ALREADY_PROCESSED := 1 417 415 418 # Inherit any default template. 416 419 ifdef TEMPLATE … … 883 886 # @param bld_trg_arch 884 887 define def_fetch 885 # sanity check.886 ifdef $(target)_ALREADY_PROCESSED887 $(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 endif889 $(target)_ALREADY_PROCESSED := fetch890 891 888 # common 892 889 INSTARGET_$(target) := $($(target)_INST) … … 1147 1144 # @param $(target) Normalized library (target) name. 1148 1145 define def_lib 1149 # sanity check.1150 ifdef $(target)_ALREADY_PROCESSED1151 $(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 endif1153 $(target)_ALREADY_PROCESSED := lib1154 1155 1146 # library basics 1156 1147 ## @todo prefix … … 1284 1275 # @param $(typevar) The name of the variable with all the root targets of its type. 1285 1276 define def_link_common 1286 # sanity check.1287 ifdef $(target)_ALREADY_PROCESSED1288 $(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 endif1290 $(target)_ALREADY_PROCESSED := $(EXT)1291 1292 1277 # basics 1293 1278 bld_type := $(firstword $($(target)_BLD_TYPE) $(BUILD_TYPE)) … … 1881 1866 ## process one install target. 1882 1867 define def_install 1883 # sanity check.1884 ifdef $(target)_ALREADY_PROCESSED1885 $(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 endif1887 $(target)_ALREADY_PROCESSED := install1888 1889 1868 # the basics. 1890 1869 bld_type := $(firstword $($(target)_BLD_TYPE) $(BUILD_TYPE))
Note:
See TracChangeset
for help on using the changeset viewer.