[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USB_DEBUG mess
On Jan 5, 2013, at 12:08 PM, Iain Hibbert wrote:
> On Sat, 5 Jan 2013, Christos Zoulas wrote:
>> USB_DEBUG is defopt'ed and it is used as a global knob in usb.h:
>> This is done for drivers which don't include "opt_usb.h" so they will not
>> recognize when USB_DEBUG changes.
> Since when has this defopt been the case?
> Ok, answering my own question, it was 18 months ago by Matt.. but why was
> this added?
> Normally, the XXX_DEBUG options are not specified in any files.* files,
> meaning that as they are unknown options, they will translate into a
> CPPFLAG of -DXXX_DEBUG in the kernel Makefile
which is means if you do the define, your sources don't properly get rebuilt.
That's why it was made a config option.
Main Index |
Thread Index |