[poky] external kernel module does not recognize a new git commit

Lars Larsen lars at visionweeding.com
Wed May 31 04:32:12 PDT 2017


Hi

For my image I have a  recipe where I build an external kernel module (a 
driver).

I followed the model in the hello_mod.bb <http://hello_mod.bb> example, 
except that the SRC_URI is a git repository and  SRCREV= "${AUTOREV} 
(/See the recipe below.)/

in my image recipe I do :
PACKAGE_INSTALL_append() = "kernel-module-camdriverV20"

If I make changes and push a new version to the git repo , it is not 
discovered by bitbake, it keeps building the older version it already 
have checked out.


///
//SUMMARY = "CAMERA DRIVER for Robovator"//
//LICENSE = "GPLv2"//
//LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"//
//
//# Cameradriver for Robovator, based on camdriverV10//
//
//#INHIBIT_PACKAGE_DEBUG_SPLIT = "1"//
//BRANCH = "Pokybuild"//
//
//inherit module//
//
//SRC_URI =" git:///${ESERVER}/GIT/camdriverV20/;branch=${BRANCH};"//
//
//SRCREV= "${AUTOREV}"//
//PV = "1.0.0+gitr${SRCPV}"//
//
//#SRCREV = "aa47aca8424a3f65ea2fc50386c2d1cdc47120d2"//
//#PV = "1.0.0+gitr${SRCPV}"//
////
//S = "${WORKDIR}/git"//
//
//# Do not autoload the driver when running "V1.9" mode//
//#KERNEL_MODULE_AUTOLOAD += "camdriverV20"/

/
/

ESERVER and BRANCH are externally defined an are correct.

All my application level module recipes are made the same way and they 
work fine

I must have  something wrong with the driver module. but what?


B.R Lars


-- 

Best Regards
Lars Larsen

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
www.visionweeding.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20170531/d35e985b/attachment.html>


More information about the poky mailing list