25328627baceed4e09f01bd25ad016c2942669e3
To generate partition tables in the Android build system, simply add the path to a .bpt file to the BOARD_BPT_INPUT_FILES variable. BOARD_BPT_INPUT_FILES += "hardware/bsp/vendor/soc/board/board-specific.bpt" The variable BOARD_BPT_DISK_SIZE can be used to specify or override the disk size, for example: BOARD_BPT_DISK_SIZE := "10 GiB" Additional arguments to 'bpttool make_table' can be specified in the variable BOARD_BPT_MAKE_TABLE_ARGS. If BOARD_BPT_INPUT_FILES is set, the build system generates two files partition-table.img partition-table.bpt in ${ANDROID_PRODUCT_OUT} using 'bpttool make_table'. The former is the binary partition tables generated using bptool's --output_gpt option and the latter is a JSON file generated using the --output_json option. These files will also be put in the IMAGES/ directory of target-files.zip when running 'm dist'. BUG=27831397 TEST=Manually tested. Change-Id: Iedd15354afb2dd483dcb9bc001360b2a37fd6dc0
Description
No description provided
Languages
Makefile
32.1%
Python
31.1%
Go
13.7%
Rust
7.7%
Java
5.2%
Other
10.1%