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

Commit 148fe3c8 authored by lijuang's avatar lijuang Committed by Naitik Bharadiya
Browse files

AndroidKernel: For support 32-bit kernel compile



This file only support arm64 kernel compile currently, now we need
to supprot arm kenrel compile, so add this change.

Change-Id: I171ead43c9450886d9e096fc58a2729dee3439a1
Signed-off-by: default avatarlijuang <lijuang@codeaurora.org>
parent 0ca7a05c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -69,7 +69,11 @@ KERNEL_GCC_NOANDROID_CHK := $(shell (echo "int main() {return 0;}" | $(KERNEL_CR

real_cc :=
ifeq ($(KERNEL_LLVM_SUPPORT),true)
  ifeq ($(KERNEL_ARCH), arm64)
    real_cc := REAL_CC=$(KERNEL_LLVM_BIN) CLANG_TRIPLE=aarch64-linux-gnu-
  else
    real_cc := REAL_CC=$(KERNEL_LLVM_BIN) CLANG_TRIPLE=arm-linux-gnueabihf
  endif
else
ifeq ($(strip $(KERNEL_GCC_NOANDROID_CHK)),0)
KERNEL_CFLAGS := KCFLAGS=-mno-android