Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9116C433F5 for ; Wed, 13 Oct 2021 10:36:55 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B26FD60F94 for ; Wed, 13 Oct 2021 10:36:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B26FD60F94 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.208207.364249 (Exim 4.92) (envelope-from ) id 1mabcm-0003h7-RB; Wed, 13 Oct 2021 10:36:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 208207.364249; Wed, 13 Oct 2021 10:36:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mabcm-0003h0-O8; Wed, 13 Oct 2021 10:36:40 +0000 Received: by outflank-mailman (input) for mailman id 208207; Wed, 13 Oct 2021 10:36:39 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mabcl-0003gs-SQ for xen-devel@lists.xenproject.org; Wed, 13 Oct 2021 10:36:39 +0000 Received: from esa6.hc3370-68.iphmx.com (unknown [216.71.155.175]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 71d17df0-2c11-11ec-816a-12813bfff9fa; Wed, 13 Oct 2021 10:36:38 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 71d17df0-2c11-11ec-816a-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1634121398; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5u5BEcgaPBBpZnTc6KcywShDLysumq7kVv4GBGzllhE=; b=bmwlNxCKglcC/UnKCQz/QCKY4VieOqmZGJiHnSR8IvW9v5OyJjLkl/14 WWJhSI4EdchurZNN7TuVw7INuUqa5GWHL8Mw6qOs0yjag9iqWmdpIeJVf ZDKEnLzE4H8OFMk0I41VikCJG4ydkAdiZk5WuSruAHz04DaUAegdfs+gu 8=; Authentication-Results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: xOFO/qPGQcgcxIx7jQQQM1Q5hFk0xET3o7oYDMGAOueRU96O0gHsYMtxhbVJsCq6rrd4IbZIel 8QejCeUHimKb/7f2U/4Dn8Dcu5+dA90M/4oRJcGSjs6lMX6EcoCha3iz7zMU13Ps0/QIo4Twg4 XTq/OA/46BJA27OyGrl51XAXc92OeXUcHLj7PllQrkSGyDU4C+sWUHD+wMIAWgZ3WPTkps1bpH hxqmg2++j8uBTS/gM9o9W+PYRoGc3tIB/EoLeu721bKMJ6U5GKLeDARVG0yVTnZqEjl0+p2KNN vh+MBdaX7wChLiugObx77mGm X-SBRS: 5.1 X-MesageID: 55058912 X-Ironport-Server: esa6.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:wTjlW6qiThC7sGEke7XN0n24dt9eBmKVYhIvgKrLsJaIsI4StFCzt garIBmAM/qIZjb8L98nbo2390tQuZPcx4NqSAM+pHo0FyNA85uZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlZT4vE2x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d574oNAwfRinn1vWbSGkfCI+b9hrQAmQoo3oeQ7m9S8vCCurtJRh/ +38h12DGZdTFR5/CMv2ae60yw/jt3Yqh+8vDVDDJcNeeRuw/dEyeTDxlPI+P+oFNQ7HmmmBz w+TDBpB/bvNroY5/cPnn6eBq4v1QeJyElADRzvQ7KqsNDmc9W2mmNcSXOGNdDHbdWX15KT9O rkFk6CiaKUKxQ8YvZB9HrBnybMFy+Hu/7IKnB55GHjrbkiwDu8yKHexwsQS5LZGwaVUuFXqV xvXqMVaI7iAJOjsDEUVeFg+du2G2PwZxmvS4PAyLBmo7SN75uPaA0BbPh3Kgy1BNrpldogix L556sIR7gW+jDssM8qH0X8IpzjdcCRYXvV1rIweDa/qlhEvmwNLbpHrAyPr5I2CNodXOU4wL z7I3KfPitywHKYZn6bfwZQV4ddguA== IronPort-HdrOrdr: A9a23:a9eIE631wSiFxpBpzwZ6QAqjBLIkLtp133Aq2lEZdPRUGvb3qy mLpoV+6faUskd1ZJhOo7290cW7LU80sKQFhrX5Xo3SPjUO2lHJEGgK1+KLqFfd8m/Fh41gPM 9bAs5D4bbLbGSS4/yU3DWF X-IronPort-AV: E=Sophos;i="5.85,370,1624334400"; d="scan'208";a="55058912" Date: Wed, 13 Oct 2021 11:36:13 +0100 From: Anthony PERARD To: Jan Beulich CC: Andrew Cooper , George Dunlap , Ian Jackson , Julien Grall , Stefano Stabellini , Wei Liu , Subject: Re: [XEN PATCH v7 22/51] build: clean common temporary files from root makefile Message-ID: References: <20210824105038.1257926-1-anthony.perard@citrix.com> <20210824105038.1257926-23-anthony.perard@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: On Mon, Oct 11, 2021 at 01:41:16PM +0200, Jan Beulich wrote: > On 24.08.2021 12:50, Anthony PERARD wrote: > > Signed-off-by: Anthony PERARD > > Trying to synthesize a description: > > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -382,6 +382,7 @@ _clean: > > $(MAKE) $(clean) test > > $(MAKE) $(kconfig) clean > > find . \( -name "*.o" -o -name ".*.d" -o -name ".*.d2" \ > > This was effectively redundant with ... > > > + -o -name ".*.o.tmp" -o -name "*~" -o -name "core" \ > > -o -name "*.gcno" -o -name ".*.cmd" -o -name "lib.a" \) -exec rm -f {} \; > > rm -f include/asm $(TARGET) $(TARGET).gz $(TARGET).efi $(TARGET).efi.map $(TARGET)-syms $(TARGET)-syms.map *~ core > > rm -f asm-offsets.s arch/*/include/asm/asm-offsets.h > > diff --git a/xen/scripts/Makefile.clean b/xen/scripts/Makefile.clean > > index 027c200c0efc..b6df9e861e6e 100644 > > --- a/xen/scripts/Makefile.clean > > +++ b/xen/scripts/Makefile.clean > > @@ -14,10 +14,8 @@ include Makefile > > subdir-all := $(subdir-y) $(subdir-n) $(subdir-) \ > > $(patsubst %/,%, $(filter %/, $(obj-y) $(obj-n) $(obj-))) > > > > -DEPS_RM = $(DEPS) $(DEPS_INCLUDE) > > ... this and its use below. > > > .PHONY: clean > > clean:: $(subdir-all) > > - rm -f *.o .*.o.tmp *~ core $(DEPS_RM) > > With the command gone, I think the :: should also be converted (back) to > just : then. Then "clean" has been a double-column rule for a long time. If we convert this rule to a single-column we need to convert all "clean" target to use single-column which would make this patch more complicated. So I don't think we should make this change. > Reviewed-by: Jan Beulich > > Assuming the patch is independent of the earlier still uncommitted ones > (please confirm), I'd be happy to make the adjustment while committing > - as long as you agree, of course. The patch is independent of earlier one, although the context is changed in one patch so wouldn't apply cleaning without git helps. (context is changed in "xen: move include/asm-* to arch/*/include/asm") Thanks, -- Anthony PERARD