AndroidBoot: Flags for dynamic partition support enablement
Change to support PRODUCT_USE_DYNAMIC_PARTITIONS compilation
parameter, to enable dynamic partition support.
Change-Id: Ie12584c5d3e03444a3398e727deaca99405f8e38
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
diff --git a/makefile b/makefile
index f6da064..9822cc5 100644
--- a/makefile
+++ b/makefile
@@ -127,6 +127,10 @@
DEFINES += _SIGNED_KERNEL=1
endif
+ifeq ($(DYNAMIC_PARTITION_SUPPORT),1)
+ DEFINES += DYNAMIC_PARTITION_SUPPORT=1
+endif
+
ifeq ($(TARGET_DTBO_NOT_SUPPORTED),1)
DEFINES += TARGET_DTBO_NOT_SUPPORTED=1
endif