diff options
author | Mike Grissom <mikeyman77@gmail.com> | 2013-08-26 16:09:51 -0700 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2014-05-19 13:18:16 -0700 |
commit | 3bb6b8b4af13ee45ff0f4a1246126f4fc549d2bc (patch) | |
tree | 9767cb7fd69117d9f996d5152009e10874e70827 | |
parent | 14e552ee7b538f782edbb9aa0e267d671d86e3cf (diff) | |
download | build_make-3bb6b8b4af13ee45ff0f4a1246126f4fc549d2bc.tar.gz build_make-3bb6b8b4af13ee45ff0f4a1246126f4fc549d2bc.tar.bz2 build_make-3bb6b8b4af13ee45ff0f4a1246126f4fc549d2bc.zip |
Don't set CCACHE_BASEDIR if its already set
* enable use of shared ccache
Change-Id: Ic708a5d5169291d674b167aa2c87bf2c8adaafae
-rw-r--r-- | core/combo/select.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/combo/select.mk b/core/combo/select.mk index 9481937ff2..d5f7379d68 100644 --- a/core/combo/select.mk +++ b/core/combo/select.mk @@ -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. - export CCACHE_BASEDIR := $(ANDROID_BUILD_TOP) + 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 |