Add standard method for enabling mfpu and mcpu code optimization
Signed-off-by: Kristofer Ard <kristoferard@gmail.com>