Can't create version dependent linux recipe without attaching the srcrev to the files folder

Hello,

we are trying to do a bbappend recipe for a linux-toradex recipe which only works for v4.9-1.0.x. We are having problems because bitbake is searching for a directory name that inludes the srcrev of the kernel repository. We are worried that the srcrev might lead to incompatibilities later on.

Our question is whether there is a way to create the bbappend recipe in a way that doesn’t need the srcrev in the directory name.

Thank you,
Torsten

I am not sure whether I fully understand your concern but you may really call your files directory whatever you like by pre-pending FILESEXTRAPATHS e.g. like done here:

http://git.toradex.com/cgit/meta-toradex-tegra.git/tree/recipes-kernel/linux/linux-toradex-mainline_4.14.bb?h=rocko#n5