From nobody Thu Oct 30 18:43:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1758145732; cv=none; d=zohomail.com; s=zohoarc; b=lM9VQcXnWj/dxxQwsLsyhSuN5qvIPCjm/6BKY+SWIRTYwCzgSI1BxoXtPrBXMM/uobAVc9rU6UJWxhZ0Dli4pc+Q8e7Lv6uEQJLpmONRk2s3Tkuy+ncpIrCVIHqzEv1udPWH7+eT01stkhufKKLUo/U7thIUbBq5Py1dwdUgaJA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1758145732; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=XGb+gGeKyZDQMTF1ARe7eP6YHdANHrG833P8p7ukfEs=; b=NHnBQsFfrzz8AHR0PzF4kYPdD8Eqr+xCT2Y9DBN6LtRnbeZkrY19OSyMS9+0Vz25P8RMi5YunhydM3zYabmySKXyEnMvXd0+HYJG/43itNgIrSaLLXM3mz9IK8hrUAuTqAxdn1b58R+m5Zs7pkKUYtKtjbvviX71F59fxUBo7lI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1758145732391589.9127843627023; Wed, 17 Sep 2025 14:48:52 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1125558.1467463 (Exim 4.92) (envelope-from ) id 1uz00q-0005Yz-GB; Wed, 17 Sep 2025 21:48:28 +0000 Received: by outflank-mailman (output) from mailman id 1125558.1467463; Wed, 17 Sep 2025 21:48:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uz00q-0005Ys-Cz; Wed, 17 Sep 2025 21:48:28 +0000 Received: by outflank-mailman (input) for mailman id 1125558; Wed, 17 Sep 2025 21:48:27 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uz00p-0005Yi-Rx for xen-devel@lists.xenproject.org; Wed, 17 Sep 2025 21:48:27 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uz00p-00EY7N-1F; Wed, 17 Sep 2025 21:48:27 +0000 Received: from [149.199.65.200] (helo=l14..) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uz00p-00F7dH-0s; Wed, 17 Sep 2025 21:48:27 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version 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" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From; bh=XGb+gGeKyZDQMTF1ARe7eP6YHdANHrG833P8p7ukfEs=; b=f4HPfzJd1S8AoNGApw71ZGzBi8 gfTRl7TJtxz9yfCUORsTH8CjfSc0QFblFffV5eKU4UVNAI0dRSBNngaxJB1V6v1CB9fodtE6FPJO8 8X9jKnpW+pttkN1VsvbZ6kHaZnw3bcK4naF7zOkbfrCUjM3NhFcxtmpTLe9WxOjfoD4Q=; From: Anthony PERARD To: xen-devel@lists.xenproject.org Cc: Anthony PERARD , Andrew Cooper , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [RFC XEN PATCH] build: Require explicit .config update Date: Wed, 17 Sep 2025 23:45:20 +0200 Message-ID: <20250917214519.64323-2-anthony@xenproject.org> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) X-ZM-MESSAGEID: 1758145734461116600 Content-Type: text/plain; charset="utf-8" From: Anthony PERARD It is sometime unwelcome for the config of the hypervisor to change. Make output will be something like that: tools/kconfig/conf --syncconfig Kconfig *** The configuration requires explicit update. make[2]: *** [/xen.git/xen/tools/kconfig/Makefile:73: syncconfig] Error 1 GEN Makefile /xen.git/xen/Rules.mk:19: include/config/auto.conf: No such file or direc= tory make[2]: *** No rule to make target 'include/config/auto.conf'. Stop. make[1]: *** [/xen.git/xen/Makefile:620: xen] Error 2 make: *** [/xen.git/xen/Makefile:179: __sub-make] Error 2 This also prevent update when the toolchain change and change CONFIG_* values like CONFIG_GCC_VERSION. Proposed-by: during design session Signed-off-by: Anthony PERARD --- During the design session, the proposal was to compare .config before and after syncconfig. But maybe KCONFIG_NOSILENTUPDATE is enough? --- xen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/Makefile b/xen/Makefile index 49da79e10f..efeaaa557c 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -379,7 +379,7 @@ $(KCONFIG_CONFIG): tools_fixdep # The syncconfig should be executed only once to make all the targets. include/config/%.conf include/config/%.conf.cmd: $(KCONFIG_CONFIG) $(Q)rm -f include/config/auto.conf - $(Q)$(MAKE) $(build)=3Dtools/kconfig syncconfig + $(Q)$(MAKE) $(build)=3Dtools/kconfig syncconfig KCONFIG_NOSILENTUPDATE=3D1 =20 ifeq ($(CONFIG_DEBUG),y) CFLAGS +=3D -O1 --=20 Anthony PERARD