From patchwork Mon Jun 20 15:09:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 70463 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1559199qgy; Mon, 20 Jun 2016 08:11:09 -0700 (PDT) X-Received: by 10.107.185.67 with SMTP id j64mr24033055iof.32.1466435463171; Mon, 20 Jun 2016 08:11:03 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id l140si18440642ita.107.2016.06.20.08.11.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 08:11:03 -0700 (PDT) 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 1bF0p1-0003vy-UV; Mon, 20 Jun 2016 15:09:07 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bF0p0-0003vC-CH for xen-devel@lists.xenproject.org; Mon, 20 Jun 2016 15:09:06 +0000 Received: from [85.158.143.35] by server-3.bemta-6.messagelabs.com id DD/E8-22092-11708675; Mon, 20 Jun 2016 15:09:05 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRWlGSWpSXmKPExsVysyfVTVeAPSP c4Oh8A4vvWyYzOTB6HP5whSWAMYo1My8pvyKBNePxjHNsBQc5Kl6++cbUwLiMvYuRi0NIYBOj xLlTHcxdjJxAzgpGiSe/BUFsNgFdiR03X4PFRQTUJXp2fWEBaWAW+MMo8XdeO1sXIweHsICnx JvFwSA1LAKqEkfvnWECsXkFrCSW3e0F65UQkJNoOH8fzOYUsJaYu3MSI8QuK4kPfxaxTGDkXs DIsIpRvTi1qCy1SNdYL6koMz2jJDcxM0fX0MBMLze1uDgxPTUnMalYLzk/dxMj0LsMQLCDseO f0yFGSQ4mJVHe6U/Sw4X4kvJTKjMSizPii0pzUosPMcpwcChJ8FayZoQLCRalpqdWpGXmAMMM Ji3BwaMkwlsPkuYtLkjMLc5Mh0idYlSUEuflAUkIgCQySvPg2mChfYlRVkqYlxHoECGegtSi3 MwSVPlXjOIcjErCvK0gU3gy80rgpr8CWswEtHhZfzrI4pJEhJRUA6Pqn4mmzGptxg9WmoWlPb r+vclBS6VPMOLOiZMu0/WSFiyduHrW2xtZW4vt+4qXGzk0X3V7qFXo0uC+YXVo+uWPhZoPJK2 WKG74/XD6UhOvHYanSvKUUszaJwfxzs97Yz9tTtXv7RL8JbX/Hj2cmfVVl32Ko83z1fe/drmf jtopZN47hcWv97ESS3FGoqEWc1FxIgBeXH49aAIAAA== X-Env-Sender: andre.przywara@arm.com X-Msg-Ref: server-16.tower-21.messagelabs.com!1466435344!15430372!1 X-Originating-IP: [217.140.101.70] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 58269 invoked from network); 20 Jun 2016 15:09:04 -0000 Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by server-16.tower-21.messagelabs.com with SMTP; 20 Jun 2016 15:09:04 -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 6AD23BAD; Mon, 20 Jun 2016 08:09:48 -0700 (PDT) Received: from e104803-lin.lan (unknown [10.1.203.153]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A995B3F246; Mon, 20 Jun 2016 08:09:01 -0700 (PDT) From: Andre Przywara To: Mark Rutland Date: Mon, 20 Jun 2016 16:09:34 +0100 Message-Id: <20160620150934.1729-5-andre.przywara@arm.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160620150934.1729-1-andre.przywara@arm.com> References: <20160620150934.1729-1-andre.przywara@arm.com> Cc: Jean-Philippe Brucker , Julien Grall , Christoffer Dall , Ian Campbell , xen-devel@lists.xenproject.org, linux-arm-kernel@lists.infradead.org Subject: [Xen-devel] [PATCH 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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d83b417..cd022e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,7 +131,7 @@ OFILES += $(addprefix $(ARCH_SRC),boot.o stack.o $(BOOTMETHOD) utils.o) all: $(IMAGE) $(XIMAGE) -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