aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-05-31 12:13:42 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-05-31 12:13:42 (GMT)
commit1835be840e116cdc15aad110ca9913eb21676cdc (patch)
treeedf84d74a58d649c6182b8cb60f21f2338974f33
parenta0a17efd181fdbcbb21d6e159b731b3077e70fe1 (diff)
downloadandroid_build-GNUtoo/lineage-16.0_i9300.zip
android_build-GNUtoo/lineage-16.0_i9300.tar.gz
android_build-GNUtoo/lineage-16.0_i9300.tar.bz2
TEST: workaround no recoveryGNUtoo/lineage-16.0_i9300
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index ad9cb91..9b9c842 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -2547,10 +2547,12 @@ ifeq ($(TARGET_NO_KERNEL),true)
$(error TARGET_NO_KERNEL)
build_ota_package := false
endif
+ifneq (,$(INSTALLED_RECOVERYIMAGE_TARGET)$(filter true,$(BOARD_USES_RECOVERY_AS_BOOT)))
ifeq ($(recovery_fstab),)
$(error recovery_fstab is empty)
build_ota_package := false
endif
+endif
ifeq ($(TARGET_BUILD_PDK),true)
$(error TARGET_BUILD_PDK)
build_ota_package := false