blob: 4d68dc43d0ac905d09d2e8555a5dd6030be6fe23 [file] [log] [blame]
Pascal Brandc639ac82015-07-02 08:53:34 +02001# 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.
4ifeq ($O,)
5$(error output path should be specified when calling this makefile)
6endif
7
8TA_DIRS := create_fail_test \
9 crypt \
10 os_test \
11 rpc_test \
12 sims \
13 storage
14
Jerome Forissiere3688342015-09-24 10:45:17 -070015ifdef CFG_GP_PACKAGE_PATH
Pascal Brandc639ac82015-07-02 08:53:34 +020016TA_DIRS += GP_TTA_Arithmetical \
17 GP_TTA_Crypto \
18 GP_TTA_DS \
19 GP_TTA_TCF \
20 GP_TTA_TCF_ICA \
21 GP_TTA_TCF_ICA2 \
22 GP_TTA_TCF_MultipleInstanceTA \
23 GP_TTA_TCF_SingleInstanceTA \
24 GP_TTA_Time \
25 GP_TTA_answerErrorTo_Invoke \
26 GP_TTA_answerErrorTo_OpenSession \
27 GP_TTA_answerSuccessTo_OpenSession_Invoke \
28 GP_TTA_check_OpenSession_with_4_parameters \
29 GP_TTA_testingClientAPI
30endif
31
32.PHONY: all
33all: ta
34
35.PHONY: ta
36ta:
37 $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) &&) true
38
39.PHONY: clean
40clean:
41 $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) $@ &&) true