xref: /linux/tools/testing/selftests/powerpc/mm/Makefile (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2d34b661bSMichael Ellermannoarg:
3d34b661bSMichael Ellerman	$(MAKE) -C ../
4d34b661bSMichael Ellerman
588baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
688baa78dSbamvor.zhangjian@huawei.comTEST_GEN_FILES := tempfile
724af8c5aSMichael Ellerman
86faeeea4SMichael Ellermaninclude ../../lib.mk
9d34b661bSMichael Ellerman
1088baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c
1188baa78dSbamvor.zhangjian@huawei.com
12a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/prot_sao: ../utils.c
1388baa78dSbamvor.zhangjian@huawei.com
14a8ba798bSbamvor.zhangjian@huawei.com$(OUTPUT)/tempfile:
15a8ba798bSbamvor.zhangjian@huawei.com	dd if=/dev/zero of=$@ bs=64k count=1
163776c209SPaul Mackerras
17