Makefile 462 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4
noarg:
	$(MAKE) -C ../

5 6
TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \
		  large_vm_fork_separation
7
TEST_GEN_FILES := tempfile
8

9
top_srcdir = ../../../../..
10
include ../../lib.mk
11

12
$(TEST_GEN_PROGS): ../harness.c
13

14
$(OUTPUT)/prot_sao: ../utils.c
15

16
$(OUTPUT)/wild_bctr: CFLAGS += -m64
17
$(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64
18

19 20
$(OUTPUT)/tempfile:
	dd if=/dev/zero of=$@ bs=64k count=1
21