WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / powerpc / mm / Makefile
blobdefe488d6bf111b5469e7c9059e0e92c91603360
1 # SPDX-License-Identifier: GPL-2.0
2 noarg:
3 $(MAKE) -C ../
5 TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \
6 large_vm_fork_separation bad_accesses pkey_exec_prot \
7 pkey_siginfo stack_expansion_signal stack_expansion_ldst
9 TEST_GEN_PROGS_EXTENDED := tlbie_test
10 TEST_GEN_FILES := tempfile
12 top_srcdir = ../../../../..
13 include ../../lib.mk
15 $(TEST_GEN_PROGS): ../harness.c ../utils.c
17 $(OUTPUT)/prot_sao: ../utils.c
19 $(OUTPUT)/wild_bctr: CFLAGS += -m64
20 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64
21 $(OUTPUT)/bad_accesses: CFLAGS += -m64
22 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64
23 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64
25 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c
27 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector
28 $(OUTPUT)/stack_expansion_ldst: ../utils.c
30 $(OUTPUT)/tempfile:
31 dd if=/dev/zero of=$@ bs=64k count=1
33 $(OUTPUT)/tlbie_test: LDLIBS += -lpthread
34 $(OUTPUT)/pkey_siginfo: LDLIBS += -lpthread