OpenCloudOS-Kernel/tools/testing/selftests/powerpc/mm/Makefile

20 lines
303 B
Makefile

noarg:
$(MAKE) -C ../
TEST_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
TEST_FILES := tempfile
all: $(TEST_PROGS) $(TEST_FILES)
$(TEST_PROGS): ../harness.c
prot_sao: ../utils.c
include ../../lib.mk
tempfile:
dd if=/dev/zero of=tempfile bs=64k count=1
clean:
rm -f $(TEST_PROGS) tempfile