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

Commit 3bb6b8b4 authored by Mike Grissom's avatar Mike Grissom Committed by Tom Marshall
Browse files

Don't set CCACHE_BASEDIR if its already set

 * enable use of shared ccache

Change-Id: Ic708a5d5169291d674b167aa2c87bf2c8adaafae
parent 14e552ee
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -75,7 +75,9 @@ ifneq ($(USE_CCACHE),)
  # We don't really use system headers much so the rootdir is
  # fine; ensures these paths are relative for all Android trees
  # on a workstation.
  ifeq ($(CCACHE_BASEDIR),)
    export CCACHE_BASEDIR := $(ANDROID_BUILD_TOP)
  endif

  CCACHE_HOST_TAG := $(HOST_PREBUILT_TAG)
  # If we are cross-compiling Windows binaries on Linux