diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2014-09-01 13:41:48 +0200 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2014-09-02 09:00:57 +0200 |
commit | 0047cb63e905a83006d0b8a09218d028c1ca6f1a (patch) | |
tree | e62c2f9eed114a9720033ee93529b3113246b345 /mk/compile.mk | |
parent | 92542a710463ded7e5d314183b4c5b3df92aa1b9 (diff) |
Cosmetic fixes for build output
By default, the OP-TEE build shows abbreviated output similar to the Linux
kernel. This commit fixes a number of deviations/inconsistencies.
- Always print a command in uppercase, followed by the target file.
- Make sure commands and file paths are nicely aligned, with two leading spaces
to make command output/errors better stand out.
- Remove some duplicate slashes in file paths. We use the following rule:
variables that hold directory names such as $(arch-dir) or $(platform-dir)
always have a trailing slash. The 'subdirs' and 'incdirs' variables used in
sub-makefiles are an exception because doing otherwise would needlessly
clutter the sub-makefiles.
Diffstat (limited to 'mk/compile.mk')
-rw-r--r-- | mk/compile.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/compile.mk b/mk/compile.mk index fdfc283f..7e3da31f 100644 --- a/mk/compile.mk +++ b/mk/compile.mk @@ -97,7 +97,7 @@ $2: $1 FORCE $$(filter-out $$(old-cmd-$2), $$(comp-cmd-$2))), \ @set -e ;\ mkdir -p $$(dir $2) ;\ - echo [$$(comp-sm-$2)] CC $1 ;\ + echo ' CC $$@' ;\ $(cmd-echo) $$(subst \",\\\",$$(comp-cmd-$2)) ;\ $$(comp-cmd-$2) ;\ echo "old-cmd-$2 := $$(subst \",\\\",$$(comp-cmd-$2))" > \ |