Add option to increase inode count for test build

To build with VNDK snapshot libs we need more inode count for the
devices without product partition.

Define PRODUCT_INCREASE_INODE_COUNT=true to double the INODE_COUNT.
This is available only for test builds, since it will consume some
space for system image.

Bug: 122706619
Test: PRODUCT_EXTRA_VNDK_VERSIONS=28 \
      PRODUCT_INCREASE_INODE_COUNT=true m -j

Change-Id: I7e57cf3d4896dbe38e6a112ef983894320026b42
This commit is contained in:
Justin Yun
2019-01-14 09:58:00 +09:00
parent afeabbb7c9
commit 749615f25a

View File

@@ -65,7 +65,11 @@ BOARD_AVB_ENABLE := true
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560
BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0 BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0
ifneq ($(PRODUCT_INCREASE_INODE_COUNT),true)
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := 4096 BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := 4096
else
BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT := 8192
endif
TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_EXT4 := true
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26503790080 BOARD_USERDATAIMAGE_PARTITION_SIZE := 26503790080
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432 BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432