How to apply patch and rebuild

I’m working on the GBM vsync issue, I’ve successfully build CoreELEC, but how do I apply a patch to Kodi?

I’ve created the patch file and placed it in CoreELEC/projects/Amlogic/patches/kodi but when I re-run make Kodi isn’t rebuilt.

Am I missing a step?

Wrong folder used: it is projects/Amlogic-ce/patches/kodi

Thanks, I’ll give that a try :+1: