xref: /openbmc/linux/drivers/input/Makefile (revision 45ceaf14)
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
9e95656eaSDmitry Torokhovinput-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
10e28b5c8dSJeff LaBundyinput-core-y += touchscreen.o
1157e6b724SDmitry Torokhov
127d928a2bSAnssi Hannulaobj-$(CONFIG_INPUT_FF_MEMLESS)	+= ff-memless.o
1336203c4fSDmitry Torokhovobj-$(CONFIG_INPUT_SPARSEKMAP)	+= sparse-keymap.o
141932811fSDmitry Torokhovobj-$(CONFIG_INPUT_MATRIXKMAP)	+= matrix-keymap.o
15*45ceaf14SStephen Boydobj-$(CONFIG_INPUT_VIVALDIFMAP)	+= vivaldi-fmap.o
167d928a2bSAnssi Hannula
17f60c8ba7SSamuel Thibaultobj-$(CONFIG_INPUT_LEDS)	+= input-leds.o
181da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MOUSEDEV)	+= mousedev.o
191da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_JOYDEV)	+= joydev.o
201da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_EVDEV)	+= evdev.o
211da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_EVBUG)	+= evbug.o
221da177e4SLinus Torvalds
231da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_KEYBOARD)	+= keyboard/
241da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MOUSE)	+= mouse/
251da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_JOYSTICK)	+= joystick/
264104d13fSDmitry Torokhovobj-$(CONFIG_INPUT_TABLET)	+= tablet/
271da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_TOUCHSCREEN)	+= touchscreen/
281da177e4SLinus Torvaldsobj-$(CONFIG_INPUT_MISC)	+= misc/
2963f3861dSJiri Kosina
30e17bb1deSRichard Purdieobj-$(CONFIG_INPUT_APMPOWER)	+= apm-power.o
312b6a321dSAndrew Duggan
322b6a321dSAndrew Dugganobj-$(CONFIG_RMI4_CORE)		+= rmi4/
33