Allow custom kernel and ROM toolchain

Change-Id: Ia807016f71c69d707ed5e11d746fe9c107ae2164
Optimize build and enable strict aliasing

Change-Id: I456f9e04d836d179d489e696b199d8b5c78170bc