GNU Linux-libre 4.19.264-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 segv_errors
6 TEST_GEN_PROGS_EXTENDED := tlbie_test
7 TEST_GEN_FILES := tempfile
8
9 top_srcdir = ../../../../..
10 include ../../lib.mk
11
12 $(TEST_GEN_PROGS): ../harness.c
13
14 $(OUTPUT)/prot_sao: ../utils.c
15
16 $(OUTPUT)/tempfile:
17         dd if=/dev/zero of=$@ bs=64k count=1
18
19 $(OUTPUT)/tlbie_test: LDLIBS += -lpthread