On Thu, Jul 26, 2012 at 07:38:57AM -0300, Fabio Estevam wrote:
On Wed, Jul 25, 2012 at 11:29 PM, Dong Aisheng [off-list ref] wrote:
quoted
How about using 'select MXS_DMA'?
Ok, I prefer this way too. Will resubmit it soon. Hopefully it is OK with Shawn.
No. For your information, the following is what
Documentation/kbuild/kconfig-language.txt tell.
Note:
select should be used with care. select will force
a symbol to a value without visiting the dependencies.
By abusing select you are able to select a symbol FOO even
if FOO depends on BAR that is not set.
In general use select only for non-visible symbols
(no prompts anywhere) and for symbols with no dependencies.
That will limit the usefulness but on the other hand avoid
the illegal configurations all over.
--
Regards,
Shawn