blob: 546d4cb75e4744907df41e23da99a3606fb5718e [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 \
Jens Wiklanderac27ec12015-07-15 15:23:14 +020013 storage \
14 concurrent
Pascal Brandc639ac82015-07-02 08:53:34 +020015
Jerome Forissiere3688342015-09-24 10:45:17 -070016ifdef CFG_GP_PACKAGE_PATH
Pascal Brandc639ac82015-07-02 08:53:34 +020017TA_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
31endif
32
33.PHONY: all
34all: ta
35
36.PHONY: ta
37ta:
38 $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) &&) true
39
40.PHONY: clean
41clean:
42 $(q)$(foreach dir,$(TA_DIRS), $(MAKE) -C $(dir) O=$(O)/$(dir) $@ &&) true