Skip to content

Commit cf97d5e

Browse files
dmatlackbonzini
authored andcommitted
KVM: selftests: Clean up LIBKVM files in Makefile
Break up the long lines for LIBKVM and alphabetize each architecture. This makes reading the Makefile easier, and will make reading diffs to LIBKVM easier. No functional change intended. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: David Matlack <dmatlack@google.com> Message-Id: <20220520233249.3776001-10-dmatlack@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent cdc979d commit cf97d5e

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

tools/testing/selftests/kvm/Makefile

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,37 @@ ifeq ($(ARCH),riscv)
3737
UNAME_M := riscv
3838
endif
3939

40-
LIBKVM = lib/assert.c lib/elf.c lib/io.c lib/kvm_util.c lib/rbtree.c lib/sparsebit.c lib/test_util.c lib/guest_modes.c lib/perf_test_util.c
41-
LIBKVM_x86_64 = lib/x86_64/apic.c lib/x86_64/processor.c lib/x86_64/vmx.c lib/x86_64/svm.c lib/x86_64/ucall.c lib/x86_64/handlers.S
42-
LIBKVM_aarch64 = lib/aarch64/processor.c lib/aarch64/ucall.c lib/aarch64/handlers.S lib/aarch64/spinlock.c lib/aarch64/gic.c lib/aarch64/gic_v3.c lib/aarch64/vgic.c
43-
LIBKVM_s390x = lib/s390x/processor.c lib/s390x/ucall.c lib/s390x/diag318_test_handler.c
44-
LIBKVM_riscv = lib/riscv/processor.c lib/riscv/ucall.c
40+
LIBKVM += lib/assert.c
41+
LIBKVM += lib/elf.c
42+
LIBKVM += lib/guest_modes.c
43+
LIBKVM += lib/io.c
44+
LIBKVM += lib/kvm_util.c
45+
LIBKVM += lib/perf_test_util.c
46+
LIBKVM += lib/rbtree.c
47+
LIBKVM += lib/sparsebit.c
48+
LIBKVM += lib/test_util.c
49+
50+
LIBKVM_x86_64 += lib/x86_64/apic.c
51+
LIBKVM_x86_64 += lib/x86_64/handlers.S
52+
LIBKVM_x86_64 += lib/x86_64/processor.c
53+
LIBKVM_x86_64 += lib/x86_64/svm.c
54+
LIBKVM_x86_64 += lib/x86_64/ucall.c
55+
LIBKVM_x86_64 += lib/x86_64/vmx.c
56+
57+
LIBKVM_aarch64 += lib/aarch64/gic.c
58+
LIBKVM_aarch64 += lib/aarch64/gic_v3.c
59+
LIBKVM_aarch64 += lib/aarch64/handlers.S
60+
LIBKVM_aarch64 += lib/aarch64/processor.c
61+
LIBKVM_aarch64 += lib/aarch64/spinlock.c
62+
LIBKVM_aarch64 += lib/aarch64/ucall.c
63+
LIBKVM_aarch64 += lib/aarch64/vgic.c
64+
65+
LIBKVM_s390x += lib/s390x/diag318_test_handler.c
66+
LIBKVM_s390x += lib/s390x/processor.c
67+
LIBKVM_s390x += lib/s390x/ucall.c
68+
69+
LIBKVM_riscv += lib/riscv/processor.c
70+
LIBKVM_riscv += lib/riscv/ucall.c
4571

4672
TEST_GEN_PROGS_x86_64 = x86_64/cpuid_test
4773
TEST_GEN_PROGS_x86_64 += x86_64/cr4_cpuid_sync_test

0 commit comments

Comments
 (0)