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

Commit 6a378282 authored by Steve Kondik's avatar Steve Kondik
Browse files

cm: Add missing bits from system-ccache commit

Change-Id: I5936a9a3f3ded09aa7d3ec4f1061cbccf324c759
parent 3952f6cb
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -231,10 +231,15 @@ endif
endif

ifneq ($(USE_CCACHE),)
    # Detect if the system already has ccache installed to use instead of the prebuilt
    ccache := $(shell which ccache)

    ifeq ($(ccache),)
        ccache := $(ANDROID_BUILD_TOP)/prebuilts/misc/$(HOST_PREBUILT_TAG)/ccache/ccache
        # Check that the executable is here.
        ccache := $(strip $(wildcard $(ccache)))
    endif
endif

KERNEL_CROSS_COMPILE := CROSS_COMPILE="$(ccache) $(KERNEL_TOOLCHAIN_PATH)"
ccache =