GP tests: don't patch xtest_7000.c, create xtest_7000_gp.c instead

xtest_7000.c contains a subset of the GP tests in TEE.xml (the 29-*
series). When GP tests are enabled, instead of patching xtest_7000.c
we can just generate a new file called xtest_7000_gp.c with all the
tests from TEE.xml. This avoids modifying a source file that is managed
by Git.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM)
diff --git a/host/xtest/Makefile b/host/xtest/Makefile
index 85dd437..f891ddf 100644
--- a/host/xtest/Makefile
+++ b/host/xtest/Makefile
@@ -19,11 +19,15 @@
 OBJDUMP		:= $(CROSS_COMPILE)objdump
 READELF		:= $(CROSS_COMPILE)readelf
 
+ifdef CFG_GP_PACKAGE_PATH
+GP := _gp
+endif
+
 srcs := xtest_1000.c \
 	xtest_4000.c \
 	xtest_5000.c \
 	xtest_6000.c \
-	xtest_7000.c \
+	xtest_7000$(GP).c \
 	xtest_10000.c \
 	xtest_helpers.c \
 	xtest_main.c \