the last post in that thread links to another, more detailed post …
here is a 5.1 rpi-foundation kernel snap that i once built (i switched to the ubuntu kernel source with the next commit, but it should show you how to add/apply the patches and required configs in a snap context)