[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH 15/15] build: remove Config.mk include from Rules.mk
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Wed, 24 May 2023 10:27:28 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SQDou18rh7izUFLGpVEumTsRr1hHQnvABTTGb046RD4=; b=UvrCIycxDnqJtAfa2WXg/cLnXein9kqqbYuHSJNNqEzZsewfQHO0yFZ0sSDeTu0BFPpAEbyB8y504WCq5rcUMaBGqXZBkW6232TamAJtbxP/WZUDjyaHhxWeUhGsFry0dlLJ7L99aQEhW8XCEUcbeRsDtRL408AV3LtnsAFVhckg4+cTBCKmOkbHYo0HNH3/Jk1LIv21Y6kPgp009Ej3eCtR4UVXCtVuamPDum2vQo58d+5OtxGh1yMeStBJAMVkLEAaazybKPtrCpVGnZwye5LRjFeBk49znoF2uXr/424WsiJA5CXEpMbzKxMGRjCm+g4kt3iyIHghFEYbEFoBog==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eT79aPJI2UNDCc9Sl7Mp/Y/liEzGkb60x7nDOR6qavZ+nYL+Hfr0Z8QTqyVY9T6I27U24roEybJZfQ8LJtVkOpGmy2z1ZiRa9Y/WOlsMDrYLjGvBAh5Ta6F9sjE5Gmu1irCfP5D6Q7VRlX5LfH4vpNAfR8yjJI3hQCbo8HX/xb1pmYE12rBig0WHNDSXTG7n6EhZmsN+u/YNtMJOSt0Lgt4oidxINrfQTFYZqMRhf58Nk+b1yDSd271oUUQHNlaGSazlWDhLcAVwWiJ3IZrgKnZlLzHZMYIM7SuvrYi4etmKPujKUyLPF6/oPXe/f+URae4cxk0aNPIHMSAkIRhMRg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Wed, 24 May 2023 10:28:02 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZjZZcR9VZERXJ80eRAbM26/D8DK9pOXQA
- Thread-topic: [XEN PATCH 15/15] build: remove Config.mk include from Rules.mk
> On 23 May 2023, at 17:38, Anthony PERARD <anthony.perard@xxxxxxxxxx> wrote:
>
> Everything needed to build the hypervisor should already be configured
> by "xen/Makefile", thus Config.mk shouldn't be needed.
>
> Then, Config.mk keeps on testing support of some CFLAGS with CC, the
> result of this testing is not used at this stage so the build is
> slowed unnecessarily.
>
> Likewise, GCC is checked to be at the minimum at 4.2 when entering
> every sub-directory, so the check have run countless time at this
> stage.
>
> We only need to export a few more configuration variables. And add
> some variables in Kbuild.include, and macro fallbacks for Make older
> than 3.81. (Adding `or` just in case. it's only used in xen/Makefile,
> which includes Config.mk and so has already the fallback.)
>
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> ---
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Tested-by: Luca Fancellu <luca.fancellu@xxxxxxx>
|