[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904211919.38104.david-b@pacbell.net>
Date: Tue, 21 Apr 2009 19:19:37 -0700
From: David Brownell <david-b@...bell.net>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Kumar Gala <galak@...nel.crashing.org>, subrata@...ux.vnet.ibm.com,
linux-usb@...r.kernel.org,
"Linuxppc-dev" <Linuxppc-dev@...abs.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
"linux-next" <linux-next@...r.kernel.org>,
sachinp <sachinp@...ux.vnet.ibm.com>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
Alexander Beregalov <a.beregalov@...il.com>
Subject: Re: [BUILD FAILURE 11/12] Next April 21 : PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
On Tuesday 21 April 2009, Randy Dunlap wrote:
>
> > Since its feasible to say 'n' to both we get the compile error. How do
> > we enforce having at least one set?
>
> Looks like using "choice" without "optional" would do it.
> See Documentation/kbuild/kconfig-language.txt and various examples
> in Kconfig* files.
That won't quite work ... "at least one" includes "two"
(i.e. a PCI card in little-endian, a native controller
in big-endian). Real-world systems need such configs,
or so I'm told, and that's why their supported.
Is there maybe a way to force Kconfig to just reject
such illegal configs -- neither option set -- rather
than trying some how to fix it?
Or maybe ... if neither one is set, have the header
force both on, and issue a warning.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists