diff options
Diffstat (limited to 'drivers/hid/Makefile')
-rw-r--r-- | drivers/hid/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 6432392110bf..84c823eb5ad5 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile | |||
@@ -6,10 +6,14 @@ | |||
6 | hid-objs := hid-core.o hid-input.o | 6 | hid-objs := hid-core.o hid-input.o |
7 | 7 | ||
8 | # Optional parts of multipart objects. | 8 | # Optional parts of multipart objects. |
9 | 9 | ifeq ($(CONFIG_HID_DEBUG),y) | |
10 | obj-$(CONFIG_HID) += hid.o | 10 | hid-objs += hid-debug.o |
11 | endif | ||
11 | 12 | ||
12 | ifeq ($(CONFIG_INPUT_DEBUG),y) | 13 | ifeq ($(CONFIG_INPUT_DEBUG),y) |
13 | EXTRA_CFLAGS += -DDEBUG | 14 | EXTRA_CFLAGS += -DDEBUG |
14 | endif | 15 | endif |
15 | 16 | ||
17 | |||
18 | obj-$(CONFIG_HID) += hid.o | ||
19 | |||