From patchwork Tue Nov 22 15:09:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 83417 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp2145536qge; Tue, 22 Nov 2016 07:10:52 -0800 (PST) X-Received: by 10.36.83.15 with SMTP id n15mr2694233itb.79.1479827452168; Tue, 22 Nov 2016 07:10:52 -0800 (PST) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id x31si19941186ioi.138.2016.11.22.07.10.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 07:10:52 -0800 (PST) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9Cgk-0005GX-3X; Tue, 22 Nov 2016 15:08:50 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9Cgj-0005GD-0Q for xen-devel@lists.xenproject.org; Tue, 22 Nov 2016 15:08:49 +0000 Received: from [85.158.143.35] by server-6.bemta-6.messagelabs.com id 22/4E-28843-08F54385; Tue, 22 Nov 2016 15:08:48 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRWlGSWpSXmKPExsVysyfVTbc+3iT C4MJESYvvWyYzOTB6HP5whSWAMYo1My8pvyKBNWPDqaPsBS84KuZcS29gPMXexcjFISSwmVHi 0fENQA4nkLOcUWL7An0Qm01AV2LHzdfMILaIgLpEz64vLCANzALzmCRO3WlnAUkIC/hI/Ln2n gnEZhFQlbjz6SrYIF4Ba4lpkw+wgdgSAnISDefvgw3iFLCR2DfpCQvEMmuJdQ++sk1g5F7AyL CKUaM4tagstUjX0FIvqSgzPaMkNzEzR9fQwEwvN7W4ODE9NScxqVgvOT93EyPQvwxAsIPxx7K AQ4ySHExKoryHlxpFCPEl5adUZiQWZ8QXleakFh9ilOHgUJLgjYgziRASLEpNT61Iy8wBBhpM WoKDR0mE9zJImre4IDG3ODMdInWKUVFKnDcIJCEAksgozYNrgwX3JUZZKWFeRqBDhHgKUotyM 0tQ5V8xinMwKgnzzgSZwpOZVwI3/RXQYiagxZLfjEEWlyQipKQaGOf4X7X099SduHFGwzJWyZ RFyUo5DqLf+fR6jn/YFnbjiwTLLdcvl+79r9KbqtUnY62nfqdEeGeex6fFLwr0HFcqmU9hjTs auDftgDZz5sQmAc0zi3WCdjbLSe21YF0hcO7tMkdpC96/q+7P6t+Wf8S4R9T10cbjhqt/ZPms qLm4XG7W7l+lokosxRmJhlrMRcWJAN/JTA5pAgAA X-Env-Sender: andre.przywara@arm.com X-Msg-Ref: server-13.tower-21.messagelabs.com!1479827326!44626277!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 42112 invoked from network); 22 Nov 2016 15:08:47 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-13.tower-21.messagelabs.com with SMTP; 22 Nov 2016 15:08:47 -0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ACDB21597; Tue, 22 Nov 2016 07:08:46 -0800 (PST) Received: from e104803-lin.lan (unknown [10.1.207.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 44A963F24D; Tue, 22 Nov 2016 07:08:45 -0800 (PST) From: Andre Przywara To: Mark Rutland Date: Tue, 22 Nov 2016 15:09:17 +0000 Message-Id: <20161122150917.16524-5-andre.przywara@arm.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20161122150917.16524-1-andre.przywara@arm.com> References: <20161122150917.16524-1-andre.przywara@arm.com> Cc: Stefano Stabellini , Catalin Marinas , Julien Grall , linux-arm-kernel@lists.infradead.org, Ian Campbell , xen-devel@lists.xenproject.org, Christoffer Dall Subject: [Xen-devel] [PATCH v2 4/4] Explicitly clean linux-system.axf and xen-system.axf X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" From: Christoffer Dall When doing a make clean, only the output image currently configured to build is being removed. However, one would expect all build artifacts to be removed when doing a 'make clean' and when switching between Xen and Linux builds, it is easy to accidentally run an older build than intended. Simply hardcode the axf image file names. Signed-off-by: Christoffer Dall Signed-off-by: Andre Przywara Reviewed-by: Julien Grall Tested-by: Konrad Rzeszutek Wilk Reviewed-by: Konrad Rzeszutek Wilk --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index db97f9c..506a1d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,7 +130,7 @@ OFILES += $(addprefix $(ARCH_SRC),boot.o stack.o $(BOOTMETHOD) utils.o) all: $(IMAGE) -CLEANFILES = $(IMAGE) $(OFILES) model.lds fdt.dtb +CLEANFILES = $(IMAGE) linux-system.axf xen-system.axf $(OFILES) model.lds fdt.dtb $(IMAGE): $(OFILES) model.lds fdt.dtb $(KERNEL_IMAGE) $(FILESYSTEM) $(XEN_IMAGE) $(LD) $(LDFLAGS) $(OFILES) -o $@ --script=model.lds