Commit 853cf417 authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

TSP: Make the platform-specific makefile mandatory

This patch should be integrated into mainline at some point.
No related merge requests found
Showing with 9 additions and 2 deletions
+9 -2
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment