Add a build assertion:
In A/B devices, slot suffixes are usually defined as: BOARD_BOOTLOADER_SLOT_SUFFIXES := _a _b If this line is missing or commented, any reference to it expands to empty, causing the error. -bootloader- slot-suffixes not found