summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/mm/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/mm/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/testing/selftests/powerpc/mm/Makefile b/tools/testing/selftests/powerpc/mm/Makefile
index 3bdb96eae558..d5633783c82e 100644
--- a/tools/testing/selftests/powerpc/mm/Makefile
+++ b/tools/testing/selftests/powerpc/mm/Makefile
@@ -1,19 +1,15 @@
noarg:
$(MAKE) -C ../
-TEST_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
-TEST_FILES := tempfile
+TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
+TEST_GEN_FILES := tempfile
-all: $(TEST_PROGS) $(TEST_FILES)
+include ../../lib.mk
-$(TEST_PROGS): ../harness.c
+$(TEST_GEN_PROGS): ../harness.c
prot_sao: ../utils.c
-include ../../lib.mk
-
tempfile:
dd if=/dev/zero of=tempfile bs=64k count=1
-clean:
- rm -f $(TEST_PROGS) tempfile