Jiri Kosina | 63f3861 | 2006-12-08 18:41:30 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the HID driver |
| 3 | # |
| 4 | |
| 5 | # Multipart objects. |
| 6 | hid-objs := hid-core.o hid-input.o |
| 7 | |
| 8 | # Optional parts of multipart objects. |
Jiri Kosina | c080d89 | 2007-01-25 11:43:31 +0100 | [diff] [blame^] | 9 | ifeq ($(CONFIG_HID_DEBUG),y) |
| 10 | hid-objs += hid-debug.o |
| 11 | endif |
Jiri Kosina | 63f3861 | 2006-12-08 18:41:30 +0100 | [diff] [blame] | 12 | |
| 13 | ifeq ($(CONFIG_INPUT_DEBUG),y) |
| 14 | EXTRA_CFLAGS += -DDEBUG |
| 15 | endif |
| 16 | |
Jiri Kosina | c080d89 | 2007-01-25 11:43:31 +0100 | [diff] [blame^] | 17 | |
| 18 | obj-$(CONFIG_HID) += hid.o |
| 19 | |