summaryrefslogtreecommitdiffstats
path: root/kBuild/footer-inherit-uses-tools.kmk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 07:33:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 07:33:58 +0000
commit77d6698bdfbc3fb878cb4490061f50e24a2cabec (patch)
tree33b9119b2179ed4aa93cea8c29fc1615ee8db9a7 /kBuild/footer-inherit-uses-tools.kmk
parentAdding upstream version 1:0.1.9998svn3589+dfsg. (diff)
downloadkbuild-77d6698bdfbc3fb878cb4490061f50e24a2cabec.tar.xz
kbuild-77d6698bdfbc3fb878cb4490061f50e24a2cabec.zip
Adding upstream version 1:0.1.9998svn3604+dfsg.upstream/1%0.1.9998svn3604+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'kBuild/footer-inherit-uses-tools.kmk')
-rw-r--r--kBuild/footer-inherit-uses-tools.kmk4
1 files changed, 2 insertions, 2 deletions
diff --git a/kBuild/footer-inherit-uses-tools.kmk b/kBuild/footer-inherit-uses-tools.kmk
index 85d2512..bada7f7 100644
--- a/kBuild/footer-inherit-uses-tools.kmk
+++ b/kBuild/footer-inherit-uses-tools.kmk
@@ -1,4 +1,4 @@
-# $Id: footer-inherit-uses-tools.kmk 3121 2017-10-31 10:58:59Z bird $
+# $Id: footer-inherit-uses-tools.kmk 3594 2023-06-01 21:07:11Z bird $
## @file
# kBuild - Footer - Target lists - Pass 2 - Template & Target Inheritance, Uses and Tools.
#
@@ -574,7 +574,7 @@ define def_templates_load_function
ifndef TEMPLATE_$(loading)
TEMPLATE_$(loading)_KMK_FILE := $(firstword $(foreach path, $(KBUILD_TEMPLATE_PATHS) $(KBUILD_PATH)/templates $(KBUILD_DEFAULT_PATHS), $(wildcard $(path)/$(loading).kmk)))
ifeq ($(TEMPLATE_$(loading)_KMK_FILE),)
- $(error kBuild: Cannot find include file for the template '$(loading)'! Searched: $(KBUILD_TEMPLATE_PATHS) $(KBUILD_PATH)/templates $(KBUILD_DEFAULT_PATHS))
+ $(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)),))))
endif
include $(TEMPLATE_$(loading)_KMK_FILE)
ifndef TEMPLATE_$(loading)