Changeset 744 for trunk/kBuild/footer.kmk
- Timestamp:
- Dec 17, 2006, 9:36:36 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r743 r744 361 361 # @param $(target) Target name 362 362 define 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 363 366 ifdef TEMPLATE_$($(target)_TEMPLATE)_$(prop) 364 367 $(eval _$(target)_$(prop)_R = $(value $(target)_$(prop))) … … 880 883 # @param bld_trg_arch 881 884 define 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 882 890 883 891 # common … … 1139 1147 # @param $(target) Normalized library (target) name. 1140 1148 define 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 1141 1155 # library basics 1142 1156 ## @todo prefix … … 1270 1284 # @param $(typevar) The name of the variable with all the root targets of its type. 1271 1285 define 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 1272 1292 # basics 1273 1293 bld_type := $(firstword $($(target)_BLD_TYPE) $(BUILD_TYPE)) … … 1298 1318 $(eval $(value def_target_sources)) 1299 1319 1300 # more li brarystuff.1320 # more link stuff. 1301 1321 tool := $(call _TARGET_TOOL,$(target),LD) 1302 1322 outbase := $(call TARGET_BASE,$(target),$(target)) … … 1861 1881 ## process one install target. 1862 1882 define 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 1889 # the basics. 1863 1890 bld_type := $(firstword $($(target)_BLD_TYPE) $(BUILD_TYPE)) 1864 1891 bld_trg := $(firstword $($(target)_BLD_TRG) $(BUILD_TARGET))
Note:
See TracChangeset
for help on using the changeset viewer.