msm8937-common: Enable Full treble
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
This commit is contained in:
parent
c5d6900f95
commit
d68a5f8ca5
3 changed files with 11 additions and 0 deletions
|
@ -4,11 +4,17 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
|||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26301931008
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 536870912
|
||||
|
||||
BOARD_FLASH_BLOCK_SIZE := 131072
|
||||
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
|
||||
TARGET_USERIMAGES_USE_F2FS := true
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
|
||||
# Filesystem
|
||||
TARGET_FS_CONFIG_GEN := $(VENDOR_PATH)/config.fs
|
||||
|
||||
# Vendor Implementation
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
|
|
4
board/treble.mk
Normal file
4
board/treble.mk
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Treble
|
||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||
PRODUCT_FULL_TREBLE_OVERRIDE := true
|
||||
PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := 27
|
|
@ -6,6 +6,7 @@
|
|||
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
|
||||
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
|
||||
/dev/block/bootdevice/by-name/system /system ext4 ro wait
|
||||
/dev/block/bootdevice/by-name/cust /vendor ext4 ro wait
|
||||
/dev/block/bootdevice/by-name/userdata /data f2fs rw,nosuid,nodev,noatime wait,formattable,check,encryptable=footer
|
||||
/dev/block/bootdevice/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc wait,formattable,check,encryptable=footer
|
||||
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr wait,formattable,check
|
||||
|
|
Loading…
Reference in a new issue