Make it easier to test build the USB code having the debug flags set
without having to build the complete kernel. MFC after: 2 weeks
This commit is contained in:
parent
fba7d5d18a
commit
5708bf4868
@ -27,6 +27,18 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
#
|
||||
# Check for common USB debug flags to pass when building the USB
|
||||
# modules in this directory:
|
||||
#
|
||||
.if defined(USB_DEBUG)
|
||||
MAKE+=" DEBUG_FLAGS+=-DUSB_DEBUG"
|
||||
.endif
|
||||
|
||||
.if defined(USB_DEBUG) && defined(USB_REQ_DEBUG)
|
||||
MAKE+=" DEBUG_FLAGS+=-DUSB_REQ_DEBUG"
|
||||
.endif
|
||||
|
||||
# Modules that include binary-only blobs of microcode should be selectable by
|
||||
# MK_SOURCELESS_UCODE option (see below).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user