From 48160373ac3004bcbec463b43d20def3329cb22d Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 12 May 2009 11:49:09 +0200 Subject: [PATCH] Changed ambiguous CONFGEN filename CONFGEN message included the name of the stamp file without the extension. This was ambiguous because in the case of named (not LOCAL_CONFIG_H) config files, the final header file is located in different directory than stamp file and therefore the message mentioned a non-existent file path. Now, the CONFGEN message only includes filename without directory. The full path is shown in update message. --- snippets/config_h.omk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/config_h.omk b/snippets/config_h.omk index 9718d85..a7d46b1 100644 --- a/snippets/config_h.omk +++ b/snippets/config_h.omk @@ -12,7 +12,7 @@ define BUILD_CONFIG_H_template $(addprefix $(1)/,$(notdir $(addsuffix .stamp,$(2)))) : $(CONFIG_FILES) - @$(QUIET_CMD_ECHO) " CONFGEN $$(@:%.stamp=%)" + @$(QUIET_CMD_ECHO) " CONFGEN $(notdir $(2))" @if [ ! -d `dirname $(2).tmp` ] ; then \ mkdir -p `dirname $(2).tmp` ; fi @echo "/* Automatically generated from */" > "$(2).tmp" -- 2.39.2