diff options
Diffstat (limited to 'tools/testing/selftests/kvm/Makefile')
| -rw-r--r-- | tools/testing/selftests/kvm/Makefile | 5 |
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 @@ | |||
| 1 | all: | 1 | all: |
| 2 | 2 | ||
| 3 | top_srcdir = ../../../.. | 3 | top_srcdir = ../../../.. |
| 4 | KSFT_KHDR_INSTALL := 1 | ||
| 4 | UNAME_M := $(shell uname -m) | 5 | UNAME_M := $(shell uname -m) |
| 5 | 6 | ||
| 6 | LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/ucall.c lib/sparsebit.c | 7 | LIBKVM = 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 | |||
| 14 | TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test | 15 | TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test |
| 15 | TEST_GEN_PROGS_x86_64 += x86_64/state_test | 16 | TEST_GEN_PROGS_x86_64 += x86_64/state_test |
| 16 | TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test | 17 | TEST_GEN_PROGS_x86_64 += x86_64/evmcs_test |
| 18 | TEST_GEN_PROGS_x86_64 += x86_64/hyperv_cpuid | ||
| 17 | TEST_GEN_PROGS_x86_64 += dirty_log_test | 19 | TEST_GEN_PROGS_x86_64 += dirty_log_test |
| 20 | TEST_GEN_PROGS_x86_64 += clear_dirty_log_test | ||
| 18 | 21 | ||
| 19 | TEST_GEN_PROGS_aarch64 += dirty_log_test | 22 | TEST_GEN_PROGS_aarch64 += dirty_log_test |
| 23 | TEST_GEN_PROGS_aarch64 += clear_dirty_log_test | ||
| 20 | 24 | ||
| 21 | TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M)) | 25 | TEST_GEN_PROGS += $(TEST_GEN_PROGS_$(UNAME_M)) |
| 22 | LIBKVM += $(LIBKVM_$(UNAME_M)) | 26 | LIBKVM += $(LIBKVM_$(UNAME_M)) |
| @@ -44,7 +48,6 @@ $(OUTPUT)/libkvm.a: $(LIBKVM_OBJ) | |||
| 44 | 48 | ||
| 45 | all: $(STATIC_LIBS) | 49 | all: $(STATIC_LIBS) |
| 46 | $(TEST_GEN_PROGS): $(STATIC_LIBS) | 50 | $(TEST_GEN_PROGS): $(STATIC_LIBS) |
| 47 | $(STATIC_LIBS):| khdr | ||
| 48 | 51 | ||
| 49 | cscope: include_paths = $(LINUX_TOOL_INCLUDE) $(LINUX_HDR_PATH) include lib .. | 52 | cscope: include_paths = $(LINUX_TOOL_INCLUDE) $(LINUX_HDR_PATH) include lib .. |
| 50 | cscope: | 53 | cscope: |
