

LD /usr /src /linux-headers-3.0.6-x3 /drivers /staging /easycap /easycap.oĬC /usr /src /linux-headers-3.0.6-x3 /drivers /staging /easycap / $ make -C /lib /modules /3.0.6-x3 /build / M= /usr /src /linux-headers-3.0.6-x3 /drivers /staging /easycap / In the source we’ll find /linux-3.0/drivers/staging/easycap/ to be copied into /usr/src/linux-headers-3.0.6-x3/drivers/staging/easycap/ on the board.Īfter removing the old one (pointed to build -> /build/buildd/linux-3.0), I created a link inside /lib/modules/3.0.6-x3 named build pointing to:

#ELTEK SMART PACK DRIVER DRIVER#
As this was custom kernel, by guessing I found that it was closest to official linux 3.0.0-12.20 at launchpad, hence easycap source files were copied from it (the custom kernel might’ve been forked from this release as some random header files comparison to linux-headers-3.0.0-12-omap_3.0.0-12.20_armel returned no difference).įYI Easycap linux driver is no longer developed separately as a SourceForge project, it has been part of drivers/staging in recent kernel releases (where you get dmesg like “ module is from the staging directory, the quality is unknown, you have been warned” when inserting it). First we needed the kernel header files provided as linux-headers-3.0.6-x3_1.0oneiric_b and then source files for Easycap. A more partial approach was to touch only relevant Makefile involved in building the driver. $ cat /usr /src /linux-headers-2.6.38- 10 /.config | grep -i easyĬompiling the whole thing using make menuconfig to change.
