diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-12-06 22:53:45 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-12-06 22:53:45 -0800 |
commit | c401b4438c05ea589979ad6b4eefdd5d3d7795e7 (patch) | |
tree | 9cf7177626b54612e09d349c2c5c21e3da7620c6 /core/dumpvar.mk | |
parent | 316febd7153e1c9e13911c216175104febc188db (diff) | |
parent | 0cd997ff31852af80eab4f3d0c2db8d1a1328085 (diff) | |
download | build-c401b4438c05ea589979ad6b4eefdd5d3d7795e7.zip build-c401b4438c05ea589979ad6b4eefdd5d3d7795e7.tar.gz build-c401b4438c05ea589979ad6b4eefdd5d3d7795e7.tar.bz2 |
am 0cd997ff: am 8af0efd6: Improve handling of absolute paths in out directory
* commit '0cd997ff31852af80eab4f3d0c2db8d1a1328085':
Improve handling of absolute paths in out directory
Diffstat (limited to 'core/dumpvar.mk')
-rw-r--r-- | core/dumpvar.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/dumpvar.mk b/core/dumpvar.mk index a0575a5..f91c08a 100644 --- a/core/dumpvar.mk +++ b/core/dumpvar.mk @@ -48,7 +48,11 @@ ifdef dumpvar_goals absolute_dumpvar := $(strip $(filter abs-%,$(dumpvar_goals))) ifdef absolute_dumpvar dumpvar_goals := $(patsubst abs-%,%,$(dumpvar_goals)) - DUMPVAR_VALUE := $(PWD)/$($(dumpvar_goals)) + ifneq ($(filter /%,$($(dumpvar_goals))),) + DUMPVAR_VALUE := $($(dumpvar_goals)) + else + DUMPVAR_VALUE := $(PWD)/$($(dumpvar_goals)) + endif dumpvar_target := dumpvar-abs-$(dumpvar_goals) else DUMPVAR_VALUE := $($(dumpvar_goals)) |