Re: out of kernel custom module build fails


Rob Prowel
 

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 kernel build the single dependency?), but the more important question is whether that is the "right" way to fix it.

Join yocto@lists.yoctoproject.org to automatically receive all group messages.