1# Copyright (C) 2019 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# 15 16# The generic product target doesn't have any hardware-specific pieces. 17TARGET_NO_BOOTLOADER := true 18TARGET_NO_KERNEL := true 19TARGET_ARCH := arm64 20TARGET_ARCH_VARIANT := armv8-a 21TARGET_CPU_VARIANT := generic 22TARGET_CPU_ABI := arm64-v8a 23TARGET_CPU_ABI2 := 24TARGET_BOOTLOADER_BOARD_NAME := trusty_$(TARGET_ARCH) 25 26TARGET_2ND_ARCH := arm 27TARGET_2ND_ARCH_VARIANT := armv8-a 28TARGET_2ND_CPU_ABI := armeabi-v7a 29TARGET_2ND_CPU_ABI2 := armeabi 30TARGET_2ND_CPU_VARIANT := generic 31 32BOARD_SEPOLICY_DIRS += device/generic/trusty/sepolicy 33 34TARGET_USES_64_BIT_BINDER := true 35 36BUILD_QEMU_IMAGES := true 37 38TARGET_USERIMAGES_USE_EXT4 := true 39BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456 # 256M 40BOARD_USERDATAIMAGE_PARTITION_SIZE := 4194304 # 4M 41TARGET_COPY_OUT_VENDOR := vendor 42# ~100 MB vendor image. Please adjust system image / vendor image sizes 43# when finalizing them. 44BOARD_VENDORIMAGE_PARTITION_SIZE := 4194304 # 4M 45BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 46BOARD_FLASH_BLOCK_SIZE := 512 47TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 48DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml 49 50BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 51BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy 52 53# Enable A/B update 54TARGET_NO_RECOVERY := true 55BOARD_BUILD_SYSTEM_ROOT_IMAGE := true 56