Create generic FF-A SP environment

Currently the boot method of SPs is SPMC specific. Each SPMC uses a
different binary format and different boot method. An SPMC agonistic
binary format and boot method has been defined, to remove
fragmentation. This is called "generic FF-A SP" here. All SPMC
implementations developed or contributed by Arm will add support for
this format. This change adds a new environment to capture the SPMC
independent binary format and boot method specifics.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I60b6a7103ee2a8188b0676a0ded5fe2a8bdf9cf9
diff --git a/tools/cmake/compiler/GCC.cmake b/tools/cmake/compiler/GCC.cmake
index 33200a1..5a8fa59 100644
--- a/tools/cmake/compiler/GCC.cmake
+++ b/tools/cmake/compiler/GCC.cmake
@@ -182,7 +182,7 @@
 #]===]
 function(compiler_generate_binary_output)
 	set(options)
-	set(oneValueArgs TARGET)
+	set(oneValueArgs TARGET NAME RES)
 	set(multiValueArgs)
 	cmake_parse_arguments(MY "${options}" "${oneValueArgs}"
 						"${multiValueArgs}" ${ARGN} )
@@ -190,9 +190,9 @@
 		TARGET ${MY_TARGET} POST_BUILD
 		COMMAND ${CMAKE_OBJCOPY} -O binary
 				$<TARGET_FILE:${MY_TARGET}>
-				$<TARGET_FILE_DIR:${MY_TARGET}>/${MY_TARGET}.bin)
+				$<TARGET_FILE_DIR:${MY_TARGET}>/${MY_NAME})
 	if (MY_RES)
-		set(${MY_RES} $<TARGET_FILE_DIR:${MY_TARGET}>/${MY_TARGET}.bin PARENT_SCOPE)
+		set(${MY_RES} $<TARGET_FILE_DIR:${MY_TARGET}>/${MY_NAME} PARENT_SCOPE)
 	endif()
 
 endfunction()