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

Commit 136ce641 authored by Koushik Dutta's avatar Koushik Dutta Committed by Ricardo Cerqueira
Browse files

kernel.mk: Fix darwin regression caused by 732db8b1.

Change-Id: I1d9c2e231eca695ff6292ce5e163580cfd3fbb86
parent a1b8a120
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -108,15 +108,15 @@ ifeq ($(TARGET_ARCH),arm)
      # Check that the executable is here.
      ccache := $(strip $(wildcard $(ccache)))
    endif
    ifneq ($(TARGET_KERNEL_CUSTOM_TOOLCHAIN),)
    ifeq ($(HOST_OS),darwin)
        ARM_CROSS_COMPILE:=CROSS_COMPILE="$(ccache) $(ANDROID_BUILD_TOP)/prebuilt/darwin-x86/toolchain/$(TARGET_KERNEL_CUSTOM_TOOLCHAIN)/bin/arm-eabi-"
      ARM_CROSS_COMPILE:=CROSS_COMPILE="$(ccache) $(ANDROID_BUILD_TOP)/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-"
    else
      ifneq ($(TARGET_KERNEL_CUSTOM_TOOLCHAIN),)
          ARM_CROSS_COMPILE:=CROSS_COMPILE="$(ccache) $(ANDROID_BUILD_TOP)/prebuilt/linux-x86/toolchain/$(TARGET_KERNEL_CUSTOM_TOOLCHAIN)/bin/arm-eabi-"
      endif
      else
        ARM_CROSS_COMPILE:=CROSS_COMPILE="$(ccache) $(ARM_EABI_TOOLCHAIN)/arm-eabi-"
      endif
    endif
    ccache = 
endif