diff --git a/src/plat/exynos4/machine/Makefile b/src/plat/exynos4/machine/Makefile
index 85384f1e56eea008775320755094bb0f09446702..bdca398dc24b343f2d1c1b252b3b39747e95cc78 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 1f385e56545cef44b9e00836d816e77cb8f548fd..9fd26d1682b41be2791fb9474edab829f9d7acb1 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 c282791cec24c52bfcc876307836eef562557dca..2814f7b9b5848b990b7b86ed1913c71fc4ba4911 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 00c06c5fc5b3e1b84f6c2e692cdd203e783c9183..80b5e98541e97d883711dc2bbe869c28c3bd422b 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