1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2d34b661bSMichael Ellermannoarg: 3d34b661bSMichael Ellerman $(MAKE) -C ../ 4d34b661bSMichael Ellerman 55c9fa16eSNicholas PigginTEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot segv_errors wild_bctr \ 6*c27f2fd1SSandipan Das large_vm_fork_separation bad_accesses pkey_exec_prot \ 7*c27f2fd1SSandipan Das pkey_siginfo 893cad5f7SAneesh Kumar K.VTEST_GEN_PROGS_EXTENDED := tlbie_test 988baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES := tempfile 1024af8c5aSMichael Ellerman 117e0cf1c9SMichael Ellermantop_srcdir = ../../../../.. 126faeeea4SMichael Ellermaninclude ../../lib.mk 13d34b661bSMichael Ellerman 14c405b738SSandipan Das$(TEST_GEN_PROGS): ../harness.c ../utils.c 1588baa78dSbamvor.zhangjian@huawei.com 16b7683fc6SMichael Ellerman$(OUTPUT)/wild_bctr: CFLAGS += -m64 1716391bfcSMichael Ellerman$(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 185eb7cfb3SMichael Ellerman$(OUTPUT)/bad_accesses: CFLAGS += -m64 191addb644SSandipan Das$(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 20*c27f2fd1SSandipan Das$(OUTPUT)/pkey_siginfo: CFLAGS += -m64 21b7683fc6SMichael Ellerman 22a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tempfile: 23a8ba798bSbamvor.zhangjian@huawei.com dd if=/dev/zero of=$@ bs=64k count=1 243776c209SPaul Mackerras 2593cad5f7SAneesh Kumar K.V$(OUTPUT)/tlbie_test: LDLIBS += -lpthread 26*c27f2fd1SSandipan Das$(OUTPUT)/pkey_siginfo: LDLIBS += -lpthread 27