diff --git a/core/config.mk b/core/config.mk index 57d112807..9e04eea67 100644 --- a/core/config.mk +++ b/core/config.mk @@ -843,6 +843,11 @@ ifdef PRODUCT_SHIPPING_API_LEVEL $(error When PRODUCT_SHIPPING_API_LEVEL >= 28, TARGET_USES_64_BIT_BINDER must be true) endif endif + ifeq ($(PRODUCT_FULL_TREBLE),true) + ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE), true) + $(error When PRODUCT_SHIPPING_API_LEVEL >= 28, BOARD_BUILD_SYSTEM_ROOT_IMAGE must be true) + endif + endif endif endif