summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-01-04 22:57:25 +0100
committerDániel Járai <jaraidaniel@gmail.com>2016-01-04 14:07:23 -0800
commitf3b22582186d84754acaa84e40411daa28507f5d (patch)
tree328d0a0230984b99bef9d654daba993e13ef90ec
parent8c9abc2f2df2afcec8669dbad3d7d56a1565920b (diff)
downloaddevice_samsung_tuna-f3b22582186d84754acaa84e40411daa28507f5d.zip
device_samsung_tuna-f3b22582186d84754acaa84e40411daa28507f5d.tar.gz
device_samsung_tuna-f3b22582186d84754acaa84e40411daa28507f5d.tar.bz2
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
-rwxr-xr-xBoardConfig.mk3
1 files changed, 2 insertions, 1 deletions
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