"if CONFIG" versus "depends on CONFIG"

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

 



  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

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.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
--
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