From patchwork Sun May 20 08:16:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 136418 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3213658lji; Sun, 20 May 2018 01:19:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpssrn5GD577o2eDnzONn0jkrdSjkIzdIXxXPbkHEn1qtqcvl01wEBW/z53wf0nIIatF9l9 X-Received: by 2002:a65:4a42:: with SMTP id a2-v6mr6776228pgu.87.1526804356192; Sun, 20 May 2018 01:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526804356; cv=none; d=google.com; s=arc-20160816; b=G883eS6iMm+OoSDpiVwne3MrW6VG2BwSLQNCzxYUqRMyTdSeca6FjFJFu0Boy/XXgc HRdseRpcl6mXXUlbw+bCbyarjoHtsXauYf6CnEj3XctQzd3yRA5gnb5CwTfeLSpLo2Z2 K8FSy6o0k7ea5xrnRntNWuk15c+zhz7TInxgU44XrSU8ik/Iq+5qHF9xlRPIWbN+lsQE HotpK4QLXLsvshr7bpFvJ4hll1olQR7LLrYQxQfSZPBnimRDSq1NGgs0A0PWjDY/IerZ oPYEduYXMo5q2HoMuEym9CrsEPypZiZbiW+ifDnXCnqFhfC/2zSX3xN/ZPfeV14UYCqG BQIQ== 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:arc-authentication-results; bh=NQmz1UIlM/ANVMh96TY4fJp4CbW8yR/w0cO3yiXR1kE=; b=c2x+k50vLwUwjHTQ8jFXYKK3A2qAfF0FvFqTdb8kPUELwA07qEMQfSE1QojSJXE+d1 9yq9UJ7q6o++AeZoNY7I0pRNJWmdNpp7b0ECNga+hxVhD33ct4xVnoyWC+NSEECYgeVT 6X/6IAsC3boxo1sImDWgKZDd3hBVTLji8Y2ZSbYA6sFXLJ9G9lHXuWjJ9/L8+9vfeLOt OeYRE7pTIxdcOfeh7xyxmQfSSfp4ysgUJT+1ZJOnLmgAtY1/kcxLxfz56fa6BAkJsNYK EGUukPB4Oq47wNCBiGoH2HOaO1kO494ZUOCZ8xFBgm8T0Q+Arbny3IhwGWGKvC0Z/KvW R7ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=I8YScQUn; 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 u15-v6si9073226pgv.355.2018.05.20.01.19.15; Sun, 20 May 2018 01:19:16 -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=I8YScQUn; 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 S1752597AbeETITN (ORCPT + 29 others); Sun, 20 May 2018 04:19:13 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:22691 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751778AbeETITD (ORCPT ); Sun, 20 May 2018 04:19:03 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-07.nifty.com with ESMTP id w4K8H4h0004008; Sun, 20 May 2018 17:17:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w4K8H4h0004008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1526804225; bh=NQmz1UIlM/ANVMh96TY4fJp4CbW8yR/w0cO3yiXR1kE=; h=From:To:Cc:Subject:Date:From; b=I8YScQUnFYo6bkZZ+D+lgg3s6hpEt3Bu40hU42QNs0BFPSaE4E/w+mS+Bj4EybiBf ZzdeUPjmhXqbNf226sqigZM1JBdHtbQ7XwTCebjkUP19Vmb7xyDxlixm7Aioysps9g QMEJvQeJzUfk8DTAPrLmpAWUeD6NWa2kbVMfvYQ5y6rJPlqkqMYZ7gDy/Nwwednm5P kp0SIvI6NCjak4erJM52t/avUD+j4k/gWCA3VPDR1T2Crv/XPqP2ZbJ6tWRems8S1U wpU+p6PPEymJFI1S6r6CPXIT52l9oRTA7tzr3MsHQQMZMjnAzuvuEguSqKKCCynFnk jkHpknuaitfvQ== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: "Luis R . Rodriguez" , Randy Dunlap , Ulf Magnusson , Sam Ravnborg , Masahiro Yamada , linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Michal Marek , Greg Kroah-Hartman , Arvind Prasanna Subject: [PATCH v2 0/5] kconfig: refactor package checks for GUI frontends Date: Sun, 20 May 2018 17:16:48 +0900 Message-Id: <1526804213-8238-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 Kconfig supports 4 GUI frontends. Each of them needs some support packages, but checks them differently: qconf, gconf: check packages in Makefile (pkg-config is required) mconf: lxdialog/check-lxdialog.sh nconf: needs ncurses, but its presence is not checked This series refactor the package checks so that all of them work in the same way. The package check scripts have been moved to scripts/kconfig/*conf-cfg.sh The motivation of this clean-up is Randy's following patch: https://patchwork.kernel.org/patch/10277723/ I want to clean up existing code before adding more checks. Masahiro Yamada (5): kbuild: do not display CHK for filechk kconfig: refactor Qt package checks for building qconf kconfig: refactor GTK+ package checks for building gconf kconfig: refactor ncurses package checks for building mconf kconfig: refactor ncurses package checks for building nconf scripts/Kbuild.include | 1 - scripts/kconfig/Makefile | 160 ++++++++++------------------- scripts/kconfig/gconf-cfg.sh | 23 +++++ scripts/kconfig/lxdialog/check-lxdialog.sh | 93 ----------------- scripts/kconfig/lxdialog/dialog.h | 2 +- scripts/kconfig/mconf-cfg.sh | 38 +++++++ scripts/kconfig/nconf-cfg.sh | 34 ++++++ scripts/kconfig/qconf-cfg.sh | 25 +++++ 8 files changed, 174 insertions(+), 202 deletions(-) create mode 100755 scripts/kconfig/gconf-cfg.sh delete mode 100755 scripts/kconfig/lxdialog/check-lxdialog.sh create mode 100755 scripts/kconfig/mconf-cfg.sh create mode 100644 scripts/kconfig/nconf-cfg.sh create mode 100755 scripts/kconfig/qconf-cfg.sh -- 2.7.4