Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 1 | # Normally this makefile shouldn't be called directly and we expect the output |
| 2 | # path to be on a certain location to fit together with the other OP-TEE |
| 3 | # gits and helper scripts. |
| 4 | ifeq ($O,) |
| 5 | $(error output path should be specified when calling this makefile) |
| 6 | endif |
| 7 | |
Sumit Garg | 0e00914 | 2015-11-04 15:34:07 -0500 | [diff] [blame] | 8 | # Prevent use of LDFLAGS from the environment. For example, yocto exports |
| 9 | # LDFLAGS that are suitable for the client applications, not for TAs |
| 10 | LDFLAGS= |
| 11 | |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 12 | TA_DIRS := create_fail_test \ |
| 13 | crypt \ |
| 14 | os_test \ |
| 15 | rpc_test \ |
| 16 | sims \ |
Jens Wiklander | ac27ec1 | 2015-07-15 15:23:14 +0200 | [diff] [blame] | 17 | storage \ |
Jerome Forissier | e385416 | 2016-08-12 12:40:12 +0200 | [diff] [blame] | 18 | storage2 \ |
James Kung | df1e6cf | 2015-09-14 22:42:24 +0800 | [diff] [blame] | 19 | concurrent \ |
Jens Wiklander | 7067297 | 2016-04-06 00:01:45 +0200 | [diff] [blame] | 20 | concurrent_large \ |
Igor Opaniuk | 136644a | 2016-09-13 13:40:56 +0300 | [diff] [blame] | 21 | storage_benchmark \ |
Igor Opaniuk | 44aff4b | 2016-09-16 10:18:00 +0300 | [diff] [blame^] | 22 | sha_perf \ |
| 23 | aes_perf |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 24 | |
Jerome Forissier | e368834 | 2015-09-24 10:45:17 -0700 | [diff] [blame] | 25 | ifdef CFG_GP_PACKAGE_PATH |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 26 | TA_DIRS += GP_TTA_Arithmetical \ |
| 27 | GP_TTA_Crypto \ |
| 28 | GP_TTA_DS \ |
| 29 | GP_TTA_TCF \ |
| 30 | GP_TTA_TCF_ICA \ |
| 31 | GP_TTA_TCF_ICA2 \ |
| 32 | GP_TTA_TCF_MultipleInstanceTA \ |
| 33 | GP_TTA_TCF_SingleInstanceTA \ |
| 34 | GP_TTA_Time \ |
| 35 | GP_TTA_answerErrorTo_Invoke \ |
| 36 | GP_TTA_answerErrorTo_OpenSession \ |
| 37 | GP_TTA_answerSuccessTo_OpenSession_Invoke \ |
| 38 | GP_TTA_check_OpenSession_with_4_parameters \ |
| 39 | GP_TTA_testingClientAPI |
| 40 | endif |
| 41 | |
| 42 | .PHONY: all |
| 43 | all: ta |
| 44 | |
| 45 | .PHONY: ta |
| 46 | ta: |
| 47 | $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) &&) true |
| 48 | |
| 49 | .PHONY: clean |
| 50 | clean: |
| 51 | $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) $@ &&) true |