From patchwork Tue May 23 16:37:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 13252638 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1BDDFC7EE2D for ; Tue, 23 May 2023 16:38:48 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.538553.838579 (Exim 4.92) (envelope-from ) id 1q1V1q-0006Nq-NO; Tue, 23 May 2023 16:38:30 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 538553.838579; Tue, 23 May 2023 16:38:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q1V1q-0006Ld-C3; Tue, 23 May 2023 16:38:30 +0000 Received: by outflank-mailman (input) for mailman id 538553; Tue, 23 May 2023 16:38:28 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q1V1o-0006Dr-OV for xen-devel@lists.xenproject.org; Tue, 23 May 2023 16:38:28 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 3cf31a17-f988-11ed-8611-37d641c3527e; Tue, 23 May 2023 18:38:26 +0200 (CEST) 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: 3cf31a17-f988-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1684859906; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ehPXLskpRZYpYI4YTcAs0IW9d4IX2bw/AKtNWOoxDTU=; b=ATyznmYY3c0AfBe/OqDaFuH6QoZnllwByE62Zai3DaVNKMc/v74/ly+3 VqVFH79/Pmkh/Zdcw/zKMLCA+0VBAevIqnktxQhBxAc30qhelQOxeokpd k8n47WvwjF6JiO8T30QkfpwLq2cu7HMBnHSNTeJuxyD9RM2DomeA3dHAR A=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 108859023 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:latz1qz7XGd82WUK/0p6t+dNwSrEfRIJ4+MujC+fZmUNrF6WrkVWn 2QYWWzXO6rfYmfxLtt3aorio0gFuZDWn9EyTVNupSAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw/zF8EsHUMja4mtC5QRjP6sT5jcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KT1o+ PYFDA1TVSqKiOzr2Z2kQNR9uP12eaEHPKtH0p1h5TTQDPJgSpHfWaTao9Rf2V/chOgXQ6yYP ZBAL2MyMlKZOUYn1lQ/UfrSmM+hgGX/dDtJ7kqYv6Mt70DYzRBr0airO93QEjCPbZwNzhbF9 zqcpAwVBDkKOOK45WaI1Um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Xg7kL1XYeNu4CeHcGPjWvA/ACZe Ohz/sCnRWMU1INYP+2A3EUNtKz2uEixPrdEGY77wdM0nj0sQ+V X-Talos-CUID: 9a23:w8kwQGoOghl7nuRt2a9Lb7jmUZwDf3fA6EqOGHWxBmg0UZKKQ2KBxpoxxg== X-Talos-MUID: 9a23:dAcT6A69SdyEzUgxu/+t0/W+xox475qJJBwAtq4ZlNWIESIzZzOtvCuOF9o= X-IronPort-AV: E=Sophos;i="6.00,186,1681185600"; d="scan'208";a="108859023" From: Anthony PERARD To: CC: Anthony PERARD , "Daniel P. Smith" , Konrad Rzeszutek Wilk , =?utf-8?q?Roger_Pau_Monn?= =?utf-8?q?=C3=A9?= , Alistair Francis , "Julien Grall" , Stefano Stabellini , Wei Liu , Doug Goldstein , Bob Eshleman , Connor Davis , "Bertrand Marquis" , Volodymyr Babchuk , Andrew Cooper , "Ross Lagerwall" , Jan Beulich , George Dunlap Subject: [XEN PATCH 00/15] build: cleanup build log, avoid user's CFLAGS, avoid too many include of Config.mk Date: Tue, 23 May 2023 17:37:56 +0100 Message-ID: <20230523163811.30792-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Patch series available in this git branch: https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.build-system-xen-removing-config.mk-v1 Hi, This series of patch cleanup the remaining rules still displaying their command line. Then, some change are made in Config.mk to remove build-id stuff only used by Xen build. Then, the variable AFLAGS and CFLAGS are been renamed XEN_AFLAGS and XEN_CFLAGS from the beginning to about inclusion of users CFLAGS as those are usually made for user space program, not kernel, especially in build environment for distro packages. Last patch removes the inclusion of Config.mk from xen/Rules.mk, as this slow down the build unnecessarily. xen/Makefile should do everything necessary to setup the build of the hypervisor, and is its only entry point. Thanks, Anthony PERARD (15): build: hide that we are updating xen/lib/x86 build: rework asm-offsets.* build step to use kbuild build, x86: clean build log for boot/ targets build: hide policy.bin commands build: introduce a generic command for gzip build: quiet for .allconfig.tmp target build: move XEN_HAS_BUILD_ID out of Config.mk build: use $(filechk, ) for all compat/.xlat/%.lst build: hide commands run for kconfig build: rename $(AFLAGS) to $(XEN_AFLAGS) build: rename CFLAGS to XEN_CFLAGS in xen/Makefile build: avoid Config.mk's CFLAGS build: fix compile.h compiler version command line Config.mk: move $(cc-option, ) to config/compiler-testing.mk build: remove Config.mk include from Rules.mk Config.mk | 39 +------------------ config/compiler-testing.mk | 25 +++++++++++++ xen/Makefile | 75 +++++++++++++++++++++++++------------ xen/Rules.mk | 7 +++- xen/arch/arm/Makefile | 2 +- xen/arch/arm/arch.mk | 8 +++- xen/arch/riscv/Makefile | 2 +- xen/arch/riscv/arch.mk | 4 +- xen/arch/x86/Makefile | 12 +++--- xen/arch/x86/arch.mk | 62 +++++++++++++++--------------- xen/arch/x86/boot/Makefile | 16 ++++++-- xen/build.mk | 24 +++++++----- xen/common/Makefile | 8 ++-- xen/include/Makefile | 10 ++--- xen/scripts/Kbuild.include | 10 +++++ xen/test/livepatch/Makefile | 4 +- xen/tools/kconfig/Makefile | 14 +++---- xen/xsm/flask/Makefile | 9 ++++- 18 files changed, 193 insertions(+), 138 deletions(-) create mode 100644 config/compiler-testing.mk