From patchwork Fri Jan 18 08:16:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 155910 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2980671jaa; Fri, 18 Jan 2019 00:17:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN63qMnxfKCvdeOZce1prhvYmjcceeoITiMVvh2LAF9o/HEOXRfMlV4IWS1MhlGMAQrlI2xC X-Received: by 2002:a17:902:9a07:: with SMTP id v7mr17899482plp.247.1547799425210; Fri, 18 Jan 2019 00:17:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547799425; cv=none; d=google.com; s=arc-20160816; b=HkfMQwWx4mF6cpTs+6Y++zoO0W/1AyTak1w4OtDADWrYdfpvdDnyYHJKK5S/hADqW/ l5eUC11qlXAyyeQ9PDgAt7B3MNlJ3e3Wus1OYIxJj4ccbJ9GtSbyhtVqPB3T+dJM3EB/ Z26omJ0I7ORKdOaRbjlm9mLkxorpJ3sU6MejntRyknce4eaEM9t5zYSSCMecquZe7nXE rhkXq8b74lpB5J+yZXaPAU7NJd5glZI6AfdZnoy9CowEhpdGrs0Kj+4s755a/5Wd3kQj P8TyzSu2VYEtTb8ujk0lDhSaY/fzZsQcrxzSMaWkdg1fOu2SIKQo7CNAVK/SBMituExw taog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Fn9NCCeBsEzUwoyGuZ00xfmK9ZjqHUvhAUj1QG8J3EU=; b=fJqT6GQ3yopFKJxgxhIm3AF9iq8KGYe/7tAU5HznybqwJdSH4nvkoklKRICZTLHTIg f9KDw/9ZJkAfmi/ghIbUVFCEEso2capy05xBsiQtyvkRzgUsdDE0spJTT8Y14VMGDHza IwmqBKuIA2UsleBlmRmeQSK2ZtdSgDG4l50GPRt8taRzON/kkBXxYnCacuM/Rp0DNFEy W0UqRcTl+Y/HvdkgiYHGMaGjisVpZIzaHih+4eGd7rov7bNf416OZ6gPceXcEQgbv+TF QlxJitWo6lVY+wsKXUXCp6fwWon5DgjyxZ4T4EGaw9dWnuNmVZrZI23yQw5KDC+0jGKg 68xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jL+0VfmL; 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 j35si3960324pgl.223.2019.01.18.00.17.04; Fri, 18 Jan 2019 00:17:05 -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=jL+0VfmL; 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 S1727545AbfARIRD (ORCPT + 15 others); Fri, 18 Jan 2019 03:17:03 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:23399 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727350AbfARIRC (ORCPT ); Fri, 18 Jan 2019 03:17:02 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x0I8Gvkf027563; Fri, 18 Jan 2019 17:16:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x0I8Gvkf027563 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1547799418; bh=Fn9NCCeBsEzUwoyGuZ00xfmK9ZjqHUvhAUj1QG8J3EU=; h=From:To:Cc:Subject:Date:From; b=jL+0VfmLMhbqpqH4Kv5U6eydUUMR9lean+qZ1JiM5bTyk7AndGANXbR0iR7dTcYdc i/3wJNf2JtCKZqoPs3NViXdoHV6bUmz7VGiJSXPp+hvUCRKsNSgitMwW+SbNNq/iLd GtEwazqNZYE7YW7eilc2Kz0v9EqCyo8QLulSvox/ovUE0qU9aW+Smk6P4n2+O6Ocet U70c5jTyd+Db6NGX3+6CX0aWD5a+Ay67q67k+iza4g7QCr7ZHP4b1pOh0r/XdSs2Fa 5W4hCLZOascqRxNHRUjC2TzaNTvT0zL7cr5KjqLWlAR8Lz5PVaPk9xn0Lz7RiQclIt i1Bz3CBK/a5eA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: descend to scripts/kconfig/ directly when syncconfig is needed Date: Fri, 18 Jan 2019 17:16:52 +0900 Message-Id: <1547799412-20120-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The recursion of the top Makefile is inefficient. Just descend to scripts/kconfig/. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 9851a44..d5f0ac4 100644 --- a/Makefile +++ b/Makefile @@ -631,7 +631,7 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ; # include/generated/ and include/config/. Update them if .config is newer than # include/config/auto.conf (which mirrors .config). include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd - $(Q)$(MAKE) -f $(srctree)/Makefile syncconfig + $(Q)$(MAKE) $(build)=scripts/kconfig syncconfig else # External modules and some install targets need include/generated/autoconf.h # and include/config/auto.conf but do not care if they are up-to-date.