From patchwork Fri Jul 20 07:46:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 142440 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2649872ljj; Fri, 20 Jul 2018 00:48:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc/G00ezUb0I7kE6xe2NrJfUurXy/KVbtaAn+LKW6GiBYGluLKuKteQS88AmuGR2v3VpPjB X-Received: by 2002:a17:902:4203:: with SMTP id g3-v6mr1017565pld.315.1532072897033; Fri, 20 Jul 2018 00:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532072897; cv=none; d=google.com; s=arc-20160816; b=tEEDYQq4BkNjY3+sGB2I+sCooNoc44Uy7WOs1avxyksthpNT9uDgMfazk9ucVzUzgh iv974oVBICpk3cIZ+ouJBKsOflmoSRQcBWUw8IAHfQADwM1iTLx4rIMJvxmgkX0L2YKK 3B+/51pIDoCT4IS8O9s7EEtnx5YWvpLQQSgd6NGTLv6AcUIH03NO6rVHhv1Fc44/A1bd w4EUbW9l23gM/KDOCv989bjA5/D//2tVAUYNUuqR3rB4GKECvGXuWTnsO2yOrUrDa5W3 z4wym/PxKLmMLO09g7YweH7YoIn+H4nasUyQgWY10XMnMRh4CtVOgtRJDCDKUtwznuGC JxGQ== 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=zJroUBO1wy+a8dN1vybMLf1niaR7c9LCNjsqDbF+BFA=; b=BeF1NcVpIl64uWrnWxqNepB2dINgwTROeit/p/vYZRIk5I28jzY+4xBkE3vQ5xTZ00 rddUkKtOLvzk7kn9RI1lSCHcImRG+uqvF158pFZNWsjNguLFoWPHHgGIP4zgcVYdH95M ODr6+0h9Sxr3sNgPNIr+FytaldsbOXXkt9qpiccw3rsrEcAt+8OLRzTKMUJG2XZBjxdL dFm7a1Dr9zu/bj0Ez3mgqxLCwdAuC0Yu3VhU/9BMggrSwuLC0Tsxfe37I7J9RR+eaFyN jsgVxkYKS+f4ictAVUEzy0qQSffkKVzKgOcXE8Y3AaUSJqNPer8qzCRXXQXVz4DGkDI+ gMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LB5jJhTb; 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 y12-v6si1141434plr.55.2018.07.20.00.48.16; Fri, 20 Jul 2018 00:48:17 -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=LB5jJhTb; 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 S1728125AbeGTIfM (ORCPT + 31 others); Fri, 20 Jul 2018 04:35:12 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:28855 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728007AbeGTIfM (ORCPT ); Fri, 20 Jul 2018 04:35:12 -0400 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 w6K7kdiq008048; Fri, 20 Jul 2018 16:46:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w6K7kdiq008048 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1532072799; bh=zJroUBO1wy+a8dN1vybMLf1niaR7c9LCNjsqDbF+BFA=; h=From:To:Cc:Subject:Date:From; b=LB5jJhTbcD2LZ3nMcY7puQIy10rGgorwbQ2Yph0h8QjMhZ6xzdBjOM1UeaG1dBDcH 5seTVDyctg5f5d1Px5ALiKfEbplknTVEIn9/L4htqfZx/jhYzahuEFPhl6xk9MyB/e CFjX1NAevjKnIBgaB9YZg6wbPMAFMXMj8f63EbRkVWdTfd4U8dcPYQrn3jISMb2FB/ KuXWBVxFAIjquChZXtV0YtO4jO+AlTA5MHkeJFo58Yft4qF6Ub8y7hneS8Dkbo9nuQ Nii0UGYJBqCJMMRSwdqcvAiu0nWaihnA8hC5+IYHHGvnZNnIhZtTNSYkh+KnuZlg6n 4U5minbTfvvCA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Dirk Gouders , Ulf Magnusson , Sam Ravnborg , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH v4 00/11] kbuild/kconfig: do not update config during installation Date: Fri, 20 Jul 2018 16:46:25 +0900 Message-Id: <1532072796-7947-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 became a big patch series. Only a few changes for V4. - I dropped the last patch in v3. - I am keeping include/config/auto.conf as the prerequisite of modules.builtin (11/11) Masahiro Yamada (11): kconfig: rename file_write_dep and move it to confdata.c kconfig: split out useful helpers in confdata.c 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 from prerequisite of phony targets Makefile | 44 +++++++++------ scripts/Kbuild.include | 3 + scripts/kconfig/Makefile | 16 ++---- scripts/kconfig/conf.c | 39 +++++++------ scripts/kconfig/confdata.c | 135 +++++++++++++++++++++++++++++++++++++------- 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, 177 insertions(+), 98 deletions(-) -- 2.7.4