GNU Linux-libre 4.14.290-gnu1
[releases.git] / tools / testing / selftests / powerpc / mm / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 noarg:
3         $(MAKE) -C ../
4
5 TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
6 TEST_GEN_PROGS_EXTENDED := tlbie_test
7 TEST_GEN_FILES := tempfile
8
9 include ../../lib.mk
10
11 $(TEST_GEN_PROGS): ../harness.c
12
13 $(OUTPUT)/prot_sao: ../utils.c
14
15 $(OUTPUT)/tempfile:
16         dd if=/dev/zero of=$@ bs=64k count=1
17
18 $(OUTPUT)/tlbie_test: LDLIBS += -lpthread