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

Commit ad2c1b4b authored by Ying Wang's avatar Ying Wang
Browse files

Allow to set ANDROID_BUILDSPEC as path of buildspec.mk

So that clients can set a custom buildspec.mk without adding
buildspec.mk at the top dir.

Change-Id: I4d993e24cea19caffdfe85822cdfdb9483cdfce7
parent 2e9e6ffc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -117,7 +117,10 @@ TARGET_SHELL := mksh
# If this file doesn't exist, the environemnt variables will
# be used, and if that doesn't work, then the default is an
# arm build
-include $(TOPDIR)buildspec.mk
ifndef ANDROID_BUILDSPEC
ANDROID_BUILDSPEC := $(TOPDIR)buildspec.mk
endif
-include $(ANDROID_BUILDSPEC)

# ---------------------------------------------------------------
# Define most of the global variables.  These are the ones that