diff --git a/core/main.mk b/core/main.mk index c323e20a33..d9829c5323 100644 --- a/core/main.mk +++ b/core/main.mk @@ -244,9 +244,13 @@ else ADDITIONAL_DEFAULT_PROPERTIES += ro.actionable_compatible_property.enabled=${PRODUCT_COMPATIBLE_PROPERTY} endif -ADDITIONAL_PRODUCT_PROPERTIES += \ - ro.boot.dynamic_partitions=$(PRODUCT_USE_DYNAMIC_PARTITIONS) \ - ro.boot.dynamic_partitions_retrofit=$(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS) +ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true) +ADDITIONAL_PRODUCT_PROPERTIES += ro.boot.dynamic_partitions=true +endif + +ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true) +ADDITIONAL_PRODUCT_PROPERTIES += ro.boot.dynamic_partitions_retrofit=true +endif # ----------------------------------------------------------------- ###