Optimize
Optimize the Makefile to allow kernel to build with SM or Linaro Toolchains, 4.7+, 4.8, 4.9+, 4.10

Signed-off-by: Jean Francis Dominique S. Mabalot <jfdsmabalot@redhat.com>