Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756143AbcJTGxt (ORCPT ); Thu, 20 Oct 2016 02:53:49 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:49724 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753613AbcJTGxs (ORCPT ); Thu, 20 Oct 2016 02:53:48 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com u9K6rSj2023019 X-Nifty-SrcIP: [209.85.213.177] MIME-Version: 1.0 In-Reply-To: <1476920573-14384-2-git-send-email-nicolas.pitre@linaro.org> References: <1476920573-14384-1-git-send-email-nicolas.pitre@linaro.org> <1476920573-14384-2-git-send-email-nicolas.pitre@linaro.org> From: Masahiro Yamada Date: Thu, 20 Oct 2016 15:53:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/4] kconfig: introduce the "imply" keyword To: Nicolas Pitre Cc: John Stultz , Richard Cochran , Yann E MORIN , Thomas Gleixner , Josh Triplett , netdev@vger.kernel.org, Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 969 Lines: 33 2016-10-20 8:42 GMT+09:00 Nicolas Pitre : > diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt > index 069fcb3eef..c96127f648 100644 > --- a/Documentation/kbuild/kconfig-language.txt > +++ b/Documentation/kbuild/kconfig-language.txt > @@ -113,6 +113,33 @@ applicable everywhere (see syntax). > That will limit the usefulness but on the other hand avoid > the illegal configurations all over. > > +- weak reverse dependencies: "imply" ["if" ] > + This is similar to "select" as it enforces a lower limit on another > + symbol except that the "implied" config symbol's value may still be > + set to n from a direct dependency or with a visible prompt. > + Given the following example: > + > + config FOO > + tristate > + imply BAZ > + > + config BAZ > + tristate > + depends on BAr s/BAr/BAR/ ? -- Best Regards Masahiro Yamada