Package: lirc-modules-source
Version: 0.7.1pre2-6
Severity: important
Tags: patch
Hello,
The current package fails to generate the needed lirc_dev module when
configured to generate the lirc_sir module.
Attached is a patch which fixes the Makefile (based on the patch in bug
#294720). Tried it, works for me.
You might want to utilise the *_SUBDIRS variables in the beginning of the
file and adapt the rules in the applicable sections like so:
##SECTION##:: modules sanity-check
$(MAKE) -e -C drivers SUBDIRS="$(##SECTION##_SUBDIRS)"
...
where ##SECTION## is one of: atiusb, i2c, sir...
Also, I found that the debian/rules file from the nvidia source package
is rather helpful when it comes to compiling modules on the
fly or in fact doing any sort of generalised package generation (I
based my Debian package generation for Dell's biosdisk tool on this).
Thanks for taking over the lirc packages,
jj
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-cko3-spv
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Versions of packages lirc-modules-source depends on:
ii debconf [debconf-2.0] 1.4.47 Debian configuration management sy
ii debhelper 4.2.32 helper programs for debian/rules
ii debianutils 2.13.2 Miscellaneous utilities specific t
-- debconf information:
* lirc-modules-source/use_lirc_hints: true
lirc-modules-source/parallel_irq: 7
* lirc-modules-source/do-build: true
lirc-modules-source/parallel_timer: 65536
* lirc-modules-source/serial_transmitter: false
lirc-modules-source/not_needed:
* lirc-modules-source/serial_port:
* lirc-modules-source/drivers: sir
* lirc-modules-source/serial_irq:
* lirc-modules-source/serial_type: Other
* lirc-modules-source/kernel-source:
/home/jj/kernel-dev/rumpel/2.6.10/cko/cko3/linux-2.6.9
* lirc-modules-source/sir_port: 0x3e8
lirc-modules-source/parallel_port: 0x378
* lirc-modules-source/what_next:
* lirc-modules-source/sir_type: Other
* lirc-modules-source/serial_softcarrier: true
* lirc-modules-source/kernel-source-not-found:
* lirc-modules-source/sir_irq: 4
--- Makefile.old 2005-03-25 22:39:58 +0000
+++ Makefile 2005-04-08 00:04:31 +0100
@@ -138,7 +138,9 @@
sir: DEFS += $(SIR_CFLAGS)
sir: modules sanity-check
- $(MAKE) -C drivers SUBDIRS="lirc_sir" DEFS="$(DEFS)"
+ $(MAKE) -C drivers SUBDIRS="lirc_sir lirc_dev" DEFS="$(DEFS)"
+ mv drivers/lirc_dev/lirc_dev.$(KEXT) modules
+ @echo $(KVERS) $(KSRC) > modules/lirc_dev.$(KEXT).KVERS
mv drivers/lirc_sir/lirc_sir.$(KEXT) modules
@echo $(KVERS) $(KSRC) > modules/lirc_sir.$(KEXT).KVERS