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

5
TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors
6
TEST_GEN_PROGS_EXTENDED := tlbie_test
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 17
$(OUTPUT)/tempfile:
	dd if=/dev/zero of=$@ bs=64k count=1
18

19
$(OUTPUT)/tlbie_test: LDLIBS += -lpthread