From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCE0C155A5D for ; Wed, 4 Sep 2024 23:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725492644; cv=none; b=lvdysMLuIFurpcFhKLhjp0/VuHZc8i+QfPsdRbSsozL4hIAPnY8nhqHI4+esN/o8BByvh9P+hSIRx9cG2/dChI0cgpYru2/PzCO1kfg+eg9Tim/zpudXJxWahCRAWy0HbC7HsqP3LpEnk164ZfGGfGJsEmkWp7KmiQnyZxBWG90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725492644; c=relaxed/simple; bh=55CZBa/vRH8RrkhmfzbJc16j2wdZi6adMOP6LLdMXtM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fneDhDTunkq1Dz0tw7ixLbrvmABkDIm9yGPvQmvFFAc1gdi1UviZ1igG1AgeQvtmACR3ubQNQszyOfifj++rnCO/S3hroIqoGqPw9gMcbqgy/vtCVFUVrMMF1TxD1viC1aGUIjgzPElH/8BILHIZTyumQf/rS7KXzVFmbZdlyCY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=I4RUomwR; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="I4RUomwR" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=ASmpsdUlSBudEnPd41KT60GhbVuK0IV3D/dv0KxfDtY=; b=I4RUomwRfmCDTWOCtqYicSoejD RPcoAWbJXAutLwOtjyGmxm8PgPkPwSujdq002bm2EccNIvD7UlGpEM33hWEhdTqePX3CgfZfCE1XH TMGnla3Zkfe9ENMCW+Oi/L3R/nAzfVt2+cO12AhJ2QQxc9cOWXgvp0pjVjgc0DS3A4dicxV+d3HXO 3XVXHdcDXhb72dccUMgldYnARlpa8vRkeWQ2pjcrs97ZSmsmPBUF4N0KutDcQjJbHJHvqBLQ9imb9 HQyKOrCKJUUTV58wKWIkowoshCYk/4rzx4165LbVoYM1OdHsp+wIPRRD+yZ1+zek60Zxli/SHHiZK 2WCSHJMw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1slzSQ-00000006MRR-2G5k; Wed, 04 Sep 2024 23:30:38 +0000 From: Luis Chamberlain To: kdevops@lists.linux.dev, chuck.lever@oracle.com, da.gomez@samsung.com, jlayton@kernel.org Cc: mcgrof@kernel.org Subject: [PATCH 1/3] scripts/kconfig/kconfig.Makefile: move _refs-default Date: Wed, 4 Sep 2024 16:30:35 -0700 Message-ID: <20240904233037.1516218-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240904233037.1516218-1-mcgrof@kernel.org> References: <20240904233037.1516218-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain We should avoid editing scripts/kconfig as much as possible unless you are aware of the git subtree management for kconfig. So move the old change to depend on _refs-default over to the Kconfig dependency we had added to allow dynamic Kconfig. In the old case we only enabled dynamic kconfigs when someone ran 'make dynconfig' but Dan's patches which added ref tag support lets us now use dynamic kconfig always but with minimal things: kernel branches for static references defined in-tree on yaml files. That is we don't talk online to fetch information. Move the _refs-default dependency to the Kconfig dependency to make this more explicit and to keep scripts/kconfig clean so to allow easier updates from git subtrees. Signed-off-by: Luis Chamberlain --- scripts/dynamic-kconfig.Makefile | 2 +- scripts/kconfig/kconfig.Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dynamic-kconfig.Makefile b/scripts/dynamic-kconfig.Makefile index bdeb499783b0..b6c0e43d6697 100644 --- a/scripts/dynamic-kconfig.Makefile +++ b/scripts/dynamic-kconfig.Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/scripts/dynamic-pci-kconfig.Makefile ANSIBLE_EXTRA_ARGS += $(DYNAMIC_KCONFIG_PCIE_ARGS) -Kconfig: $(DYNAMIC_KCONFIG) +Kconfig: _refs-default $(DYNAMIC_KCONFIG) dynamic-kconfig-help: @echo "Dynamic kconfig targets:" diff --git a/scripts/kconfig/kconfig.Makefile b/scripts/kconfig/kconfig.Makefile index c537bb069264..68af73d2c0df 100644 --- a/scripts/kconfig/kconfig.Makefile +++ b/scripts/kconfig/kconfig.Makefile @@ -37,7 +37,7 @@ $(KCONFIG_DIR)/mconf: $(MAKE) -C $(KCONFIG_DIR) mconf PHONY += menuconfig -menuconfig: $(KCONFIG_DIR)/mconf include/config/project.release Kconfig _refs-default +menuconfig: $(KCONFIG_DIR)/mconf include/config/project.release Kconfig @$< Kconfig $(KCONFIG_DIR)/nconf: -- 2.43.0