summaryrefslogtreecommitdiff
path: root/drivers/hid/Makefile
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2006-12-08 18:41:30 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-08 10:43:20 -0800
commit63f3861d2fbf8ccbad1386ac9ac8b822c036ea00 (patch)
treef95ff72d8e8bb99bea2e4ad0526d606c81bd9229 /drivers/hid/Makefile
parent4c2ae844b5ef85fd4b571c9c91ac48afa6ef2dfc (diff)
downloadlwn-63f3861d2fbf8ccbad1386ac9ac8b822c036ea00.tar.gz
lwn-63f3861d2fbf8ccbad1386ac9ac8b822c036ea00.zip
[PATCH] Generic HID layer - build
This modifies Makefiles and Kconfigs to properly reflect the creation of generic HID layer. It also removes the dependency of BROKEN, which was introduced by the first patch in series (see the comment). Also updates credits. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hid/Makefile')
-rw-r--r--drivers/hid/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
new file mode 100644
index 000000000000..6432392110bf
--- /dev/null
+++ b/drivers/hid/Makefile
@@ -0,0 +1,15 @@
+#
+# Makefile for the HID driver
+#
+
+# Multipart objects.
+hid-objs := hid-core.o hid-input.o
+
+# Optional parts of multipart objects.
+
+obj-$(CONFIG_HID) += hid.o
+
+ifeq ($(CONFIG_INPUT_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
+