feat(app): add code to parse app bin headers

Add code in lib/el0_app that is able to iterate over the attached app
bins, and save the header addresses.

Modify the boot code so that the parsing function in lib/el0_app is
called

Also update the build system so that the bin gnerating/bundling scripts
are called on the apps

Change-Id: I97c93edc58bd0fea25770f1d2001c1b2742e1f13
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/cmake/Modules/UnitTestFramework.cmake b/cmake/Modules/UnitTestFramework.cmake
index 48d3cf8..a6457f7 100644
--- a/cmake/Modules/UnitTestFramework.cmake
+++ b/cmake/Modules/UnitTestFramework.cmake
@@ -68,7 +68,7 @@
     add_custom_target(run-unittests
         WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
         COMMAND ctest "${CMAKE_CTEST_ARGUMENTS}" -C "$<CONFIG>"
-        DEPENDS rmm.elf rmm.map
+        DEPENDS rmm_core.elf rmm_core.map
     )
 endif()
 
@@ -115,7 +115,7 @@
             # Run all tests at once
             add_test(NAME "${arg_NAME}"
                     WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-                    COMMAND ${CMAKE_BINARY_DIR}/$<CONFIG>/rmm.elf
+                    COMMAND ${CMAKE_BINARY_DIR}/$<CONFIG>/rmm_core.elf
                             -g${arg_NAME}
                             -r${arg_ITERATIONS})
         else()
@@ -124,7 +124,7 @@
             foreach(TEST IN LISTS arg_RUN_ISOLATED_TESTS)
                 add_test(NAME "${arg_NAME}::${TEST}"
                          WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-                         COMMAND ${CMAKE_BINARY_DIR}/$<CONFIG>/rmm.elf
+                         COMMAND ${CMAKE_BINARY_DIR}/$<CONFIG>/rmm_core.elf
                                  -sg${arg_NAME}
                                  -sn${TEST})
             endforeach()