Add back makefile Linaro optimizations from @broodplank, clean up whitespace, and general OCD cleanups

Change-Id: Ic09abfb178568b9ff9e03067593eccc19c3a2f02