Instead of hardcoding the protocols into ir-core, add a register interface for the IR protocol decoders, and convert ir-nec-decoder into a client of ir-core. With this approach, it is possible to dynamically load the needed IR protocols, and to add a RAW IR interface module, registered as one IR raw protocol decoder. This patch opens a way to register a lirc_dev interface to work as an userspace IR protocol decoder. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
7 lines
226 B
Makefile
7 lines
226 B
Makefile
ir-common-objs := ir-functions.o ir-keymaps.o
|
|
ir-core-objs := ir-keytable.o ir-sysfs.o ir-raw-event.o
|
|
|
|
obj-$(CONFIG_IR_CORE) += ir-core.o
|
|
obj-$(CONFIG_VIDEO_IR) += ir-common.o
|
|
obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
|