aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/Makefile
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-01-25 05:43:31 -0500
committerJiri Kosina <jkosina@suse.cz>2007-02-05 04:00:38 -0500
commitc080d89ad91e98fec0e8fc5f448a1ad899bd85c7 (patch)
tree169a03a0e8d16fe95e7d689dd9fa7775340d5dc4 /drivers/hid/Makefile
parent20eb12790670985c8e30821218993bd260387b89 (diff)
HID: hid debug from hid-debug.h to hid layer
hid-debug.h contains a lot of code, and should not therefore be a header. This patch moves the code to generic hid layer as .c source, and introduces CONFIG_HID_DEBUG to conditionally compile it, instead of playing with #define DEBUG and including hid-debug.h. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Makefile')
-rw-r--r--drivers/hid/Makefile8
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 @@
6hid-objs := hid-core.o hid-input.o 6hid-objs := hid-core.o hid-input.o
7 7
8# Optional parts of multipart objects. 8# Optional parts of multipart objects.
9 9ifeq ($(CONFIG_HID_DEBUG),y)
10obj-$(CONFIG_HID) += hid.o 10hid-objs += hid-debug.o
11endif
11 12
12ifeq ($(CONFIG_INPUT_DEBUG),y) 13ifeq ($(CONFIG_INPUT_DEBUG),y)
13EXTRA_CFLAGS += -DDEBUG 14EXTRA_CFLAGS += -DDEBUG
14endif 15endif
15 16
17
18obj-$(CONFIG_HID) += hid.o
19