summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-31 06:30:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-05 12:33:10 +0200
commit4db4d028196414b693674f7768da7b0b4e8bc17a (patch)
treee3ff9fb3b1fad16be700cf912b45f4fd26715093
parent2e82e6b4ba3e832b88d6fd9a50f5fe116c01f07d (diff)
downloadptxdist-4db4d028196414b693674f7768da7b0b4e8bc17a.tar.gz
ptxdist-4db4d028196414b693674f7768da7b0b4e8bc17a.tar.xz
targetinfo: fix dependeny logging
The old code dropped all but the last dependency. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/post/function-targetinfo.make3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/post/function-targetinfo.make b/rules/post/function-targetinfo.make
index 3a247c001..9a681753c 100644
--- a/rules/post/function-targetinfo.make
+++ b/rules/post/function-targetinfo.make
@@ -23,8 +23,7 @@ endif
targetinfo = \
target="$(strip $(@))"; \
target="$${target\#\#*/}"; \
- dep="$(strip $^)"; \
- dep="$${dep\#\#*/}"; \
+ dep="$(strip $(notdir $^))"; \
echo "$${target} : $${dep}" >> $(DEP_OUTPUT); \
$(_targetinfo_opt_output) \
target="target: $${target\#\#*/}"; \