Using magspoof

Am noob.
I asked how I could use this and was told it needs to be compiled into the firmware.

Could someone explain how I can do this for the latest firmware? Thank you!