New comment by Piraty on void-packages repository https://github.com/void-linux/void-packages/pull/23541#issuecomment-657439290 Comment: marked `[NOMRGE]` for now as suggeted by author This will very likely break it for rpi3. I do have a pi3 as well as a pi4 now and i can test this patch, but likely won't work. I mainly see two options to solve this: 1. do it like [alpine does](https://git.alpinelinux.org/aports/tree/main/linux-rpi/APKBUILD?id=3b5bf2b872b589d77a163bf3d59124343ed8d906) (building each variant in a separate builddir and subpackaging it later) 2. split rpi-kernel template into rpi{1,2,3,4}-kernel (possibly after introducing build_style=kernel to get rid of all the reduncance)