1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2d34b661bSMichael Ellermannoarg: 3d34b661bSMichael Ellerman $(MAKE) -C ../ 4d34b661bSMichael Ellerman 5*b7683fc6SMichael EllermanTEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr 688baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES := tempfile 724af8c5aSMichael Ellerman 87e0cf1c9SMichael Ellermantop_srcdir = ../../../../.. 96faeeea4SMichael Ellermaninclude ../../lib.mk 10d34b661bSMichael Ellerman 1188baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c 1288baa78dSbamvor.zhangjian@huawei.com 13a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/prot_sao: ../utils.c 1488baa78dSbamvor.zhangjian@huawei.com 15*b7683fc6SMichael Ellerman$(OUTPUT)/wild_bctr: CFLAGS += -m64 16*b7683fc6SMichael Ellerman 17a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tempfile: 18a8ba798bSbamvor.zhangjian@huawei.com dd if=/dev/zero of=$@ bs=64k count=1 193776c209SPaul Mackerras 20