How to compile the IO (STM32F100) firmware

What do I need to do to also get the IO firmware compiled when running ./waf --targets bin/arducopter?
Thanks a lot!

easiest method is to use Tools/scripts/build_iofirmware.py