[yocto] Error during kernel module compilation
Nicolas Salmin
nicolas_salmin at trimble.com
Mon May 15 00:59:14 PDT 2017
Hi all,
I have some trouble during kernel module compilation, in fact the module is
build successfully only if I have built the kernel before... it makes sense
but the the recipe inherit from module bbclass:
/*********************************************************************************************************************
SUMMARY = "USB **** driver"
DESCRIPTION = "Module for USB host device communication"
inherit module
SRC_URI = "git://git@
********************************.git;branch=${branch-driver-*****};protocol=ssh"
SRCREV = "${commit-****-*****}"
PR = "r0"
SRC_URI += "file://Makefile"
PV = "${PVBASE}.${SRCPV}"
PVBASE := "${PV}"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PVBASE}:"
S = "${WORKDIR}/git"
do_compile_prepend() {
echo "overriding Makefile"
cp ${WORKDIR}/Makefile ${S}
}
/*********************************************************************************************************************
It was that was like dependencies are not correctly set...
For information i'm using a custom recipe linux kernel so maybe i have
forgotten to add some variables inside.
Thanks for helping,
Cheers.
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170515/0f798375/attachment.html>
More information about the yocto
mailing list