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