Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Michael Ellerman | d34b661 | 2014-05-28 18:21:18 +1000 | [diff] [blame] | 2 | noarg: |
| 3 | $(MAKE) -C ../ |
| 4 | |
Shawn Anastasio | 1256448 | 2020-08-21 13:55:56 -0500 | [diff] [blame^] | 5 | TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \ |
Sandipan Das | c27f2fd1 | 2020-07-27 09:30:40 +0530 | [diff] [blame] | 6 | large_vm_fork_separation bad_accesses pkey_exec_prot \ |
Michael Ellerman | c9938a9 | 2020-07-24 19:25:24 +1000 | [diff] [blame] | 7 | pkey_siginfo stack_expansion_signal stack_expansion_ldst |
| 8 | |
Aneesh Kumar K.V | 93cad5f | 2019-09-24 09:22:54 +0530 | [diff] [blame] | 9 | TEST_GEN_PROGS_EXTENDED := tlbie_test |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 10 | TEST_GEN_FILES := tempfile |
Michael Ellerman | 24af8c5 | 2016-07-11 15:25:18 +1000 | [diff] [blame] | 11 | |
Michael Ellerman | 7e0cf1c | 2018-09-28 14:53:18 +1000 | [diff] [blame] | 12 | top_srcdir = ../../../../.. |
Michael Ellerman | 6faeeea | 2015-03-11 15:06:01 +1100 | [diff] [blame] | 13 | include ../../lib.mk |
Michael Ellerman | d34b661 | 2014-05-28 18:21:18 +1000 | [diff] [blame] | 14 | |
Sandipan Das | c405b73 | 2020-06-04 18:26:09 +0530 | [diff] [blame] | 15 | $(TEST_GEN_PROGS): ../harness.c ../utils.c |
bamvor.zhangjian@huawei.com | 88baa78 | 2016-11-29 19:55:47 +0800 | [diff] [blame] | 16 | |
Shawn Anastasio | 1256448 | 2020-08-21 13:55:56 -0500 | [diff] [blame^] | 17 | $(OUTPUT)/prot_sao: ../utils.c |
| 18 | |
Michael Ellerman | b7683fc | 2018-07-24 15:53:22 +1000 | [diff] [blame] | 19 | $(OUTPUT)/wild_bctr: CFLAGS += -m64 |
Michael Ellerman | 16391bf | 2019-06-13 12:07:59 +1000 | [diff] [blame] | 20 | $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 |
Michael Ellerman | 5eb7cfb | 2019-05-20 20:20:51 +1000 | [diff] [blame] | 21 | $(OUTPUT)/bad_accesses: CFLAGS += -m64 |
Sandipan Das | 1addb64 | 2020-06-04 18:26:10 +0530 | [diff] [blame] | 22 | $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 |
Sandipan Das | c27f2fd1 | 2020-07-27 09:30:40 +0530 | [diff] [blame] | 23 | $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 |
Michael Ellerman | b7683fc | 2018-07-24 15:53:22 +1000 | [diff] [blame] | 24 | |
Michael Ellerman | c9938a9 | 2020-07-24 19:25:24 +1000 | [diff] [blame] | 25 | $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c |
| 26 | |
| 27 | $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector |
| 28 | $(OUTPUT)/stack_expansion_ldst: ../utils.c |
| 29 | |
bamvor.zhangjian@huawei.com | a8ba798 | 2016-11-29 19:55:52 +0800 | [diff] [blame] | 30 | $(OUTPUT)/tempfile: |
| 31 | dd if=/dev/zero of=$@ bs=64k count=1 |
Paul Mackerras | 3776c20 | 2014-12-09 11:44:07 +0530 | [diff] [blame] | 32 | |
Aneesh Kumar K.V | 93cad5f | 2019-09-24 09:22:54 +0530 | [diff] [blame] | 33 | $(OUTPUT)/tlbie_test: LDLIBS += -lpthread |
Sandipan Das | c27f2fd1 | 2020-07-27 09:30:40 +0530 | [diff] [blame] | 34 | $(OUTPUT)/pkey_siginfo: LDLIBS += -lpthread |