Commit a5ba0a1a5af312c4b4bfe78dc054d832103ec27d
Committed by
Arnaldo Carvalho de Melo
1 parent
edd695b032
Exists in
smarc_imx_lf-5.15.y
and in
20 other branches
tools build: Make the .cmd file more readable
Putting extra line between dependencies and cmd_* definition to make it more readable. Before: $ cat .builtin-top.o.cmd ... /home/jolsa/kernel/linux-perf/tools/include/linux/stringify.h \ /home/jolsa/kernel/linux-perf/tools/include/linux/time64.h cmd_builtin-top.o := gcc -Wp,-MD,./.builtin-top.o.d -Wp,-MT,builtin-... ... After: $ cat .builtin-top.o.cmd ... /home/jolsa/kernel/linux-perf/tools/include/linux/stringify.h \ /home/jolsa/kernel/linux-perf/tools/include/linux/time64.h cmd_builtin-top.o := gcc -Wp,-MD,./.builtin-top.o.d -Wp,-MT,builtin-... ... Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1480884178-8072-2-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
tools/build/Build.include
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | printf '\# cannot find fixdep (%s)\n' $(fixdep) > $(dot-target).cmd; \ |
66 | 66 | printf '\# using basic dep data\n\n' >> $(dot-target).cmd; \ |
67 | 67 | cat $(depfile) >> $(dot-target).cmd; \ |
68 | - printf '%s\n' 'cmd_$@ := $(make-cmd)' >> $(dot-target).cmd) | |
68 | + printf '\n%s\n' 'cmd_$@ := $(make-cmd)' >> $(dot-target).cmd) | |
69 | 69 | |
70 | 70 | ### |
71 | 71 | # if_changed_dep - execute command if any prerequisite is newer than |