drivers: usbhost-hid: exclude BSD components from build
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
parent
8e8b68b131
commit
52558e7245
|
@ -282,6 +282,13 @@ config USBHOST_CDCMBIM
|
|||
Select this option to build in host support for CDC/MBIM network
|
||||
devices.
|
||||
|
||||
menuconfig USBHOST_HID
|
||||
bool "USB Host HID Driver Support"
|
||||
default n
|
||||
depends on ALLOW_BSD_COMPONENTS
|
||||
---help---
|
||||
USB host HID drivers. See also include/nuttx/usb/usbhost.h
|
||||
|
||||
config USBHOST_HIDKBD
|
||||
bool "HID Keyboard Class Support"
|
||||
default n
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
CSRCS += hid_parser.c
|
||||
|
||||
ifeq ($(CONFIG_USBHOST),y)
|
||||
|
||||
|
@ -47,6 +46,10 @@ ifeq ($(CONFIG_USBHOST_CDCMBIM),y)
|
|||
CSRCS += usbhost_cdcmbim.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST_HID),y)
|
||||
CSRCS += hid_parser.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_USBHOST_HIDKBD),y)
|
||||
CSRCS += usbhost_hidkbd.c
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue