Build: Install BL1 related configs in the NS tree
Currently the default configurations for BL1_1 and BL1_2
are not used anywhere but this change is required in
preparation of the BL1 refactor change.
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: Ib8c872758d9683d7220456b7fc751f2f3ca1b900
diff --git a/cmake/install.cmake b/cmake/install.cmake
index b2e2d69..f023d1f 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -22,6 +22,14 @@
####################### export headers #########################################
+if (BL1 AND PLATFORM_DEFAULT_BL1)
+ install(DIRECTORY ${BL1_1_CONFIG_DIR}/
+ DESTINATION ${INSTALL_PLATFORM_NS_DIR}/bl1_1_config)
+
+ install(DIRECTORY ${BL1_2_CONFIG_DIR}/
+ DESTINATION ${INSTALL_PLATFORM_NS_DIR}/bl1_2_config)
+endif()
+
install(FILES ${INTERFACE_INC_DIR}/psa/client.h
${INTERFACE_INC_DIR}/psa/error.h
DESTINATION ${INSTALL_INTERFACE_INC_DIR}/psa)