Angry Add latest firmware to your rom

I have almost complete my rom for sgy s6102 but now I want to add new firmware to it but don't know how to do it.
Please tell me how to add new firmware to a custom rom.

THANKS
IN ADVANCE