Skip to content

Commit a2ee5d6

Browse files
committed
lk2nd: Enable DYNAMIC_PARTITION_SUPPORT
This is solely used for Android OS, but shouldn't cause any problem to Linux OS. This may cause problem for devices that was launched with Android 9 and earlier and wants to boot Android from lk2nd. I'll mitigate this in the following commits.
1 parent f07202e commit a2ee5d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lk2nd/project/base.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ DEFINES += DISABLE_SPLASH_PARTITION=1
6969
# Enable "fastboot oem help" for a list of supported fastboot commands
7070
DEFINES += FASTBOOT_HELP=1
7171

72+
# Enable Android dynamic partitions support
73+
DEFINES += DYNAMIC_PARTITION_SUPPORT=1
74+
7275
# Allow entering fastboot after forced reset
7376
DEFINES := $(filter-out USER_FORCE_RESET_SUPPORT=1, $(DEFINES))
7477

0 commit comments

Comments
 (0)