aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/kvm/Makefile')
-rw-r--r--tools/testing/selftests/kvm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
index 01a219229238..f9a0e9938480 100644
--- a/tools/testing/selftests/kvm/Makefile
+++ b/tools/testing/selftests/kvm/Makefile
@@ -1,6 +1,7 @@
1all: 1all:
2 2
3top_srcdir = ../../../.. 3top_srcdir = ../../../..
4KSFT_KHDR_INSTALL := 1
4UNAME_M := $(shell uname -m) 5UNAME_M := $(shell uname -m)
5 6
6LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebit.c 7LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebit.c
@@ -14,9 +15,12 @@ TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
14TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test 15TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test
15TEST_GEN_PROGS_x86_64 += x86_64/state_test 16TEST_GEN_PROGS_x86_64 += x86_64/state_test
16TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test 17TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test
18TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid
17TEST_GEN_PROGS_x86_64 += dirty_log_test 19TEST_GEN_PROGS_x86_64 += dirty_log_test
20TEST_GEN_PROGS_x86_64 += clear_dirty_log_test
18 21
19TEST_GEN_PROGS_aarch64 += dirty_log_test 22TEST_GEN_PROGS_aarch64 += dirty_log_test
23TEST_GEN_PROGS_aarch64 += clear_dirty_log_test
20 24
21TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M)) 25TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M))
22LIBKVM += $(LIBKVM_$(UNAME_M)) 26LIBKVM += $(LIBKVM_$(UNAME_M))
@@ -44,7 +48,6 @@ $(OUTPUT)/libkvm.a: $(LIBKVM_OBJ)
44 48
45all: $(STATIC_LIBS) 49all: $(STATIC_LIBS)
46$(TEST_GEN_PROGS): $(STATIC_LIBS) 50$(TEST_GEN_PROGS): $(STATIC_LIBS)
47$(STATIC_LIBS):| khdr
48 51
49cscope: include_paths = $(LINUX_TOOL_INCLUDE) $(LINUX_HDR_PATH) include lib .. 52cscope: include_paths = $(LINUX_TOOL_INCLUDE) $(LINUX_HDR_PATH) include lib ..
50cscope: 53cscope: