Skip to contentSkip to conversation

Cross Compiling V4L-DVB Device Drivers for Older (2.6.37) Kernel

DISCUSSION Chris R 1 participant 1 message Jul 31, 2014 Media (V4L/DVB)

lore
Share & tools
lore

Chris R

author
#0 lore raw

I'm trying to build the V4L-DVB drivers for an embedded system (OMAP3530/DM3730) that uses the 2.6.37 kernel. I'm using the build instructions from
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-D
VB_Device_Drivers and am following the more manually intensive approach column.

The first make crashes (make tar DIR=/home/me/mykernel) with missing file errors. It lists about 20 missing files such as include/linux/dma-buf.h and include/trace/events/v4l2.h. It doesn't look like those files show up in the kernel source until versions 3.3 and 3.14 respectively. What is the best approach to resolve the missing file errors for my 2.6.37 kernel and still have the drivers build and run?

Thanks,
Chris