[mythtv-users] USB IR Receivers
Kirk Bocek
t004 at kbocek.com
Wed Sep 2 22:54:03 UTC 2015
On 9/2/2015 3:46 PM, Kirk Bocek wrote:
>
>
> On 9/2/2015 2:07 PM, Alec Leamas wrote:
>>
>>>> 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.
>>
>
> Using your Makefile and the file from searchcode, here are just the
> errors generated. I have not edited the file yet:
>
Nevermind, I downloaded the mceusb.c file from kernel.org from the 4.1
tree and it compiled without error.
More information about the mythtv-users
mailing list