Ignore:
Timestamp:
Dec 12, 2004, 5:55:17 AM (21 years ago)
Author:
bird
Message:

Check of a recurring problem with _TEMPLATE containing tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r184 r185  
    130130# @param    $2      normalized main target
    131131_TARGET_BASE = $(PATH_TARGET)/$(2)/$(call no-root-slash,$(call no-drive,$(basename $(1))))
     132
     133
     134#
     135# Check syntax which leads to weird syntax errors.
     136#
     137
     138## Check
     139# @param        $(target)       Target name.
     140define def_check_target
     141ifneq ("$($(target)_TEMPLATE)","$(strip $($(target)_TEMPLATE))")
     142$$(error $(target) have an incorrect template name. Remove any tabs!)
     143endif
     144endef
     145$(foreach target, $(ALL_TARGETS),$(eval $(def_check_target)))
    132146
    133147
Note: See TracChangeset for help on using the changeset viewer.