diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-03-12 16:47:12 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-03-13 14:19:13 +0000 |
commit | 853cf4176887be4b8d7483c99826cd5049fd40b2 (patch) | |
tree | 13a80268a42e238deb029960dc795948754d22b5 | |
parent | 44b4423b92f33f73e5b11c83b91cf944eaf16693 (diff) | |
download | trusted-firmware-a-853cf4176887be4b8d7483c99826cd5049fd40b2.tar.gz |
TSP: Make the platform-specific makefile mandatoryv0.3-Juno
This patch should be integrated into mainline at some point.
-rw-r--r-- | bl32/tsp/tsp.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bl32/tsp/tsp.mk b/bl32/tsp/tsp.mk index a16c97026c..748b5d4d14 100644 --- a/bl32/tsp/tsp.mk +++ b/bl32/tsp/tsp.mk @@ -52,5 +52,12 @@ vpath %.c ${BL32_ROOT} vpath %.c ${BL32_ROOT}/${ARCH} vpath %.S ${BL32_ROOT}/${ARCH} -# Include an optional platform-specific TSP Makefile --include bl32/tsp/tsp-${PLAT}.mk +# Include the platform-specific TSP Makefile +# If no platform-specific TSP Makefile exists, it means TSP is not supported +# on this platform. +TSP_PLAT_MAKEFILE := bl32/tsp/tsp-${PLAT}.mk +ifeq (,$(wildcard ${TSP_PLAT_MAKEFILE})) + $(error TSP is not supported on platform ${PLAT}) +else + include ${TSP_PLAT_MAKEFILE} +endif |