tech-kern archive

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

Re: USB_DEBUG mess



In article <C873ACDC-A444-4442-A021-42C621D868AB%3am-software.com@localhost>,
Matt Thomas  <matt%3am-software.com@localhost> wrote:
>
>http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/usb/files.usb?rev=1.106&content-type=text/x-cvsweb-markup
>> 
>> 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.

Yes, but now every file that includes usb.h needs to include opt_usb.h before,
otherwise things don't build right. I'll fix it properly for now until we
decide something else.

christos




Home | Main Index | Thread Index | Old Index