Hey there! Thanks for the patch.
As you can see at http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=lirc I get patches regularly, but have failed to apply them so far :( I have been a bit busy and overwhelmed by Real Life (tm). Anyway, I would like you to look at the patches provided to the same problem (the aitusb remote) in bugs: #300989 and #326823 and see if you could "merge" them into one single patch or see what's the best approach... Anyway i still need to carefully look at all the patches i have there... For completeness I attacha your patch to this email so that it gets to the BTS. -- .''`. Follow the white Rabbit - Ranty (and Lewis Carroll) : :' : `. `' Proudly running unstable Debian GNU/Linux `- www.amayita.com www.malapecora.com www.chicasduras.com
--- Makefile 2005-07-23 16:20:56.000000000 -0400 +++ /home/mike/Makefile-lirc.buzzco 2005-09-13 23:33:16.000000000 -0400 @@ -12,7 +12,9 @@ -DLIRC_TIMER=$(LIRC_PARALLEL_TIMER) \ -DLIRC_IRQ=$(LIRC_PARALLEL_IRQ) ) - +ATIUSB_CFLAGE := $(subst ",,-DLIRC_PORT=$(LIRC_PARALLEL_PORT) \ + -DLIRC_TIMER=$(LIRC_PARALLEL_TIMER) \ + -DLIRC_IRQ=$(LIRC_PARALLEL_IRQ) ) KSRC=/usr/src/linux/ KERNEL_LOCATION = $(KSRC) CC = gcc -D__KERNEL__ -I $(KSRC)/include @@ -32,6 +34,7 @@ @echo $(SERIAL_CFLAGS) @echo $(SIR_CFLAGS) @echo $(PARALLEL_CFLAGS) + @echo $(ATIUSB_CFLAFS) UNCONFIGURED: #Do nothing if the user didn't configure which drivers to build @@ -100,6 +103,12 @@ mv drivers/lirc_parallel/lirc_parallel.o modules @echo $(KVERS) $(KSRC) > modules/lirc_parallel.o.KVERS +atiusb: DEFS += $(ATIUSB_CFLAGS) +atiusb: modules sanity-check + $(MAKE) -C drivers SUBDIRS="lirc_atiusb" DEFS="$(DEFS)" + mv drivers/lirc_atiusb/lirc_atiusb.o modules + @echo $(KVERS) $(KSRC) > modules/lirc_atiusb.o.KVERS + sir: DEFS += $(SIR_CFLAGS) sir: modules sanity-check $(MAKE) -C drivers SUBDIRS="lirc_sir" DEFS="$(DEFS)" @@ -133,5 +142,5 @@ done clean: - $(MAKE) clean -C drivers SUBDIRS="lirc_serial lirc_parallel lirc_i2c lirc_sir lirc_dev lirc_gpio" + $(MAKE) clean -C drivers SUBDIRS="lirc_serial lirc_parallel lirc_i2c lirc_sir lirc_dev lirc_gpio lirc_atiusb" rm -rf modules