xref: /linux/tools/testing/selftests/powerpc/mm/Makefile (revision 7e0cf1c983b5b24426d130fd949a055d520acc9a)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2d34b661bSMichael Ellermannoarg:
3d34b661bSMichael Ellerman	$(MAKE) -C ../
4d34b661bSMichael Ellerman
56ed36158SMichael EllermanTEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors
688baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES := tempfile
724af8c5aSMichael Ellerman
8*7e0cf1c9SMichael 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
15a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tempfile:
16a8ba798bSbamvor.zhangjian@huawei.com	dd if=/dev/zero of=$@ bs=64k count=1
173776c209SPaul Mackerras
18