forked from CyanogenMod/android_device_sony_hayabusa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
48 lines (35 loc) · 1.19 KB
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#inherit from the common blue definitions
include device/sony/blue-common/BoardConfigCommon.mk
TARGET_SPECIFIC_HEADER_PATH += device/sony/hayabusa/include
TARGET_KERNEL_CONFIG := cm_blue_hayabusa_defconfig
# Partition information
BOARD_VOLD_MAX_PARTITIONS := 18
# the following two sizes are generous guesses
# since these partitions are not visible
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x01400000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x01400000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1056964608
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/sony/hayabusa/bluetooth
TARGET_LS_USE_ALS_NODE := true
# Dex
ifeq ($(HOST_OS),linux)
ifeq ($(TARGET_BUILD_VARIANT),user)
ifeq ($(WITH_DEXPREOPT),)
WITH_DEXPREOPT := true
endif
endif
endif
TARGET_OTA_ASSERT_DEVICE := lt29i,hayabusa,LT29i
BOARD_HARDWARE_CLASS := device/sony/hayabusa/cmhw
# Custom sepolicy for hardware
BOARD_SEPOLICY_DIRS += \
device/sony/hayabusa/sepolicy
BOARD_SEPOLICY_UNION += \
file_contexts \
file.te \
healthd.te \
system_server.te
# inherit from the proprietary version
-include vendor/sony/hayabusa/BoardConfigVendor.mk