diff options
-rw-r--r-- | tools/testing/selftests/powerpc/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/testing/selftests/powerpc/Makefile b/tools/testing/selftests/powerpc/Makefile index 476b8dd9275f..27dff8241de3 100644 --- a/tools/testing/selftests/powerpc/Makefile +++ b/tools/testing/selftests/powerpc/Makefile | |||
@@ -13,22 +13,22 @@ CFLAGS := -Wall -O2 -flto -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CUR | |||
13 | 13 | ||
14 | export CC CFLAGS | 14 | export CC CFLAGS |
15 | 15 | ||
16 | TARGETS = pmu copyloops mm tm primitives stringloops vphn | 16 | SUB_DIRS = pmu copyloops mm tm primitives stringloops vphn |
17 | 17 | ||
18 | endif | 18 | endif |
19 | 19 | ||
20 | all: $(TARGETS) | 20 | all: $(SUB_DIRS) |
21 | 21 | ||
22 | $(TARGETS): | 22 | $(SUB_DIRS): |
23 | $(MAKE) -k -C $@ all | 23 | $(MAKE) -k -C $@ all |
24 | 24 | ||
25 | run_tests: all | 25 | run_tests: all |
26 | @for TARGET in $(TARGETS); do \ | 26 | @for TARGET in $(SUB_DIRS); do \ |
27 | $(MAKE) -C $$TARGET run_tests; \ | 27 | $(MAKE) -C $$TARGET run_tests; \ |
28 | done; | 28 | done; |
29 | 29 | ||
30 | clean: | 30 | clean: |
31 | @for TARGET in $(TARGETS); do \ | 31 | @for TARGET in $(SUB_DIRS); do \ |
32 | $(MAKE) -C $$TARGET clean; \ | 32 | $(MAKE) -C $$TARGET clean; \ |
33 | done; | 33 | done; |
34 | rm -f tags | 34 | rm -f tags |
@@ -36,4 +36,4 @@ clean: | |||
36 | tags: | 36 | tags: |
37 | find . -name '*.c' -o -name '*.h' | xargs ctags | 37 | find . -name '*.c' -o -name '*.h' | xargs ctags |
38 | 38 | ||
39 | .PHONY: all run_tests clean tags $(TARGETS) | 39 | .PHONY: all run_tests clean tags $(SUB_DIRS) |