From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: [PATCH kvm-unit-tests 4/5] arm/Makefile.common: generated files dep cleanup Date: Mon, 16 Jan 2017 14:38:27 +0100 Message-ID: <20170116133828.17908-5-drjones@redhat.com> References: <20170116133828.17908-1-drjones@redhat.com> Cc: pbonzini@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49568 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751437AbdAPNig (ORCPT ); Mon, 16 Jan 2017 08:38:36 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B0762C049D5B for ; Mon, 16 Jan 2017 13:38:36 +0000 (UTC) In-Reply-To: <20170116133828.17908-1-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Andrew Jones --- 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