From f3b22582186d84754acaa84e40411daa28507f5d Mon Sep 17 00:00:00 2001 From: Ziyan Date: Mon, 4 Jan 2016 22:57:25 +0100 Subject: Enable WITH_DEXPREOPT_BOOT_IMG_ONLY Otherwise, there's not enough space on /system to install nano gapps, to which the CM wiki points to. This increases the initial boot time by ~2 mins, but saves ~45 mb. Change-Id: I680b95c9a8481cdff3af7fe367c35fdf2b9dea66 --- BoardConfig.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 07917c3..ea9001f 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -82,8 +82,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096 # Disable journaling on system.img to save space. BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 -# Enable dex-preoptimization to speed up first boot sequence +# Pre-optimize the boot image WITH_DEXPREOPT := true +WITH_DEXPREOPT_BOOT_IMG_ONLY := true # Needed for RIL TARGET_NEEDS_BIONIC_MD5 := true -- cgit v1.1