1# Primary Arch 2TARGET_ARCH := arm 3TARGET_ARCH_VARIANT := armv8-a 4TARGET_CPU_VARIANT := cortex-a53 5TARGET_CPU_ABI := armeabi-v7a 6TARGET_CPU_ABI2 := armeabi 7 8TARGET_BOARD_PLATFORM := poplar 9TARGET_BOOTLOADER_BOARD_NAME := poplar 10 11BOARD_FLASH_BLOCK_SIZE := 512 12 13BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 14 15BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612224 16BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4 17 18BOARD_VENDORIMAGE_PARTITION_SIZE := 268434944 19BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 20 21BOARD_USERDATAIMAGE_PARTITION_SIZE := 5456789504 22BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4 23 24BOARD_CACHEIMAGE_PARTITION_SIZE := 268434944 25BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 26 27TARGET_USERIMAGES_USE_EXT4 := true 28TARGET_NO_BOOTLOADER := false 29TARGET_BOOTLOADER_IS_2ND = true 30TARGET_NO_KERNEL := false 31TARGET_NO_RECOVERY := true 32TARGET_NO_RADIOIMAGE := true 33 34BOARD_KERNEL_CMDLINE := androidboot.hardware=poplar androidboot.selinux=permissive firmware_class.path=/vendor/firmware mmz=ddr,0,0,60M 35BOARD_KERNEL_CMDLINE += printk.devkmsg=on 36BOARD_KERNEL_CMDLINE += blkdevparts=mmcblk1:4193792@512(loader),40m(boot),1610612224(system),5993660928,268434944@1580m(vendor),268434944@1836m(cache),5364m@2092m(userdata) 37 38#sepolicy 39BOARD_SEPOLICY_DIRS := device/linaro/poplar/sepolicy 40 41# HAL's build config 42# build config of feature graphics 43TARGET_USES_HWC2 := true 44 45# wifi 46BOARD_WLAN_DEVICE := rtl 47WPA_SUPPLICANT_VERSION := VER_0_8_X 48BOARD_WPA_SUPPLICANT_DRIVER := NL80211 49BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) 50BOARD_HOSTAPD_DRIVER := NL80211 51BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) 52 53TARGET_COPY_OUT_VENDOR := vendor 54 55# Enable Treble 56PRODUCT_FULL_TREBLE_OVERRIDE := true 57BOARD_VNDK_VERSION := current 58