[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.20.1609191403210.9311@knanqh.ubzr>
Date: Mon, 19 Sep 2016 14:09:39 -0400 (EDT)
From: Nicolas Pitre <nicolas.pitre@...aro.org>
To: Josh Triplett <josh@...htriplett.org>
cc: Jiri Benc <jbenc@...hat.com>, John Stultz <john.stultz@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Richard Cochran <richardcochran@...il.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH 1/2] ptp_clock: allow for it to be optional
On Mon, 19 Sep 2016, Josh Triplett wrote:
> But it does seem unfortunate that this can't happen at build time via
> Kconfig. CCing linux-kbuild in case someone has an idea for how to fix
> this.
I hoped something like this could work:
config FOO
prompt "Blah-blah"
tristate if (BAR != y)
bool if (BAR = y)
default BAR
This way FOO could be y, m or n when BAR is m or n, otherwise FOO could
be y or n only.
But that didn't work.
Nicolas
Powered by blists - more mailing lists