![David Härdeman](/assets/img/avatar_default.png)
This patch adds a loopback driver to rc-core which I've found useful for running scripted tests of different parts of rc-core without having to fiddle with real hardware. Basically it emulates hardware with a learning and a non-learning receiver and two transmitters (which correspond to the two receivers). TX data that is sent is fed back as input on the corresponding receiver, which allows for debugging of IR decoders, keymaps, etc. Signed-off-by: David Härdeman <david@hardeman.nu> Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
23 lines
787 B
Makefile
23 lines
787 B
Makefile
rc-core-objs := rc-main.o ir-raw.o
|
|
|
|
obj-y += keymaps/
|
|
|
|
obj-$(CONFIG_RC_CORE) += rc-core.o
|
|
obj-$(CONFIG_LIRC) += lirc_dev.o
|
|
obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
|
|
obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o
|
|
obj-$(CONFIG_IR_RC6_DECODER) += ir-rc6-decoder.o
|
|
obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o
|
|
obj-$(CONFIG_IR_SONY_DECODER) += ir-sony-decoder.o
|
|
obj-$(CONFIG_IR_RC5_SZ_DECODER) += ir-rc5-sz-decoder.o
|
|
obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o
|
|
|
|
# stand-alone IR receivers/transmitters
|
|
obj-$(CONFIG_IR_IMON) += imon.o
|
|
obj-$(CONFIG_IR_MCEUSB) += mceusb.o
|
|
obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o
|
|
obj-$(CONFIG_IR_ENE) += ene_ir.o
|
|
obj-$(CONFIG_IR_STREAMZAP) += streamzap.o
|
|
obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o
|
|
obj-$(CONFIG_RC_LOOPBACK) += rc-loopback.o
|