From patchwork Sun Jan 14 08:13:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: xtex X-Patchwork-Id: 19012 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1101743dyc; Sun, 14 Jan 2024 00:14:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWJvcPiKAGppdNlKDCrBqVWFL/x6Z1A4VrpucaZ8FAYUbSOVjlVMNjCPlLKViMRl63raLi X-Received: by 2002:ad4:4eea:0:b0:680:f9a3:dd26 with SMTP id dv10-20020ad44eea000000b00680f9a3dd26mr3991656qvb.7.1705220092176; Sun, 14 Jan 2024 00:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705220092; cv=none; d=google.com; s=arc-20160816; b=mnLQ2eW6k8KPUkSxECKuidzbSjy0CuSmFIYXsaL9+WqmlniEgB18W6W8senkqJWA7Y vrkHXadV5XWM2wkM4Ebp3V8W1MRJXyMozWoPa9NBds5UA4y/jzyTPV5BxXL1+5obSf2P OXhn2rTs0JLOuCvqWeu+60DuG7Kg4VNf5c7FbCb8sUCFex4XOxb2Dw28LIycIcoeGM4V 6nkbL2WeG1rd24YSIfnlt5zKpoN+9Y5WyzXVe6ES/7E45P4eD6oU7xcvPfBT//81692f e0Q3lecDqiT3AcgrOGysDPBlVn29j/bWRFcQzOuVmBleLAtLdHz4yeFRz3sNKaWnH29Q BAoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=I5flNeCSKcPZFS/QtrUpDSDNjkkZLU6sLiC2v1qqHV8=; fh=1kO9eq5ZFx0C+jI0GrP2OGUmS21ICRLKN3pqtfzN8yw=; b=P5G6YdSNWYwYcWAk6enn6W4avIlJfqhQ/zDlz0zUVyD5G95f01PJ030a/2H6xHafgA UG7aHJkLOBvvtoitvrgiJFed9Hm2j34nDyyRHGIY1M1T+ZnxpbsuDNWbyBoN4oDi2IzJ b65xccWlM0nKtDMoJ6b7FJ06fFDhwH22hPNozT4SrfZ9h49MCxT5jQ8zADia1YKmwAdG IHm3s+54vFeXsJmgEsKTw3v7EnjleS3AM20q3bDs0Zj/i2kHSDLn//m6FzDSqNdLy5Nh CGT/G4fX+heTU1sH7KfnvPzoIXAZu3jT7TPyl/FJ6CPkE4JeqJEMXBGVZYtGovgqTB5M EFwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@envs.net header.s=modoboa header.b=KXdcKY8Q; spf=pass (google.com: domain of linux-kernel+bounces-25417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25417-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=envs.net Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b10-20020a05622a020a00b00429d29aa90asi3606118qtx.315.2024.01.14.00.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 00:14:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@envs.net header.s=modoboa header.b=KXdcKY8Q; spf=pass (google.com: domain of linux-kernel+bounces-25417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25417-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=envs.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E4DC71C20D9F for ; Sun, 14 Jan 2024 08:14:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D3702116; Sun, 14 Jan 2024 08:14:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=envs.net header.i=@envs.net header.b="KXdcKY8Q" Received: from mail.envs.net (mail.envs.net [5.199.136.28]) (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 46EFA1860; Sun, 14 Jan 2024 08:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=envs.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=envs.net Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 4DFA538A05BD; Sun, 14 Jan 2024 08:14:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1705220063; bh=I5flNeCSKcPZFS/QtrUpDSDNjkkZLU6sLiC2v1qqHV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KXdcKY8QOWYIpxUv9NgLafH556P8nWhL761rXSGK/lvb6Ym3sutcEfyboUXeqIUE9 Gec6Phe4fV8R0LSMjnu/lQGcEOX3PodCuKgw7YWGlAkt15zLiLD0k635zo5KzFTj2B 7Q+NzQjLfKQY9ylKrupVI1n6EopXJWuXN4vHWIWRE69O4zmhntoQpbWcqdsfaCrTxu kom2s+N3e9GCZAfF0uZmAQvVX7GXDdk8idWB+D9FdCxNlw/9DYsh1VgquFeaPvpsGu Z4bqsW0IUWm8PpPgVXoT8H/v6vQc0CoKh2NsWDPhSSBd0sgCaa4Pd/exb1Awb7J7F6 NXMdIrPeojfReekFYVnHLM6qgiYK5vfqGwryFHXwLtMs/9yzQ+2MovZQJGvv4dF7Jx Je5bbl7Sv/ZNuk64Klr9VpIUcUKT62kEUn9+AFUyDrSGuxhct5bmPRGFfumgzagvTA /EvxuBma+1/D/5kfBAYyA/ebTMjQEI8MSX+4UtCHhKUp/uEEPrled/oCOeL4vObrcC 2fyZbD1OjzcAWFkTMZqCHzgmSJDa0RgEfpYMfyTdH8naen36998HB4eA4yGS0iswjN 8wor9GnUhfOLLPNKAAFKj/l3qvS4faopi142x3Hrb5aHsa/dSnEIqdQ+52h6CSSLlQ LIcU7h8UgyF+EaTicC6PiouI= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aAFymciOCuSc; Sun, 14 Jan 2024 08:14:20 +0000 (UTC) Received: from xtexx.eu.org (unknown [120.230.214.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Sun, 14 Jan 2024 08:14:19 +0000 (UTC) From: Zhang Bingwu To: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Zhang Bingwu Subject: [PATCH v2 0/2] kbuild: find kernel/configs for merged fragments Date: Sun, 14 Jan 2024 16:13:58 +0800 Message-ID: <20240114081400.12452-1-xtex@envs.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240113001135.7781-1-xtex@envs.net> References: <20240113001135.7781-1-xtex@envs.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788052863510711608 X-GMAIL-MSGID: 1788052863510711608 From: Zhang Bingwu First patch changed usages of ARCH to SRCARCH. For some ARCH values, such as i386 and x86_64, SRCARCH is different from ARCH and arch/$(ARCH) does not exist. Config fragments merged by merge_into_defconfig and merge_into_defconfig_override should also be searched for in kernel/configs/*.config. When using 'make xxx_defconfig xxx.config' to merge fragments, scripts/kconfig/Makefile also searches kernel/configs/*.config for fragments. This behaviour should also be in merge_into_defconfig. Changed in v2: - Split changes to two patches Zhang Bingwu (2): kbuild: defconf: use SRCARCH to find merged configs kbuild: find kernel/configs/ for merged fragments scripts/Makefile.defconf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)