[kvm-unit-tests PATCH 2/2] arm/arm64 config: Fix arch_clean rule

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

 



Properly clean any generated object and binary files after a 'make clean',
this fixes an issue when trying to reconfigure between arm and arm64.

Signed-off-by: Alexander Spyridakis <a.spyridakis@xxxxxxxxxxxxxxxxxxxxxx>
---
 config/config-arm.mak   | 2 ++
 config/config-arm64.mak | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/config-arm.mak b/config/config-arm.mak
index ae6c2e7..68fab62 100644
--- a/config/config-arm.mak
+++ b/config/config-arm.mak
@@ -21,3 +21,5 @@ tests =
 include config/config-arm-common.mak
 
 arch_clean: arm_clean
+	$(RM) $(TEST_DIR)/*.o $(TEST_DIR)/*.flat $(TEST_DIR)/*.elf \
+	$(TEST_DIR)/.*.d lib/arm/.*.d
diff --git a/config/config-arm64.mak b/config/config-arm64.mak
index d61b703..a0bc1b3 100644
--- a/config/config-arm64.mak
+++ b/config/config-arm64.mak
@@ -17,4 +17,5 @@ tests =
 include config/config-arm-common.mak
 
 arch_clean: arm_clean
-	$(RM) lib/arm64/.*.d
+	$(RM) $(TEST_DIR)/*.o $(TEST_DIR)/*.flat $(TEST_DIR)/*.elf \
+	$(TEST_DIR)/.*.d lib/arm64/.*.d
-- 
2.1.4

--
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