xref: /openbmc/linux/drivers/input/Makefile (revision fdefcbdd)
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
1545ceaf14SStephen 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/
29*fdefcbddSJavier Martinez Canillasobj-$(CONFIG_INPUT_KUNIT_TEST)	+= tests/
3063f3861dSJiri Kosina
31e17bb1deSRichard Purdieobj-$(CONFIG_INPUT_APMPOWER)	+= apm-power.o
322b6a321dSAndrew Duggan
332b6a321dSAndrew Dugganobj-$(CONFIG_RMI4_CORE)		+= rmi4/
34