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: 9475995 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6233A60825 for ; Thu, 15 Dec 2016 12:28:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E86B28764 for ; Thu, 15 Dec 2016 12:28:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 434E828766; Thu, 15 Dec 2016 12:28:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B805E28764 for ; Thu, 15 Dec 2016 12:28:56 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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