From patchwork Thu Jul 5 02:39:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 141099 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1410408ljj; Wed, 4 Jul 2018 19:43:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf7sr5MQt98NNs6gapnSG6YB/O+GFiQy8yIUHMiGoeK0ljqLF5Oi4N5O3D1tK5ZWtKjlz6m X-Received: by 2002:a65:5a01:: with SMTP id y1-v6mr3822206pgs.125.1530758627465; Wed, 04 Jul 2018 19:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530758627; cv=none; d=google.com; s=arc-20160816; b=uhguviKUiMpT4Y/aqTNw4Gw9wgeiE5juR0bxPdIWuu9HQwX5hfHuGyGtcp+CX31qVY 6G4i3eaH+I2+ck3e876CUxdfR/uz0nRq1jvvPUHNP8SneKPGrYwpHHejSOxx+dDfTA6s YAk0fWYpVe94N9724fudkHSlq+w6JakrLLOLwMJEKsJ7v6kSMYGmCya90Rpw7i8PFU2S 0e+udfRoDf66PmflkHH4NHtPOUL9N4yhlwS9uradgS+dyJ9M8fi05/tnk7/ocGvQdec/ rGmxD260j5fZoNmmJlkL5bJzFFutF0fW6YsmQsaULEU8diK6s0OFcovNEqoP3pdhf6+e uYWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Y8UsLeKRYemE0CdhjyHCUFdeCX7SdgqXQgJrFjLkiM8=; b=mivvpFWkk6YCa6L2qIljsxEXGuCeJBYNhdRp0tVANPwou74365eIljhEBa2FBH8oHW y6q3Gcg5rypT2dFsYJtrIOZfIg8x9Bac+2O3BiU64joDUqsdLk59cZJiw/5XbgI0DyeL KHMXLb5fuFO24mvUb0ajhcKRjp0kzDZXA8GTZbBg/2+KtPAPBIINHEFsgllpwOgZhr2A 7rFpy7NE9A5fpf2MPPHI7j8W8mCwJCXW0NQWFdHhTDILbnVMomz44gfwh8A9I3XkQuqZ p+b6LIoQk+GvDSwSvEM2pfwllalO+lcotJIEoVEgV4C87b5Nr62+UDUa/fR/IdpB6SBL sV+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pfFv7SIq; 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 b11-v6si649505plr.42.2018.07.04.19.43.47; Wed, 04 Jul 2018 19:43:47 -0700 (PDT) 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=pfFv7SIq; 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 S1753548AbeGECnp (ORCPT + 31 others); Wed, 4 Jul 2018 22:43:45 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:43986 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753259AbeGEClj (ORCPT ); Wed, 4 Jul 2018 22:41:39 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id w652duZW028145; Thu, 5 Jul 2018 11:39:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w652duZW028145 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1530758397; bh=Y8UsLeKRYemE0CdhjyHCUFdeCX7SdgqXQgJrFjLkiM8=; h=From:To:Cc:Subject:Date:From; b=pfFv7SIqInUgiNXW5DRcgjZb1JJ1Oj4BN8MTVaK00M1mnTElGBEy3IKcplhi1LYJx LSNlz0i1i5VoLhrsjZizi82Zxj7vGG1P/UnDVYv4NJC3XFpverd7L2v3c2KnQCchFY N7DOKKSnSj7HUtI4wwg55MUqPA3YKTvagZP24WHVPm7oNZh/gsVLJsgO8CVBXCMNJZ jFIdTSO5f94HNNQBW/NBSBfWSWdN1wiAzZidnmUUY7itQ8zSUKsEW3fdqiBpZZsor9 sXp3lfVYPQasNjYCEczmuJwP0RoJrRA5neBjgU44mF/cuWmULyCEUEoLS9um51pdG3 cjqouWQ9SzKtA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Dirk Gouders , Ulf Magnusson , Linus Torvalds , Sam Ravnborg , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH v3 00/12] kbuild/kconfig: do not update config during installation Date: Thu, 5 Jul 2018 11:39:37 +0900 Message-Id: <1530758389-30862-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The main motivation of this patch series is to suppress the syncconfig during running installation targets. V1 consisted of only two patches: https://patchwork.kernel.org/patch/10468105/ https://patchwork.kernel.org/patch/10468103/ I noticed that installation targets would continue running even if the source tree is not configured at all because the inclusion of include/config/auto.conf was optional. So, I added one more patch in V2: https://patchwork.kernel.org/patch/10483637/ However, kbuild test robot reported a new warning message was displayed: Makefile:592: include/config/auto.conf: No such file or directory This warning is displayed only for Make 4.1 or older. To fix this annoying warning, I changed Kconfig too, which leaded to more clean-up, improvements in Kconfig. So, V3 is a big patch series. Masahiro Yamada (12): kconfig: rename file_write_dep and move it to confdata.c kconfig: split out helpers to check file/directory, create directory kconfig: remove unneeded directory generation from local*config kconfig: create directories needed for syncconfig by itself kconfig: make syncconfig update .config regardless of sym_change_count kconfig: allow all config targets to write auto.conf if missing kbuild: use 'include' directive to load auto.conf from top Makefile kbuild: add .DELETE_ON_ERROR special target kbuild: do not update config when running install targets kbuild: do not update config for 'make kernelrelease' kbuild: remove auto.conf and tristate.conf from prerequisites kbuild: replace include/config/%.conf with include/config/auto.conf Makefile | 46 +++++++++------ scripts/Kbuild.include | 3 + scripts/kconfig/Makefile | 16 ++--- scripts/kconfig/conf.c | 39 +++++++------ scripts/kconfig/confdata.c | 139 +++++++++++++++++++++++++++++++++++++------- scripts/kconfig/gconf.c | 1 + scripts/kconfig/lkc.h | 1 - scripts/kconfig/lkc_proto.h | 2 +- scripts/kconfig/mconf.c | 1 + scripts/kconfig/nconf.c | 1 + scripts/kconfig/qconf.cc | 2 + scripts/kconfig/util.c | 30 ---------- 12 files changed, 182 insertions(+), 99 deletions(-) -- 2.7.4