diff options
author | Evan Lloyd <evan.lloyd@arm.com> | 2015-12-02 18:17:37 +0000 |
---|---|---|
committer | Evan Lloyd <evan.lloyd@arm.com> | 2016-04-01 12:33:09 +0100 |
commit | 231c14702cd42400a9dcbda20e8173e1ce9d75bd (patch) | |
tree | f7b53603e62f2ac25062dbaa2400fc7b966611dd /bl32/tsp | |
parent | 4c51badfb52128a186e1ed3ae63b324d89a69fbd (diff) |
Make:Remove calls to shell from makefiles.
As an initial stage of making Trusted Firmware build environment more
portable, we remove most uses of the $(shell ) function and replace them
with more portable make function based solutions.
Note that the setting of BUILD_STRING still uses $(shell ) since it's
not possible to reimplement this as a make function. Avoiding invocation
of this on incompatible host platforms will be implemented separately.
Change-Id: I768e2f9a265c78814a4adf2edee4cc46cda0f5b8
Diffstat (limited to 'bl32/tsp')
-rw-r--r-- | bl32/tsp/tsp.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bl32/tsp/tsp.mk b/bl32/tsp/tsp.mk index 9919fe4f..a5024284 100644 --- a/bl32/tsp/tsp.mk +++ b/bl32/tsp/tsp.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -52,8 +52,8 @@ $(eval $(call add_define,TSP_INIT_ASYNC)) # 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 := $(shell find plat/ -wholename '*/${PLAT}/tsp/tsp-${PLAT}.mk') -ifeq (,$(wildcard ${TSP_PLAT_MAKEFILE})) +TSP_PLAT_MAKEFILE := $(wildcard ${PLAT_DIR}/tsp/tsp-${PLAT}.mk) +ifeq (,${TSP_PLAT_MAKEFILE}) $(error TSP is not supported on platform ${PLAT}) else include ${TSP_PLAT_MAKEFILE} |