QcomModulePkg: Update inf for avb 2.0
Update build files for avb 2.0 support.
Change-Id: I982cb79bebbed362d99230a4153e5f431dc9d7a5
diff --git a/AndroidBoot.mk b/AndroidBoot.mk
index c12a124..8c275fb 100644
--- a/AndroidBoot.mk
+++ b/AndroidBoot.mk
@@ -8,6 +8,12 @@
VERIFIED_BOOT := VERIFIED_BOOT=0
endif
+ifeq ($(BOARD_AVB_ENABLE),true)
+ VERIFIED_BOOT_2 := VERIFIED_BOOT_2=1
+else
+ VERIFIED_BOOT_2 := VERIFIED_BOOT_2=0
+endif
+
ifeq ($(TARGET_BUILD_VARIANT),user)
USER_BUILD_VARIANT := USER_BUILD_VARIANT=1
else
@@ -27,7 +33,7 @@
# Top level target
$(TARGET_ABL): abl_clean | $(ABL_OUT) $(INSTALLED_KEYSTOREIMAGE_TARGET)
- $(MAKE) -C bootable/bootloader/edk2 BOOTLOADER_OUT=../../../$(ABL_OUT) all $(VERIFIED_BOOT) $(USER_BUILD_VARIANT) CLANG_BIN=$(CLANG_BIN)
+ $(MAKE) -C bootable/bootloader/edk2 BOOTLOADER_OUT=../../../$(ABL_OUT) all $(VERIFIED_BOOT) $(VERIFIED_BOOT_2) $(USER_BUILD_VARIANT) CLANG_BIN=$(CLANG_BIN)
.PHONY: abl