[mythtv-users] USB IR Receivers

Alec Leamas leamas.alec at gmail.com
Wed Sep 2 21:07:41 UTC 2015


>> Can anyone help me with the command line for compiling an individual
>> driver file?

The generic Makefile:

obj-m += mceusb.o
ccflags-y +=-O0 -g

all:
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

> Well, as usual this is looking harder than I think it needs to be.
> Installing the kernel-devel package and the kernel-modules package does
> *not* include the mceusb.c source file. <sigh>


You can just pick up the module source from somewhere; google gives me
https://searchcode.com/codesearch/view/26438655/. It's just a single file.

Cheers!

--alec




More information about the mythtv-users mailing list