Re: [PATCH kvm-unit-tests] realmode: rebuild when realmode.lds changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/06/2024 16.35, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
  x86/Makefile.common | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x86/Makefile.common b/x86/Makefile.common
index 4ae9a557..c5dd4970 100644
--- a/x86/Makefile.common
+++ b/x86/Makefile.common
@@ -103,9 +103,9 @@ test_cases: $(tests-common) $(tests)
$(TEST_DIR)/%.o: CFLAGS += -std=gnu99 -ffreestanding -I $(SRCDIR)/lib -I $(SRCDIR)/lib/x86 -I lib -$(TEST_DIR)/realmode.elf: $(TEST_DIR)/realmode.o
+$(TEST_DIR)/realmode.elf: $(TEST_DIR)/realmode.o $(SRCDIR)/$(TEST_DIR)/realmode.lds
  	$(LD) -m elf_i386 -nostdlib -o $@ \
-	      -T $(SRCDIR)/$(TEST_DIR)/realmode.lds $^
+	      -T $(SRCDIR)/$(TEST_DIR)/realmode.lds $(filter %.o, $^)


Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux