summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-08-31 15:25:06 +0200
committerZiyan <jaraidaniel@gmail.com>2016-08-31 15:25:45 +0200
commitcd488419619fa5f5a08af0943eae17678b71ccae (patch)
treed48dfda707ba967f2346a99fe958f77c4a3df4a3
parentef9a022fd37d41962a1d57b8b687780875ea14e1 (diff)
Pre-optimize the boot image only to save /system space
-rw-r--r--BoardConfigCommon.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 6d87755..744131d 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -38,6 +38,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
# Disable journaling on system.img to save space
BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
+# Only pre-optimize the boot image
+WITH_DEXPREOPT_BOOT_IMG_ONLY := true
+
# Kernel
BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME)
TARGET_KERNEL_CONFIG := grouper_defconfig