summaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/platform.mk
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2015-07-21 10:16:13 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2015-07-24 09:25:35 +0530
commit1f95e28ce288af52ee4f8544b1456af7fca7e7bd (patch)
treee2d5e52ce60b899bb62580d8ac17f2408f70d7a3 /plat/nvidia/tegra/platform.mk
parente7d4caa298ccb88368523eeedc468a9747e7ef5e (diff)
Tegra: modify 'BUILD_PLAT' to point to soc specific build dirs
This patch modifies the 'BUILD_PLAT' makefile variable to point to the soc specific build directory in order to allow each Tegra soc to have its own build directory. This way we can keep the build outputs separate and can keep multiple soc specific builds alive at the same time. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat/nvidia/tegra/platform.mk')
-rw-r--r--plat/nvidia/tegra/platform.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/platform.mk b/plat/nvidia/tegra/platform.mk
index 0d6e525a..b9093354 100644
--- a/plat/nvidia/tegra/platform.mk
+++ b/plat/nvidia/tegra/platform.mk
@@ -32,3 +32,6 @@ SOC_DIR := plat/nvidia/tegra/soc/${TARGET_SOC}
include plat/nvidia/tegra/common/tegra_common.mk
include ${SOC_DIR}/platform_${TARGET_SOC}.mk
+
+# modify BUILD_PLAT to point to SoC specific build directory
+BUILD_PLAT := ${BUILD_BASE}/${PLAT}/${TARGET_SOC}/${BUILD_TYPE}