Message ID | 20231205104559.2017320-1-msp@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3342017vqy; Tue, 5 Dec 2023 02:46:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHqnEI5EfL5E0JVTHGItJpSzN2G0XXtoQkVQFuB6Ej175VrpL/IAXzZLs5Ir0CxUpldaZ/ X-Received: by 2002:a05:6a00:1491:b0:6ce:6baf:d7d5 with SMTP id v17-20020a056a00149100b006ce6bafd7d5mr1082547pfu.4.1701773184862; Tue, 05 Dec 2023 02:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701773184; cv=none; d=google.com; s=arc-20160816; b=bJmC2G81TxtiqDjKDNkzpz39x8PSQUkfDA6rsAlrguPHtpWhUfNSZTAuCZiqBzlRlF jYGiJIc6u9/p2khEsOnOTV8S9gcjKD4KtsQ1YO5793ODYF3eMJ0zRZjN3C6nT4+bEkg3 tb/JojCmGa1Ladh4AosNCify3G5ivxJQY4jBbgDeDWzpqAgsKvN//Krm/BpV2ne2Twgj PRNrLbYm1QgfSNpnUYw4IEqnski4KGQdvePRayOMzI1KUCOPbfq6hY1TvzOW2Ktf7WMb +kwLcr0r4NLd8SqkYBKPb4mJAkpGz+9Q5/9vJSbgbIApOrNnm2dWhSmXNHFuR6KC94m3 o8mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=izNq30yZOvNNZwGOaMHX1vwLLUveCfNwr6iLqBb8tH0=; fh=VpT9k5RbEmf+vsYc3q4qXYRbluH4A7JpgSBAhQSZI0U=; b=lv4FnM26MbnZVvMvlNxzM2WEzjM6aMVjhYpfZjU22imYSrWM0rLv044f48aavpWPSa aE89+wkml5XS5kU0LdZ6NW9KMjI/oI6aCcZEG7BaJJVRKi7IH3N43qCHPF6yFVQGnrr+ 7bAnjh9l6vopSB7/GB5oRtOFAajjXof1+1ZsR7/KMIoz4B+x12pfyBGBEjI8wiRtTfRg iMiL1oUojE5NodgOlBX4z2REb005ruCBmhq49UuoQEBpom4p47oinYkkhDqStg9coS8N F5z21o/CgaGiy+ONYvBHYAhP3lcdMdUd9zuL7ORmantiSai+fZoeCxOq/SOPtOilWDe1 QR7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=Avzd5itI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 15-20020a63020f000000b005c1faa82bfesi9325524pgc.857.2023.12.05.02.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 02:46:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=Avzd5itI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5FB2D80A23A0; Tue, 5 Dec 2023 02:46:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345039AbjLEKqI (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 05:46:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346542AbjLEKqF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 05:46:05 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CB39CE for <linux-kernel@vger.kernel.org>; Tue, 5 Dec 2023 02:46:10 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2ca0715f0faso24725681fa.0 for <linux-kernel@vger.kernel.org>; Tue, 05 Dec 2023 02:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1701773168; x=1702377968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=izNq30yZOvNNZwGOaMHX1vwLLUveCfNwr6iLqBb8tH0=; b=Avzd5itIydUCHBi2+Qzh6VyaCQ1Nna3w5QzJELAJ5P2uIvjOUfivv8CV6lP6XdbcI3 8y2y0W+Vts913ETpl2m2UfrIdtfBDFgtZHCGbBVOmaLTEWxs6U4bn94vKNv1diAM+4FT qwXlVGXbpTssS1Wdz0PlJLMCLb3PmF4XUZ61ixpzcHU7557YjHp4cjlbabwGY+vy9+in Okivo7iASIts+NVU5rftre+Di1l1erimrx199AIG7d10SXi37m5lLIRyFWLJpSIW3npO hXMBBO4q3zMv/Ne3Pfgcph0jVhI7LcQ5VqFxLXI4DOM/qa4djEBfQuNgR6DE4e2m7fhG k6mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701773168; x=1702377968; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=izNq30yZOvNNZwGOaMHX1vwLLUveCfNwr6iLqBb8tH0=; b=eRozAirpmvrXZIQE8C5vSRI+zba+QNHlAuL/3DCKGfvkrxPv4YPHyT5nSaUSPMCxJN cWtMpoFmiX9Lp+b+Ac141mHZJk988JMhOzny1uOTlSYydOW1tZPgiiLEL1fTyZ/oj8ek gv/+On3WFfQdvvZsrNw+pnHgs8VTDkMHzpnGwyMjBZGJXYTgylwabT76yVPkBjD4+fNP cGv8nBdfY00WRYTIJaK/GvJcY7WZQgJcTVgQprDbmDo1tWdU1pNFaogcogdDSjzVL+EA RZDCE5RVq5ZIBSYk1ghYecgWFDoDWjnCcdf6lNdVaYgzNWLd7UWFz2R3W0X8Py2d3K4N SRqA== X-Gm-Message-State: AOJu0YwLgjGBCCOQBWHv7gw5q4R5n7JfR3nMgvg6NdpFihRqnIB40k4A YSq9yWpAmR+7ebhHbW87qOQyiw== X-Received: by 2002:a2e:82c3:0:b0:2c9:f7e9:6e96 with SMTP id n3-20020a2e82c3000000b002c9f7e96e96mr2189064ljh.17.1701773168241; Tue, 05 Dec 2023 02:46:08 -0800 (PST) Received: from blmsp.fritz.box ([2001:4091:a246:821e:4988:9c5:5b9:1020]) by smtp.gmail.com with ESMTPSA id m7-20020a1709062b8700b00a1aad4d92dbsm3813613ejg.123.2023.12.05.02.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 02:46:07 -0800 (PST) From: Markus Schneider-Pargmann <msp@baylibre.com> To: Masahiro Yamada <masahiroy@kernel.org> Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann <msp@baylibre.com> Subject: [PATCH] kconfig: Use KCONFIG_CONFIG instead of .config Date: Tue, 5 Dec 2023 11:45:59 +0100 Message-ID: <20231205104559.2017320-1-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 05 Dec 2023 02:46:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784438519022537874 X-GMAIL-MSGID: 1784438519022537874 |
Series |
kconfig: Use KCONFIG_CONFIG instead of .config
|
|
Commit Message
Markus Schneider-Pargmann
Dec. 5, 2023, 10:45 a.m. UTC
When using a custom location for kernel config files this merge config
command fails as it doesn't use the configuration set with
KCONFIG_CONFIG.
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
Notes:
Hi,
This patch helps me to merge_configs with config files that are not
.config (set by using KCONFIG_CONFIG=<PATH>). I am not sure if I break
something with that change.
I didn't add any stable kernels as this is a kernel config issue and no
bug in the kernel code itself.
Best,
Markus
scripts/kconfig/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, Dec 5, 2023 at 7:46 PM Markus Schneider-Pargmann <msp@baylibre.com> wrote: > > When using a custom location for kernel config files this merge config > command fails as it doesn't use the configuration set with > KCONFIG_CONFIG. > > Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> > --- > Applied to linux-kbuild. Thanks. > Notes: > Hi, > > This patch helps me to merge_configs with config files that are not > .config (set by using KCONFIG_CONFIG=<PATH>). I am not sure if I break > something with that change. > > I didn't add any stable kernels as this is a kernel config issue and no > bug in the kernel code itself. > > Best, > Markus > > scripts/kconfig/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile > index 4eee155121a8..106159e75d40 100644 > --- a/scripts/kconfig/Makefile > +++ b/scripts/kconfig/Makefile > @@ -99,7 +99,7 @@ config-fragments = $(call configfiles,$@) > > %.config: $(obj)/conf > $(if $(config-fragments),, $(error $@ fragment does not exists on this architecture)) > - $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(config-fragments) > + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m $(KCONFIG_CONFIG) $(config-fragments) > $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig > > PHONY += tinyconfig > -- > 2.43.0 > >
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 4eee155121a8..106159e75d40 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -99,7 +99,7 @@ config-fragments = $(call configfiles,$@) %.config: $(obj)/conf $(if $(config-fragments),, $(error $@ fragment does not exists on this architecture)) - $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(config-fragments) + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m $(KCONFIG_CONFIG) $(config-fragments) $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig PHONY += tinyconfig