AndroidKernel: Use host machine tools

Use the host directory of tools for kernel cross
compilation to ensure build results are reproducible
across different machines.

Change-Id: I804745bb1962c46e944ba43e77e8876435c9059e
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
diff --git a/AndroidKernel.mk b/AndroidKernel.mk
index 7233829..6ea10f7 100644
--- a/AndroidKernel.mk
+++ b/AndroidKernel.mk
@@ -46,7 +46,7 @@
 ifeq ($(TARGET_KERNEL_CROSS_COMPILE_PREFIX),)
 KERNEL_CROSS_COMPILE := arm-eabi-
 else
-KERNEL_CROSS_COMPILE := $(TARGET_KERNEL_CROSS_COMPILE_PREFIX)
+KERNEL_CROSS_COMPILE := $(shell pwd)/$(TARGET_TOOLS_PREFIX)
 endif
 
 ifeq ($(TARGET_PREBUILT_KERNEL),)
diff --git a/Makefile b/Makefile
index 8e7cef4..6ef35aa 100644
--- a/Makefile
+++ b/Makefile
@@ -366,7 +366,7 @@
 
 # Use the wrapper for the compiler.  This wrapper scans for new
 # warnings and causes the build to stop upon encountering them
-CC		= $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)
+CC		= $(PYTHON) $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)
 
 CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
 		  -Wbitwise -Wno-return-void $(CF)