1# 2# Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17TARGET_ARCH := arm 18TARGET_ARCH_VARIANT := armv7-a-neon 19TARGET_CPU_VARIANT := cortex-a15 20TARGET_CPU_ABI := armeabi-v7a 21TARGET_CPU_ABI2 := armeabi 22TARGET_CPU_SMP := true 23 24TARGET_BOOTIMAGE_FIT := true 25TARGET_USES_64_BIT_BINDER := true 26 27#Treble 28PRODUCT_FULL_TREBLE_OVERRIDE := true 29BOARD_VNDK_VERSION := current 30 31# Use mke2fs to create ext4 images 32TARGET_USES_MKE2FS := true 33TARGET_USES_HWC2 := true 34 35DEVICE_MANIFEST_FILE := device/ti/beagle_x15/manifest.xml 36DEVICE_MATRIX_FILE := device/ti/beagle_x15/compatibility_matrix.xml 37 38PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true 39 40BOARD_FLASH_BLOCK_SIZE := 4096 41 42USE_CAMERA_STUB := true 43 44BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648 # 2GB 45BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368 # 768MB 46BOARD_VENDORIMAGE_PARTITION_SIZE := 268435456 # 256MB 47 48TARGET_USERIMAGES_USE_EXT4 := true 49BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 50 51TARGET_BOARD_PLATFORM := am57x 52TARGET_COPY_OUT_VENDOR := vendor 53 54TARGET_RECOVERY_FSTAB = device/ti/beagle_x15/fstab.beagle_x15board 55TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" 56TARGET_RELEASETOOLS_EXTENSIONS := device/ti/beagle_x15 57 58BOARD_SEPOLICY_DIRS += \ 59 device/ti/beagle_x15/sepolicy 60 61BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 62 63# U-Boot configuration. 64TARGET_UBOOT_ARCH := $(TARGET_ARCH) 65TARGET_UBOOT_SRC := external/u-boot 66TARGET_UBOOT_DEFCONFIG := am57xx_evm_defconfig 67TARGET_UBOOT_CONFIGS += device/ti/beagle_x15/beagle_x15_uboot.conf 68TARGET_UBOOT_MAKE_TARGET := u-boot-img.bin 69TARGET_UBOOT_COPY_TARGETS := u-boot.img MLO 70