Browse Source

Merge "build(juno): added error check for BL32 dependency" into integration

Manish V Badarkhe 10 months ago
parent
commit
b3d7e9c282
1 changed files with 5 additions and 1 deletions
  1. 5 1
      plat/arm/board/juno/platform.mk

+ 5 - 1
plat/arm/board/juno/platform.mk

@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2013-2023, ARM Limited and Contributors. All rights reserved.
+# Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -63,6 +63,10 @@ override BL31_SOURCES =
   ifneq (${ARCH}, aarch32)
     override BL32_SOURCES =
   endif
+else
+  ifeq (${ARCH}, aarch32)
+    $(error JUNO_AARCH32_EL3_RUNTIME has to be enabled to build BL32 for AArch32)
+  endif
 endif
 
 ifeq (${ARCH},aarch64)