From 986de677428447e98f036b7d7d1825e2b6abe5a9 Mon Sep 17 00:00:00 2001
From: akroh <Alexander.Kroh@nicta.com.au>
Date: Tue, 6 Jan 2015 17:58:20 +1100
Subject: [PATCH] trivial: fix directory listings

---
 src/plat/exynos4/machine/Makefile | 3 ++-
 src/plat/exynos5/machine/Makefile | 3 ++-
 src/plat/imx31/machine/Makefile   | 2 +-
 src/plat/imx6/machine/Makefile    | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/plat/exynos4/machine/Makefile b/src/plat/exynos4/machine/Makefile
index 85384f1e5..bdca398dc 100644
--- a/src/plat/exynos4/machine/Makefile
+++ b/src/plat/exynos4/machine/Makefile
@@ -8,7 +8,8 @@
 # @TAG(GD_GPL)
 #
 
-DIRECTORIES += src/plat/exynos4/machine
+DIRECTORIES += src/plat/${PLAT}/machine
+DIRECTORIES += src/plat/exynos_common
 
 PLAT_C_SOURCES += machine/hardware.c
 
diff --git a/src/plat/exynos5/machine/Makefile b/src/plat/exynos5/machine/Makefile
index 1f385e565..9fd26d168 100644
--- a/src/plat/exynos5/machine/Makefile
+++ b/src/plat/exynos5/machine/Makefile
@@ -8,7 +8,8 @@
 # @TAG(GD_GPL)
 #
 
-DIRECTORIES += src/plat/exynos5/machine
+DIRECTORIES += src/plat/${PLAT}/machine
+DIRECTORIES += src/plat/exynos_common
 
 PLAT_C_SOURCES += machine/hardware.c \
                   machine/l2cache.c
diff --git a/src/plat/imx31/machine/Makefile b/src/plat/imx31/machine/Makefile
index c282791ce..2814f7b9b 100644
--- a/src/plat/imx31/machine/Makefile
+++ b/src/plat/imx31/machine/Makefile
@@ -8,7 +8,7 @@
 # @TAG(GD_GPL)
 #
 
-DIRECTORIES += src/plat/imx31/machine
+DIRECTORIES += src/plat/${PLAT}/machine
 
 PLAT_C_SOURCES += machine/hardware.c
 
diff --git a/src/plat/imx6/machine/Makefile b/src/plat/imx6/machine/Makefile
index 00c06c5fc..80b5e9854 100644
--- a/src/plat/imx6/machine/Makefile
+++ b/src/plat/imx6/machine/Makefile
@@ -8,7 +8,7 @@
 # @TAG(GD_GPL)
 #
 
-DIRECTORIES += src/plat/exynos/machine
+DIRECTORIES += src/plat/${PLAT}/machine
 
 PLAT_C_SOURCES += machine/hardware.c 
 
-- 
GitLab