Re: "if CONFIG" versus "depends on CONFIG"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 5 Apr 2008 19:59:31 -0400 (EDT) Robert P. J. Day wrote:

> 
>   is there any inherent difference between having a config entry
> contain
> 
>   depends on FUBAR
> 
> as opposed to having that config option wrapped inside
> 
>   if FUBAR
>   ...
>   endif

No difference AFAICT.

> i ask since the Kconfig file drivers/usb/serial/Kconfig wraps almost
> the entire file in
> 
>   if USB_SERIAL
>   ...
>   endif
> 
> and yet still defines the majority of config entries as depending on
> USB_SERIAL, which seems redundant.

Yes, that's redundant.

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux