From patchwork Fri Nov 30 09:15:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 152498 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3423527ljp; Fri, 30 Nov 2018 01:17:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/W7xmBEOJoOaKaZ9yNojCtKFYsov05yTF3DUEt8ppGhMsTCMyqZ3nyCf+kU8jE92MLNw++L X-Received: by 2002:a62:4b4d:: with SMTP id y74mr4801629pfa.186.1543569436721; Fri, 30 Nov 2018 01:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543569436; cv=none; d=google.com; s=arc-20160816; b=Cm2q1gmLwoikPzpdWg47wBMBsPhrBZac5FhmMKev5fR4VpPIqFxfHPpxq7boI6C2Gd w+aElfujYK+7nJUT8c47xqixms2+gZeh7nkYx8Os5LagRvgnwGbJ/9CsDbqM00lPKJIy X9NYUGPNOcptH6HT9r6oRqHK4p3nInQ6OQdRNbcuhXTU/YZ4who6i/KgZ5n/qIAaqICP Ew1ZdqsPGrttzME4sTKnJb36QLcCUjPdIzzZq/neqToWj8tDQNZSRe1uJJFrDx68rGGA 1wYd3msXd87YhVFdVIpBhNmll6QfBLNstj5vjKsN6O7tYuUBuujJ/x1uXzOUzO1fthy8 5YyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=kqMXos4G/lPaZHDP8a5rB5HT6m4xOVUCjqkGig4Uqy4=; b=P1cVxjFp8TFkypWM9e0qjsX8tbyVksTIScHGjSaV+ItCTipPOQDbGsa6YN7LxRPy64 /Aaaq9xbnE0u8uy61fTmkiPsWrpP0RhnA0VNyuVUKNb/eAIxXGfwM9fBow+ugVB0TQwd +Lan1TnjWqe8UuNjMWm8dde1nMnlHDumCaxI8YChTiIdo3c8godxwTVm9ejEFqOrDsA3 t8Kry6a5wq1TXR2cVYaWtQQZwakIopZG2k1ssd18tkGTx1l8T+VRjYfg67l96n8g6xi5 GHAILWocEYkoncN+rOlBVnUTCRvALLUEzULEsLZJRUrlK50CWmp6kySFNxiTd0Kzyp7C p4jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uXM9iz7B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si4830817plk.9.2018.11.30.01.17.16; Fri, 30 Nov 2018 01:17:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uXM9iz7B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbeK3UZx (ORCPT + 32 others); Fri, 30 Nov 2018 15:25:53 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:53044 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbeK3UZx (ORCPT ); Fri, 30 Nov 2018 15:25:53 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id wAU9GEab028692; Fri, 30 Nov 2018 18:16:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wAU9GEab028692 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543569376; bh=kqMXos4G/lPaZHDP8a5rB5HT6m4xOVUCjqkGig4Uqy4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uXM9iz7BjVgr3HaB5P4EA7P7ho5Jz9jGuBYhVb9WLFMeaZQB/so6i0IEgqaNQ4t7m JKOdMfZKNwuJSjR4q0sO3rWMYjH5OBhcLpdVvYRTOIKILP7aKWGM9jZdWRw4p11JCC Yst3bj6W1M3hkui49420hFrc0EPeg+NICpqcxStFBMkeXPNYKc5KdzxejbbTea4nUi hYykOHE3ery60ZI5x8a49e9dp0e3S/l+ltOzTBnGLyw0WTrqRQTZGKaWiZU20N2tL6 YNIZsJvrhoiYc0T6wpAXFvtaXn4Vzbod8Wn6970pJ2KjHu50XIxfxEMzS8SRfF3gj8 3HFpC4mbXU2kQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Ulf Magnusson , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/5] kconfig: rename conf_split_config() to conf_touch_deps() Date: Fri, 30 Nov 2018 18:15:49 +0900 Message-Id: <1543569352-4899-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543569352-4899-1-git-send-email-yamada.masahiro@socionext.com> References: <1543569352-4899-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to commit 2e3646e51b2d ("kconfig: integrate split config into silentoldconfig"), this function was named after split-include tool, which used to exist in old versions of Linux. Setting aside the historical reason, rename it into a more intuitive name. This function touches timestamp files under include/config/ in order to interact with the fixdep tool. Signed-off-by: Masahiro Yamada --- scripts/kconfig/confdata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 1e35529..4c76d56 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -906,7 +906,7 @@ static int conf_write_dep(const char *name) return 0; } -static int conf_split_config(void) +static int conf_touch_deps(void) { const char *name; char path[PATH_MAX+1]; @@ -1028,7 +1028,7 @@ int conf_write_autoconf(int overwrite) conf_write_dep("include/config/auto.conf.cmd"); - if (conf_split_config()) + if (conf_touch_deps()) return 1; out = fopen(".tmpconfig", "w");