diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-01-30 10:02:24 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-02-05 04:00:45 -0500 |
commit | dd64c151b978dc78ed535433d930c75b5c15deeb (patch) | |
tree | 4acccad91bee0a5bcab5d7d87cdc35cfbea9ec2a /drivers/hid/Makefile | |
parent | 43c7bf0472ec1f813fccc6012654399345898491 (diff) |
HID: move away from DEBUG defines in favor of CONFIG_HID_DEBUG
CONFIG_INPUT_DEBUG is non-existent option, so remove anything depending
on it.
Also, as we have new CONFIG_HID_DEBUG, this should be used on places
where ifdef DEBUG was used before.
Suggested by Adrian Bunk.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Makefile')
-rw-r--r-- | drivers/hid/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 84c823eb5ad5..52e97d8f3c95 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile | |||
@@ -1,19 +1,8 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the HID driver | 2 | # Makefile for the HID driver |
3 | # | 3 | # |
4 | 4 | hid-objs := hid-core.o hid-input.o | |
5 | # Multipart objects. | ||
6 | hid-objs := hid-core.o hid-input.o | ||
7 | |||
8 | # Optional parts of multipart objects. | ||
9 | ifeq ($(CONFIG_HID_DEBUG),y) | ||
10 | hid-objs += hid-debug.o | ||
11 | endif | ||
12 | |||
13 | ifeq ($(CONFIG_INPUT_DEBUG),y) | ||
14 | EXTRA_CFLAGS += -DDEBUG | ||
15 | endif | ||
16 | |||
17 | 5 | ||
18 | obj-$(CONFIG_HID) += hid.o | 6 | obj-$(CONFIG_HID) += hid.o |
7 | hid-$(CONFIG_HID_DEBUG) += hid-debug.o | ||
19 | 8 | ||