aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2022-03-23 18:26:34 +0000
committerDaniel Norman <danielnorman@google.com>2022-03-23 18:27:35 +0000
commitf4c89a2a805a68472f81562c403cf31b1e4fcf21 (patch)
treecd1b8cb98045d7abf62dc1a0db63eebd0ca73fa2
parented4305638bfe0ca9029c5b24f22edbb8f7e295f3 (diff)
downloadcommon-f4c89a2a805a68472f81562c403cf31b1e4fcf21.tar.gz
Allow BOARD_BUILD_SYSTEM_ROOT_IMAGE override by command line flag.
This allows users to optionally include ramdisk in their GKI build until they have swapped to using the init-boot partition. Bug: 224481030 Change-Id: I6fb6a474763261f0963ea6358717cefb645d8690
-rw-r--r--BoardConfigGkiCommon.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/BoardConfigGkiCommon.mk b/BoardConfigGkiCommon.mk
index 059eeec..eedfe28 100644
--- a/BoardConfigGkiCommon.mk
+++ b/BoardConfigGkiCommon.mk
@@ -42,7 +42,7 @@ TARGET_NO_KERNEL := false
BOARD_USES_GENERIC_KERNEL_IMAGE := true
# Pretend as a no-ramdisk device to exclude the ramdisk from the GKI boot image
-BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
+BOARD_BUILD_SYSTEM_ROOT_IMAGE ?= true
# No system image
BOARD_SYSTEMIMAGE_PARTITION_SIZE :=