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:34:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 07:34:16 +0000
commit5dcc47be540f3a6de2744025e47f33ecf4f27f12 (patch)
tree5783baf72619d0374141e9fd0a6de32db7d1ac13 /kBuild/footer-inherit-uses-tools.kmk
parentAdding debian version 1:0.1.9998svn3589+dfsg-1. (diff)
downloadkbuild-5dcc47be540f3a6de2744025e47f33ecf4f27f12.tar.xz
kbuild-5dcc47be540f3a6de2744025e47f33ecf4f27f12.zip
Merging upstream version 1:0.1.9998svn3604+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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)