summaryrefslogtreecommitdiffstats
path: root/kernel/tools/testing/selftests/powerpc/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/testing/selftests/powerpc/mm/Makefile')
-rw-r--r--kernel/tools/testing/selftests/powerpc/mm/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/tools/testing/selftests/powerpc/mm/Makefile b/kernel/tools/testing/selftests/powerpc/mm/Makefile
new file mode 100644
index 000000000..41cc3ed66
--- /dev/null
+++ b/kernel/tools/testing/selftests/powerpc/mm/Makefile
@@ -0,0 +1,16 @@
+noarg:
+ $(MAKE) -C ../
+
+TEST_PROGS := hugetlb_vs_thp_test subpage_prot
+
+all: $(TEST_PROGS) tempfile
+
+$(TEST_PROGS): ../harness.c
+
+include ../../lib.mk
+
+tempfile:
+ dd if=/dev/zero of=tempfile bs=64k count=1
+
+clean:
+ rm -f $(TEST_PROGS) tempfile