From 4334e8d79fa39fc26380b6f811ea5c4547c78450 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Mon, 8 Sep 2014 10:53:42 +0200 Subject: Makefile variables $(*-dir) should not have a trailing slash As a general rule, Makefile variables that are directories should not have a trailing slash, and should be used as: $(some-dir)/some-file rather than $(some-dir)some-file. This is more readable. --- core/core.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/core.mk') diff --git a/core/core.mk b/core/core.mk index 200f1ef4..6a6ba5df 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 -- cgit v1.2.3