a lot of makefile optimizations for st-ericsson cpu