summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/mm/Makefile
blob: a14c538dd7f8d6068fe80bc4427a8e72e0cb94e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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