Back to Docs

Build Flags

Custom flags to configure PBRP for your specific device tree in BoardConfig.mk.

Official Build

RECOMMENDED

Marks the build as an Official release. This affects versioning string and branding.

PB_OFFICIAL := true

Disable Default DM-Verity

OPTIONAL

Disables dm-verity checks by default. useful for devices that fail to boot after modification.

PB_DISABLE_DEFAULT_DM_VERITY := true

Custom Torch Path

DEVICE SPECIFIC

If the flashlight toggle doesn't work, you may need to specify the correct sysfs path.

PB_TORCH_PATH := /sys/class/leds/flashlight

PBRP GO Support

DEPRECATED

Was used for low-memory devices. Removed in PBRP 3.0.0+.

PB_GO := TRUE