diff options
Diffstat (limited to 'tools/testing/selftests/powerpc/Makefile')
-rw-r--r-- | tools/testing/selftests/powerpc/Makefile | 16 |
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 | ||
13 | export CFLAGS | 13 | export CFLAGS |
14 | 14 | ||
15 | TARGETS = pmu copyloops mm tm primitives stringloops | 15 | SUB_DIRS = pmu copyloops mm tm primitives stringloops vphn switch_endian |
16 | 16 | ||
17 | endif | 17 | endif |
18 | 18 | ||
19 | all: $(TARGETS) | 19 | all: $(SUB_DIRS) |
20 | 20 | ||
21 | $(TARGETS): | 21 | $(SUB_DIRS): |
22 | $(MAKE) -k -C $@ all | 22 | $(MAKE) -k -C $@ all |
23 | 23 | ||
24 | include ../lib.mk | 24 | include ../lib.mk |
25 | 25 | ||
26 | override define RUN_TESTS | 26 | override 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; |
30 | endef | 30 | endef |
31 | 31 | ||
32 | override define INSTALL_RULE | 32 | override 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; |
36 | endef | 36 | endef |
37 | 37 | ||
38 | override define EMIT_TESTS | 38 | override 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; |
42 | endef | 42 | endef |
43 | 43 | ||
44 | clean: | 44 | clean: |
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: | |||
50 | tags: | 50 | tags: |
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) |