Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 844f56ea authored by Mukesh Ojha's avatar Mukesh Ojha Committed by Shadab Naseem
Browse files

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: default avatarMukesh Ojha <mojha@codeaurora.org>
parent 8c086ffe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ TARGET_KERNEL_CROSS_COMPILE_PREFIX := $(strip $(TARGET_KERNEL_CROSS_COMPILE_PREF
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),)
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,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)