]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/input/joystick/iforce/Makefile
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / drivers / input / joystick / iforce / Makefile
index 74daff49ab6e1e146415a13c6103ef2e30ba8bb1..bc5bda22f15ee8bdc1240421437ac05159761ef2 100644 (file)
@@ -4,17 +4,8 @@
 # By Johann Deneux <johann.deneux@gmail.com>
 #
 
-# Goal definition
-iforce-objs    := iforce-ff.o iforce-main.o iforce-packets.o
-
 obj-$(CONFIG_JOYSTICK_IFORCE)  += iforce.o
 
-ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y)
-       iforce-objs += iforce-serio.o
-endif
-
-ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y)
-       iforce-objs += iforce-usb.o
-endif
-
-EXTRA_CFLAGS = -Werror-implicit-function-declaration
+iforce-y := iforce-ff.o iforce-main.o iforce-packets.o
+iforce-$(CONFIG_JOYSTICK_IFORCE_232)   += iforce-serio.o
+iforce-$(CONFIG_JOYSTICK_IFORCE_USB)   += iforce-usb.o