aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile
index 2958fe9a74e9..5ad042345ab9 100644
--- a/tools/testing/selftests/powerpc/Makefile
+++ b/tools/testing/selftests/powerpc/Makefile
@@ -12,37 +12,37 @@ CFLAGS := -Wall -O2 -flto -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CUR
12 12
13export CFLAGS 13export CFLAGS
14 14
15TARGETS = pmu copyloops mm tm primitives stringloops 15SUB_DIRS = pmu copyloops mm tm primitives stringloops vphn switch_endian
16 16
17endif 17endif
18 18
19all: $(TARGETS) 19all: $(SUB_DIRS)
20 20
21$(TARGETS): 21$(SUB_DIRS):
22 $(MAKE) -k -C $@ all 22 $(MAKE) -k -C $@ all
23 23
24include ../lib.mk 24include ../lib.mk
25 25
26override define RUN_TESTS 26override define RUN_TESTS
27 @for TARGET in $(TARGETS); do \ 27 @for TARGET in $(SUB_DIRS); do \
28 $(MAKE) -C $$TARGET run_tests; \ 28 $(MAKE) -C $$TARGET run_tests; \
29 done; 29 done;
30endef 30endef
31 31
32override define INSTALL_RULE 32override define INSTALL_RULE
33 @for TARGET in $(TARGETS); do \ 33 @for TARGET in $(SUB_DIRS); do \
34 $(MAKE) -C $$TARGET install; \ 34 $(MAKE) -C $$TARGET install; \
35 done; 35 done;
36endef 36endef
37 37
38override define EMIT_TESTS 38override define EMIT_TESTS
39 @for TARGET in $(TARGETS); do \ 39 @for TARGET in $(SUB_DIRS); do \
40 $(MAKE) -s -C $$TARGET emit_tests; \ 40 $(MAKE) -s -C $$TARGET emit_tests; \
41 done; 41 done;
42endef 42endef
43 43
44clean: 44clean:
45 @for TARGET in $(TARGETS); do \ 45 @for TARGET in $(SUB_DIRS); do \
46 $(MAKE) -C $$TARGET clean; \ 46 $(MAKE) -C $$TARGET clean; \
47 done; 47 done;
48 rm -f tags 48 rm -f tags
@@ -50,4 +50,4 @@ clean:
50tags: 50tags:
51 find . -name '*.c' -o -name '*.h' | xargs ctags 51 find . -name '*.c' -o -name '*.h' | xargs ctags
52 52
53.PHONY: tags $(TARGETS) 53.PHONY: tags $(SUB_DIRS)