summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMukesh Ojha <mojha@codeaurora.org>2018-10-12 13:21:32 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-03-11 20:55:05 -0700
commit596290e69099ea8ed912879c84c745b6eb800b13 (patch)
tree3810610ad2d717aaee832c98b446d4b4fc65d9dd /Makefile
parentdbf205bb11e2135bfe07587c1188f90218d5e292 (diff)
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c16ff42f2d8d..8b4038bd91c1 100644
--- a/Makefile
+++ b/Makefile
@@ -360,7 +360,7 @@ CHECK = sparse
# 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)