Android 源码编译 指定userdata.img、system.img、cache.img容量大小【转】

本文转载自:https://blog.csdn.net/baodinglaolang/article/details/49791041

修改build/target/board/generic_x86(对应编译平台)/BoardConfig.mk文件

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824#209715200
BOARD_CACHEIMAGE_PARTITION_SIZE := 138412032#69206016
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 1024#512

posted @ 2018-12-22 11:42  请给我倒杯茶  阅读(931)  评论(0编辑  收藏  举报