summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2015-12-16 16:07:10 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-04 06:12:02 -0800
commit470b95c076ba54a1f0aa4def685bc28f6ca1e1d1 (patch)
treed44047544bd2da76eed5e065b86b0f75e0f5f67a /core/Makefile
parent63eabff2a952c413a33e1ef5a4a6554a73ee6181 (diff)
downloadbuild-470b95c076ba54a1f0aa4def685bc28f6ca1e1d1.zip
build-470b95c076ba54a1f0aa4def685bc28f6ca1e1d1.tar.gz
build-470b95c076ba54a1f0aa4def685bc28f6ca1e1d1.tar.bz2
build: Always run checkapi when building system image
This should significantly reduce the number of quail stars given out. This only applies when building the system image. Packages may still be built and tested individually without any impact. If you like to live dangerously, set I_WANT_A_QUAIL_STAR in your environment. Change-Id: I3da6646f022f2e967ebe2c3dd9ed616fab7991fe
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 2e050ba..834a56d 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1230,6 +1230,10 @@ endef
$(BUILT_SYSTEMIMAGE): $(FULL_SYSTEMIMAGE_DEPS) $(INSTALLED_FILES_FILE)
$(call build-systemimage-target,$@)
+ifndef I_WANT_A_QUAIL_STAR
+$(BUILT_SYSTEMIMAGE): checkapi
+endif
+
INSTALLED_SYSTEMIMAGE := $(PRODUCT_OUT)/system.img
SYSTEMIMAGE_SOURCE_DIR := $(TARGET_OUT)