Fix warning on the build servers
ANDROID_BUILD_TOP is only defined if envsetup.sh is sourced, the current directory in make is the top of the source tree. Test: <fresh terminal> make -j nothing Change-Id: I24834a6eeb6ac11de0cc19d84650daa086995d99
This commit is contained in:
parent
f653eaa322
commit
ac98aac43f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,6 @@
|
|||
# literal instead. Using 0 lets us easily distinguish non-canonical builds.
|
||||
platform_tools_version := $(shell sed \
|
||||
's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\(.*\)/\1/p ; d' \
|
||||
$(ANDROID_BUILD_TOP)/development/sdk/plat_tools_source.prop_template \
|
||||
development/sdk/plat_tools_source.prop_template \
|
||||
)
|
||||
tool_version := $(platform_tools_version)-$(BUILD_NUMBER_FROM_FILE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue