QcomModulePkg: Add build flag to check if boot.img has recovery

Add support for BOARD_USES_RECOVERY_AS_BOOT flag to know if the
boot.img is packaged with ramdisk-recovery.img.

Change-Id: Ie396436a91aef63fdbb3c6fc4d313d330c222ae0
diff --git a/AndroidBoot.mk b/AndroidBoot.mk
index 5a31380..85ab52f 100644
--- a/AndroidBoot.mk
+++ b/AndroidBoot.mk
@@ -84,6 +84,12 @@
         DYNAMIC_PARTITION_SUPPORT := DYNAMIC_PARTITION_SUPPORT=0
 endif
 
+ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
+	BUILD_USES_RECOVERY_AS_BOOT := BUILD_USES_RECOVERY_AS_BOOT=1
+else
+	BUILD_USES_RECOVERY_AS_BOOT := BUILD_USES_RECOVERY_AS_BOOT=0
+endif
+
 SAFESTACK_SUPPORTED_CLANG_VERSION = 6.0
 
 # For most platform, abl needed always be built
@@ -130,6 +136,7 @@
 		$(DISABLE_PARALLEL_DOWNLOAD_FLASH) \
 		$(AB_RETRYCOUNT_DISABLE) \
 		$(DYNAMIC_PARTITION_SUPPORT) \
+		$(BUILD_USES_RECOVERY_AS_BOOT) \
 		CLANG_BIN=$(CLANG_BIN) \
 		CLANG_PREFIX=$(CLANG35_PREFIX)\
 		ABL_USE_SDLLVM=$(ABL_USE_SDLLVM) \