Skip to content

Commit

Permalink
Don't set vendor partition size on devices with dynamic partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayudesai committed Sep 12, 2019
1 parent e581a62 commit dbdae2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/generate-vendor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,9 @@ gen_board_cfg_mk() {
{
echo "TARGET_BOARD_INFO_FILE := vendor/$VENDOR_DIR/$DEVICE/vendor-board-info.txt"
echo 'BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4'
echo "BOARD_VENDORIMAGE_PARTITION_SIZE := $v_img_sz"
echo 'ifneq ($(PRODUCT_USE_DYNAMIC_PARTITIONS), true)'
echo " BOARD_VENDORIMAGE_PARTITION_SIZE := $v_img_sz"
echo 'endif'

# Update with user selected extra flags
echo "$MK_FLAGS_LIST"
Expand Down

0 comments on commit dbdae2e

Please sign in to comment.