diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-31 06:30:56 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-05 12:33:10 +0200 |
commit | 4db4d028196414b693674f7768da7b0b4e8bc17a (patch) | |
tree | e3ff9fb3b1fad16be700cf912b45f4fd26715093 | |
parent | 2e82e6b4ba3e832b88d6fd9a50f5fe116c01f07d (diff) | |
download | ptxdist-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.make | 3 |
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\#\#*/}"; \ |