summaryrefslogtreecommitdiffstats
path: root/rules/other
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-11-28 14:51:52 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-11-29 10:24:18 +0100
commit40e575e003c035e20614e45172af7bbe933ce1ee (patch)
treee41271a92e045987c651c9c26b4fdaee0b8478a2 /rules/other
parent6673513a20680602e5045aa335029eccd1022d2f (diff)
downloadptxdist-40e575e003c035e20614e45172af7bbe933ce1ee.tar.gz
ptxdist-40e575e003c035e20614e45172af7bbe933ce1ee.tar.xz
ptxdist: improve 'print' handling
'print-%' does not match 'print-/some/path'. This would be useful to debug the tarball/package mappings that are defined as '$(<PKG>_SOURCE) = <PKG>'. Using '/print-%' instead seems to work better. Use it but keep the old patterns for backwards compatibility. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/other')
-rw-r--r--rules/other/Toplevel.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/other/Toplevel.make b/rules/other/Toplevel.make
index 0cc05e5fd..d8c9fc36b 100644
--- a/rules/other/Toplevel.make
+++ b/rules/other/Toplevel.make
@@ -107,7 +107,7 @@ include $(PTX_DGEN_DEPS_POST)
# just the "print" target
# ----------------------------------------------------------------------------
-print-%: FORCE
+print-% /print-%: FORCE
$(if $(filter k,$(MAKEFLAGS)),,$($(if $(filter undefined,$(origin $(*))),$(error $(*) undefined))))
@echo "$(if $(filter 1,$(PTXDIST_VERBOSE)),$(*)=)$($(*))"