From patchwork Thu Dec 15 12:27:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 88143 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp763892qgi; Thu, 15 Dec 2016 04:28:35 -0800 (PST) X-Received: by 10.36.27.70 with SMTP id 67mr1007575its.122.1481804915443; Thu, 15 Dec 2016 04:28:35 -0800 (PST) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id y141si1914859ioy.228.2016.12.15.04.28.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2016 04:28:35 -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 1cHV7U-0005s5-9V; Thu, 15 Dec 2016 12:26:44 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHV7T-0005r5-O1 for xen-devel@lists.xenproject.org; Thu, 15 Dec 2016 12:26:43 +0000 Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id FE/11-31649-20C82585; Thu, 15 Dec 2016 12:26:42 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOLMWRWlGSWpSXmKPExsVysyfVTZepJyj CYOsnGYvvWyYzOTB6HP5whSWAMYo1My8pvyKBNaNn9wW2gnucFbevf2RtYNzG0cXIxSEksJlR 4lLfSkYIZzmjxLSTi4AcTg42AV2JHTdfM4PYIgLqEj27vrCAFDELnGeSWLvjCCtIQljAR+L3v L0sIDaLgKpE35ztYDavgLXEze1r2UBsCQE5iYbz94EGcXBwCthIHJ8UCBIWAipp+3qDdQIj9w JGhlWMGsWpRWWpRbqGBnpJRZnpGSW5iZk5QJ6xXm5qcXFiempOYlKxXnJ+7iZGoIfrGRgYdzB u63I+xCjJwaQkynuxMShCiC8pP6UyI7E4I76oNCe1+BCjDAeHkgRvfxdQTrAoNT21Ii0zBxhq MGkJDh4lEV6uTqA0b3FBYm5xZjpE6hSjopQ4736QPgGQREZpHlwbLLwvMcpKCfMyMjAwCPEUp BblZpagyr9iFOdgVBLmnQ0yhSczrwRu+iugxUxAi0WX+IMsLklESEk1MLLJRc68pr7K355fPM 1mQYkk9xZulUdNFw8/nXiFnWvJ1RnnAqqnThNc/5Ihh28mx+TpSj66xVP3rzdo4OFd55V4/UR KsNimHaukCnR06xf4u7iy20wouaGVX2Fy9IHRh02ncp9lBS0WnT3xnIONsOKf0598nm7kXvjw NFv/ihneKpJll7L38yixFGckGmoxFxUnAgDjPP+FagIAAA== X-Env-Sender: andre.przywara@arm.com X-Msg-Ref: server-7.tower-31.messagelabs.com!1481804801!68744711!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.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20931 invoked from network); 15 Dec 2016 12:26:42 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-7.tower-31.messagelabs.com with SMTP; 15 Dec 2016 12:26:42 -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 B070515BF; Thu, 15 Dec 2016 04:26:41 -0800 (PST) Received: from e104803-lin.lan (unknown [10.1.207.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D38413F3D6; Thu, 15 Dec 2016 04:26:39 -0800 (PST) From: Andre Przywara To: Mark Rutland Date: Thu, 15 Dec 2016 12:27:18 +0000 Message-Id: <20161215122718.21422-6-andre.przywara@arm.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20161215122718.21422-1-andre.przywara@arm.com> References: <20161215122718.21422-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 v3 5/5] 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