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 | |
| 8 | TA_DIRS := create_fail_test \ |
| 9 | crypt \ |
| 10 | os_test \ |
| 11 | rpc_test \ |
| 12 | sims \ |
Jens Wiklander | ac27ec1 | 2015-07-15 15:23:14 +0200 | [diff] [blame^] | 13 | storage \ |
| 14 | concurrent |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 15 | |
Jerome Forissier | e368834 | 2015-09-24 10:45:17 -0700 | [diff] [blame] | 16 | ifdef CFG_GP_PACKAGE_PATH |
Pascal Brand | c639ac8 | 2015-07-02 08:53:34 +0200 | [diff] [blame] | 17 | TA_DIRS += GP_TTA_Arithmetical \ |
| 18 | GP_TTA_Crypto \ |
| 19 | GP_TTA_DS \ |
| 20 | GP_TTA_TCF \ |
| 21 | GP_TTA_TCF_ICA \ |
| 22 | GP_TTA_TCF_ICA2 \ |
| 23 | GP_TTA_TCF_MultipleInstanceTA \ |
| 24 | GP_TTA_TCF_SingleInstanceTA \ |
| 25 | GP_TTA_Time \ |
| 26 | GP_TTA_answerErrorTo_Invoke \ |
| 27 | GP_TTA_answerErrorTo_OpenSession \ |
| 28 | GP_TTA_answerSuccessTo_OpenSession_Invoke \ |
| 29 | GP_TTA_check_OpenSession_with_4_parameters \ |
| 30 | GP_TTA_testingClientAPI |
| 31 | endif |
| 32 | |
| 33 | .PHONY: all |
| 34 | all: ta |
| 35 | |
| 36 | .PHONY: ta |
| 37 | ta: |
| 38 | $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) &&) true |
| 39 | |
| 40 | .PHONY: clean |
| 41 | clean: |
| 42 | $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) $@ &&) true |