Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c022f31 authored by Yi-yo Chiang's avatar Yi-yo Chiang Committed by Gerrit Code Review
Browse files

Merge "Assert BOARD_BUILD_SYSTEM_ROOT_IMAGE is not true"

parents 6fcd7609 b4bd8395
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -866,6 +866,11 @@ ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
  endif
endif

# TODO(b/241346584): Mark BOARD_BUILD_SYSTEM_ROOT_IMAGE as KATI_obsolete_var after all users are removed
ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
    $(error BOARD_BUILD_SYSTEM_ROOT_IMAGE is deprecated)
endif

ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
    ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
        $(error BOARD_BUILD_SYSTEM_ROOT_IMAGE cannot be true for devices with dynamic partitions)