[PATCH kvm-unit-tests 5/5] powerpc/Makefile.common: generated files dep cleanup

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

 



Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
---
 powerpc/Makefile.common | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common
index 1bcf0412fcf5..37f8caa720b7 100644
--- a/powerpc/Makefile.common
+++ b/powerpc/Makefile.common
@@ -11,7 +11,8 @@ tests-common = \
 	$(TEST_DIR)/emulator.elf \
 	$(TEST_DIR)/tm.elf
 
-all: $(TEST_DIR)/boot_rom.bin test_cases
+tests-all = $(tests-common) $(tests)
+all: $(TEST_DIR)/boot_rom.bin $(tests-all)
 
 ##################################################################
 
@@ -69,10 +70,5 @@ powerpc_clean: libfdt_clean asm_offsets_clean
 	$(RM) $(TEST_DIR)/*.{o,elf} $(TEST_DIR)/boot_rom.bin \
 	      $(TEST_DIR)/.*.d lib/powerpc/.*.d
 
-##################################################################
-
-generated_files = $(asm-offsets)
-
-test_cases: $(generated_files) $(tests-common) $(tests)
-
-$(cstart.o): $(asm-offsets)
+generated-files = $(asm-offsets)
+$(tests-all:.elf=.o) $(cstart.o) $(cflatobjs): $(generated-files)
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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