How to compile custom firmware?

Quick one I hope, I’ve read through the instructions on how to compile, but nothing is mentioned about what to do with the Open Source Packages that are compiled. Does anyone know of a guide to compiling the firmware?

Hopefully an experienced User will be able to assist. Just please bear in mind this is not supported or warranted by Western Digital.