xref: /openbmc/linux/drivers/input/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the input core drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvalds# Each configuration option enables a list of files.
71da177e4SLinus Torvalds
857e6b724SDmitry Torokhovobj-$(CONFIG_INPUT)		+= input-core.o
967b989a0SDmitry Torokhovinput-core-y := input.o input-compat.o input-mt.o ff-core.o
1057e6b724SDmitry Torokhov
117d928a2bSAnssi Hannulaobj-$(CONFIG_INPUT_FF_MEMLESS)	+= ff-memless.o
12893e7c2dSDmitry Torokhovobj-$(CONFIG_INPUT_POLLDEV)	+= input-polldev.o
1336203c4fSDmitry Torokhovobj-$(CONFIG_INPUT_SPARSEKMAP)	+= sparse-keymap.o
141932811fSDmitry Torokhovobj-$(CONFIG_INPUT_MATRIXKMAP)	+= matrix-keymap.o
157d928a2bSAnssi Hannula
16f60c8ba7SSamuel Thibaultobj-$(CONFIG_INPUT_LEDS)	+= input-leds.o
171da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MOUSEDEV)	+= mousedev.o
181da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_JOYDEV)	+= joydev.o
191da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_EVDEV)	+= evdev.o
201da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_EVBUG)	+= evbug.o
211da177e4SLinus Torvalds
221da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_KEYBOARD)	+= keyboard/
231da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MOUSE)	+= mouse/
241da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_JOYSTICK)	+= joystick/
254104d13fSDmitry Torokhovobj-$(CONFIG_INPUT_TABLET)	+= tablet/
261da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_TOUCHSCREEN)	+= touchscreen/
271da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MISC)	+= misc/
2863f3861dSJiri Kosina
29e17bb1deSRichard Purdieobj-$(CONFIG_INPUT_APMPOWER)	+= apm-power.o
302b6a321dSAndrew Duggan
312b6a321dSAndrew Dugganobj-$(CONFIG_RMI4_CORE)		+= rmi4/
32