Re: [PATCH 1/2] ptp_clock: allow for it to be optional
From: Nicolas Pitre
Date: Mon Sep 19 2016 - 14:09:47 EST
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