diff options
author | Ying Wang <wangying@google.com> | 2012-05-23 09:30:50 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-05-23 09:30:50 -0700 |
commit | 13054c365361669cf754c13bc9806f924245746f (patch) | |
tree | 8834cf6ba250789489a1d1104b62f4332d21913a /core/main.mk | |
parent | 8c761dbc3c508559d0c9953168ef40679aa0363f (diff) | |
parent | ce21b8204d5713fd0d511cc3635719dd4ca0bf75 (diff) | |
download | build-13054c365361669cf754c13bc9806f924245746f.zip build-13054c365361669cf754c13bc9806f924245746f.tar.gz build-13054c365361669cf754c13bc9806f924245746f.tar.bz2 |
am ce21b820: am 9ccacd7a: Set PWD to the absolute path of the top tree.
* commit 'ce21b8204d5713fd0d511cc3635719dd4ca0bf75':
Set PWD to the absolute path of the top tree.
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk index c4c4ffa..7adde61 100644 --- a/core/main.mk +++ b/core/main.mk @@ -52,6 +52,11 @@ endif endif endif +# Absolute path of the present working direcotry. +# This overrides the shell variable $PWD, which does not necessarily points to +# the top of the source tree, for example when "make -C" is used in m/mm/mmm. +PWD := $(shell pwd) + TOP := . TOPDIR := |