Merge "also set twrp cmdline for legacy A/B" into android-11

This commit is contained in:
bigbiff
2021-09-28 21:42:06 +00:00
committed by Gerrit Code Review
+5 -2
View File
@@ -2,7 +2,10 @@ include vendor/twrp/config/BoardConfigKernel.mk
include vendor/twrp/config/BoardConfigSoong.mk
ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true)
GENERIC_KERNEL_CMDLINE += twrpfastboot=1
ifeq ($(BOARD_BOOT_HEADER_VERSION),3)
GENERIC_KERNEL_CMDLINE += twrpfastboot=1
else
INTERNAL_KERNEL_CMDLINE += twrpfastboot=1
endif
endif