From 8364cb56be92559faf4cffb65ea754653104f73b Mon Sep 17 00:00:00 2001 From: nebrassy Date: Sun, 22 May 2022 13:36:06 +0200 Subject: [PATCH] add twrpfastboot=1 to GENERIC_KERNEL_CMDLINE for all vendor_boot devices Change-Id: Ic9844cb1f1cf0869d06b96a64b6e9dc713ba34e5 --- config/BoardConfigTWRP.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/BoardConfigTWRP.mk b/config/BoardConfigTWRP.mk index 710b2a3..88c1772 100644 --- a/config/BoardConfigTWRP.mk +++ b/config/BoardConfigTWRP.mk @@ -2,7 +2,7 @@ include vendor/twrp/config/BoardConfigKernel.mk include vendor/twrp/config/BoardConfigSoong.mk ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true) - ifeq (true,$(BOARD_USES_GENERIC_KERNEL_IMAGE)) + ifeq (true,$(BUILDING_VENDOR_BOOT_IMAGE)) GENERIC_KERNEL_CMDLINE += twrpfastboot=1 else INTERNAL_KERNEL_CMDLINE += twrpfastboot=1