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

Commit ac98aac4 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

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
parent f653eaa3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)