android_kernel_oneplus_msm8998/tools/testing/selftests/powerpc/mm/Makefile
Paul Mackerras 3776c20967 selftests/powerpc: Add subpage protection self test.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

mpe: Fix compile errors and formatting. Add tempfile logic to Makefile.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-01-23 14:02:49 +11:00

21 lines
298 B
Makefile

noarg:
$(MAKE) -C ../
PROGS := hugetlb_vs_thp_test subpage_prot
all: $(PROGS) tempfile
$(PROGS): ../harness.c
run_tests: all
@-for PROG in $(PROGS); do \
./$$PROG; \
done;
tempfile:
dd if=/dev/zero of=tempfile bs=64k count=1
clean:
rm -f $(PROGS) tempfile
.PHONY: all run_tests clean