From 6d6aea6e61130977284b6a3f8ef283635ed9c4b3 Mon Sep 17 00:00:00 2001
From: Jon Medhurst <tixy@linaro.org>
Date: Wed, 19 Feb 2014 09:00:36 +0000
Subject: [PATCH] Add optional BL30 to fip make rule

Signed-off-by: Jon Medhurst <tixy@linaro.org>
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 5672f005f..fa47edefa 100644
--- a/Makefile
+++ b/Makefile
@@ -378,6 +378,11 @@ ifeq (${NEED_BL2},yes)
 $(eval $(call MAKE_BL,2,in_fip))
 endif
 
+ifneq (${BL30},)
+FIP_DEPS += ${BL30}
+FIP_ARGS += --bl30 ${BL30}
+endif
+
 ifeq (${NEED_BL31},yes)
 BL31_SOURCES += ${SPD_SOURCES}
 $(eval $(call MAKE_BL,31,in_fip))
-- 
GitLab