Commit 9a9a3c6c authored by Thomas Huth's avatar Thomas Huth Committed by Paolo Bonzini
Browse files

s390x: Fix bad dependency on asm-offsets.h



When building the kvm-unit-tests for s390x in parallel ("make -j10"
for example), the build sometimes fails since asm-offsets.h has not
been generated yet. The problem is a bad rule in the Makefile: The
test cases are stored in the the "tests" variable, and not in
"test_cases" (which is just an abstract target, not a variable).
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f7835899
......@@ -42,4 +42,4 @@ arch_clean: asm_offsets_clean
$(RM) $(TEST_DIR)/*.{o,elf} $(TEST_DIR)/.*.d lib/s390x/.*.d
generated-files = $(asm-offsets)
$(test_cases:.elf=.o) $(cstart.o) $(cflatobjs): $(generated-files)
$(tests:.elf=.o) $(cstart.o) $(cflatobjs): $(generated-files)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment