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 927A2C433F5 for ; Mon, 11 Oct 2021 17:08:10 +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 5080A60462 for ; Mon, 11 Oct 2021 17:08:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5080A60462 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.206375.361929 (Exim 4.92) (envelope-from ) id 1mZym5-0003jM-4j; Mon, 11 Oct 2021 17:07:41 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 206375.361929; Mon, 11 Oct 2021 17:07:41 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mZym4-0003jF-WA; Mon, 11 Oct 2021 17:07:40 +0000 Received: by outflank-mailman (input) for mailman id 206375; Mon, 11 Oct 2021 17:07: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 1mZym3-0003j9-Kk for xen-devel@lists.xenproject.org; Mon, 11 Oct 2021 17:07:39 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id bc27bd68-2ab5-11ec-80ec-12813bfff9fa; Mon, 11 Oct 2021 17:07: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: bc27bd68-2ab5-11ec-80ec-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1633972057; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3lAhJqR1yIwfdL2XvZ3KDYkeBWLCbMSCMnkof54KL68=; b=g+95RYCfuRp6z42rEvairY/NE/SI95DDD25gkRYG3TFzcfej17RR1VjX 9fnMAgHYIkgaE0q4FlUWO30V/3JjMeevy5C1wCYjoqAs1WKLhSGZU6/Ob 5f1w4byGVzGqGYdie3U3CwylxD9gkXcLeXk9ZRSHlIhw8vYLM+GopLmWN M=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: vuYowbn4SKJ/EzlYOZblaQwdvIzobTs9XGsOPmMognUvPkWkIlha/b9/5rCzHvA4wufHBIQcml HP4UHRY4LHb/j2eskCleynPvDwJ+UhxEF7s/zrOO14ZubhsNfN1RvkjH1x79mPL4gPUtsjTJtn TMG7SBjsLB9/gpoyl8vI3tFGCn/LC33k4srgDylDvhKxIsVHEW8dw5kg6h7sBuy5xG5cGoWgIM EMgbjFwahk7iSpVWhHm0GP7LgqhygZdOS+yL+AbveTY/zyklndyhoq8LxNHfXnV48ng8Kyqn8u LRgJ3vnXX9zlj4JrEiXXqxGY X-SBRS: 5.1 X-MesageID: 54477913 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:EZDDK6qCOEcD4eqVOVbzTWGYToheBmKVYhIvgKrLsJaIsI4StFCzt garIBnXPqmPZGb1Ktt2bI3loBxV7JaBn9NjG1ZurytjFC8WoJuZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlZT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Sozd574oNAwfRinn1vWbSGkfCI+b9hrQAmQoo3oeQ7m9S8vCCurtJRh/ +38h12DGZdTFR5/CMv2ae60yw/jt3Yqh+8vDVDDJcNeeRuw/dEyeTDxlPI+P+oFNQ7HmmmBz w+TDBpB/bvNroY5/cPnn6eBq4v1QeJyElADRzvQ7KqsNDmc9W2mmNcSXOGNdDHbdWX15KT9O rkFk6CiaKUKxQ8YvZB9HrBnybMFy+Hu/7IKnB55GHjrbkiwDu8yKHexwsQS5LZGwaVUuFXqV xvXqMVaI7iAJOjsDEUVeFg+du2G2PwZxmvS4PAyLBmo7SN75uPaA0BbPh3Kgy1BNrpldogix L556sIR7gW+jDssM8qH0X8IpzjdcCRYXvV1rIweDa/qlhEvmwNLbpHrAyPr5I2CNodXOU4wL z7I3KfPitywHKYZn6bfwZQV4ddguA== IronPort-HdrOrdr: A9a23:9ihxTq/v9VnXaLTg9khuk+DcI+orL9Y04lQ7vn2ZLiYlFfBw9v re+MjzsCWetN9/Yh0dcLy7V5VoIkm9yXcW2+cs1N6ZNWGN1VdAR7sC0aLShxHmBi3i5qp8+M 5bAs1D4QTLfDtHZBDBkWuFL+o= X-IronPort-AV: E=Sophos;i="5.85,365,1624334400"; d="scan'208";a="54477913" Date: Mon, 11 Oct 2021 18:07:18 +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 20/51] build: avoid re-executing the main Makefile by introducing build.mk Message-ID: References: <20210824105038.1257926-1-anthony.perard@citrix.com> <20210824105038.1257926-21-anthony.perard@citrix.com> <87036d63-b5d4-55bf-0bb3-9b981a147f15@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: On Mon, Oct 11, 2021 at 05:31:08PM +0200, Jan Beulich wrote: > On 11.10.2021 16:58, Anthony PERARD wrote: > > On Mon, Oct 11, 2021 at 12:56:54PM +0200, Jan Beulich wrote: > >> On 24.08.2021 12:50, Anthony PERARD wrote: > >>> With nearly everything needed to move to "build.mk" moved, there is a > >>> single dependency left from "Rules.mk": $(TARGET), which is moved to > >>> the main Makefile. > >> > >> I'm having trouble identifying what this describes. Searching for > >> $(TARGET) in the patch doesn't yield any obvious match. Thinking > >> about it, do you perhaps mean the setting of that variable? Is > >> moving that guaranteed to not leave the variable undefined? Or in > >> other words is there no scenario at all where xen/Makefile might > >> get bypassed? (Aiui building an individual .o, .i, or .s would > >> continue to be fine, but it feels like something along these lines > >> might get broken.) > > > > I mean that "xen/Rules.mk" will never "include" "xen/Makefile" after > > this patch, but the variable "TARGET" is only set in "xen/Rules.mk". But > > "xen/Makefile" still needs "TARGET" to be set so I moved the assignment > > of the variable from "xen/Rules.mk" into "xen/Makefile". > > Okay, thanks, this confirms the understanding I had developed; maybe > you try to reword this some. What your reply doesn't address is my > question, though. Which question, there seems to be 3 of them :-). Is it about xen/Makefile been bypassed? Building anything in xen/ requires to first execute xen/Makefile as this is where variables like CFLAGS or XEN_ROOT are defined, and this includes single builds or building an individual .o. -- Anthony PERARD