Changeset 3594


Ignore:
Timestamp:
Jun 1, 2023, 11:07:11 PM (2 years ago)
Author:
bird
Message:

kBuild/footer-inherit-uses-tools.kmk: List users of undefined templates to simplify fixing the issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer-inherit-uses-tools.kmk

    r3121 r3594  
    575575 TEMPLATE_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_TEMPLATE_PATHS) $(KBUILD_PATH)/templates $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk)))
    576576 ifeq ($(TEMPLATE_$(loading)_KMK_FILE),)
    577   $(error kBuild: Cannot find include file for the template '$(loading)'! Searched: $(KBUILD_TEMPLATE_PATHS) $(KBUILD_PATH)/templates $(KBUILD_DEFAULT_PATHS))
     577  $(error kBuild: Cannot find include file for the template '$(loading)'! Searched: $(KBUILD_TEMPLATE_PATHS) $(KBUILD_PATH)/templates $(KBUILD_DEFAULT_PATHS) Used by target(s): $(strip $(foreach target, $(_ALL_TARGETS),$(if-expr "$($(target)_TEMPLATE)" == "$(loading)",$(target) (in $(where $(target)_TEMPLATE)),))))
    578578 endif
    579579 include $(TEMPLATE_$(loading)_KMK_FILE)
Note: See TracChangeset for help on using the changeset viewer.