aboutsummaryrefslogtreecommitdiff
path: root/core/core.mk
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2014-09-01 13:41:48 +0200
committerJerome Forissier <jerome.forissier@linaro.org>2014-09-02 09:00:57 +0200
commit0047cb63e905a83006d0b8a09218d028c1ca6f1a (patch)
treee62c2f9eed114a9720033ee93529b3113246b345 /core/core.mk
parent92542a710463ded7e5d314183b4c5b3df92aa1b9 (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 'core/core.mk')
-rw-r--r--core/core.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/core.mk b/core/core.mk
index 6a6ba5df..200f1ef4 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -4,9 +4,9 @@ include mk/cleanvars.mk
sm := core
sm-$(sm) := y
-arch-dir := core/arch/$(ARCH)
-platform-dir := $(arch-dir)/plat-$(PLATFORM)
-include $(platform-dir)/conf.mk
+arch-dir := core/arch/$(ARCH)/
+platform-dir := $(arch-dir)plat-$(PLATFORM)/
+include $(platform-dir)conf.mk
PLATFORM_FLAVOR ?= default
platform_$(PLATFORM) := y
@@ -51,6 +51,6 @@ include mk/lib.mk
subdirs = $(core-platform-subdirs) core
include mk/subdir.mk
include mk/compile.mk
-include $(platform-dir)/link.mk
+include $(platform-dir)link.mk