-
Notifications
You must be signed in to change notification settings - Fork 85
PBRP Build Flags
This section provides custom PBRP Build Flags that can be used while building for devices. These flags are expected to used inside BoardConfig.mk
of your device tree.
PBRP GO is a lite version of the real PBRP for devices like mtk which have limited recovery partition size. The recovery built will only support limited themes.
PB_GO := TRUE
dm-verity is enabled by default in PBRP, this build flag disables that by default.
PB_DISABLE_DEFAULT_DM_VERITY := true
There are many old devices (like mt65xx variants) which follow traditional approach to flash recovery which can cause issues while flashing. This is a EXPERIMENTAL flag, enable only if u are facing the same kind of issue.
PB_FORCE_DD_FLASH := TRUE
For Specific Device Source path in PBRP, use this flag.
For e.g.,
PB_TORCH_PATH := /sys/class/leds/flashlight