diff options
Diffstat (limited to 'drivers/hid/usbhid/Makefile')
-rw-r--r-- | drivers/hid/usbhid/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/hid/usbhid/Makefile b/drivers/hid/usbhid/Makefile index db3cf31c6fa1..890f2914a8ff 100644 --- a/drivers/hid/usbhid/Makefile +++ b/drivers/hid/usbhid/Makefile | |||
@@ -2,17 +2,9 @@ | |||
2 | # Makefile for the USB input drivers | 2 | # Makefile for the USB input drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | # Multipart objects. | ||
6 | usbhid-y := hid-core.o hid-quirks.o | 5 | usbhid-y := hid-core.o hid-quirks.o |
7 | 6 | usbhid-$(CONFIG_USB_HIDDEV) += hiddev.o | |
8 | # Optional parts of multipart objects. | 7 | usbhid-$(CONFIG_HID_PID) += hid-pidff.o |
9 | |||
10 | ifeq ($(CONFIG_USB_HIDDEV),y) | ||
11 | usbhid-y += hiddev.o | ||
12 | endif | ||
13 | ifeq ($(CONFIG_HID_PID),y) | ||
14 | usbhid-y += hid-pidff.o | ||
15 | endif | ||
16 | 8 | ||
17 | obj-$(CONFIG_USB_HID) += usbhid.o | 9 | obj-$(CONFIG_USB_HID) += usbhid.o |
18 | obj-$(CONFIG_USB_KBD) += usbkbd.o | 10 | obj-$(CONFIG_USB_KBD) += usbkbd.o |