[PATCH kvm-unit-tests 4/5] arm/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>
---
 arm/Makefile.common | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/arm/Makefile.common b/arm/Makefile.common
index 6142c3d219dd..f7193c3e6d64 100644
--- a/arm/Makefile.common
+++ b/arm/Makefile.common
@@ -15,7 +15,8 @@ tests-common += $(TEST_DIR)/pci-test.flat
 tests-common += $(TEST_DIR)/pmu.flat
 tests-common += $(TEST_DIR)/gic.flat
 
-all: test_cases
+tests-all = $(tests-common) $(tests)
+all: $(tests-all)
 
 ##################################################################
 phys_base = $(LOADADDR)
@@ -74,10 +75,5 @@ arm_clean: libfdt_clean asm_offsets_clean
 	$(RM) $(TEST_DIR)/*.{o,flat,elf} $(libeabi) $(eabiobjs) \
 	      $(TEST_DIR)/.*.d lib/arm/.*.d
 
-##################################################################
-
-generated_files = $(asm-offsets)
-
-test_cases: $(generated_files) $(tests-common) $(tests)
-
-$(TEST_DIR)/selftest.o $(cstart.o): $(asm-offsets)
+generated-files = $(asm-offsets)
+$(tests-all:.flat=.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