Re: out of kernel custom module build fails

Quentin Schulz

Hi Rob,

On Thu, Aug 06, 2020 at 12:37:15PM -0400, Rob Prowel wrote:
On 2020-08-06 11:45, Rob Prowel wrote:
the important bb file content is:

inherit module
SRC_URI = "file://Makefile \
           file://customslip.c \
           file://customslip.h \
           file://COPYING \
S = "${WORKDIR}"

RPROVIDES_${PN} += "kernel-module-customslip"

What yocto override variable can I set in the bb to make it not care
what the localversion appended to the kernel name is?
adding DEPENDS_${PN} = "virtual/kernel" seems to have fixed this (making the
DEPENDS_${PN} does nothing, so that's not what fixed it ;)

I doubt LOCAL_VERSION_EXTEND or however it's called is used for creating
the package version of the kernel. I'd expect the dependencies to check
for the package version and not some other variable. So probably PV of
the kernel recipe is the correct variable to change? Just throwing


Join to automatically receive all group messages.