-
Notifications
You must be signed in to change notification settings - Fork 6
/
BoardConfig.mk
65 lines (52 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
include device/qcom/msm7627a/BoardConfig.mk
TARGET_NO_BOOTLOADER := true
BOARD_EGL_CFG := device/qcom/msm7627a/egl.cfg
#Optimizations
COMMON_GLOBAL_CFLAGS += -DREFRESH_RATE=60
COMMON_GLOBAL_CFLAGS += -DMISSING_GRALLOC_BUFFERS
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_HAVE_TSLIB := true
ARCH_ARM_HAVE_NEON := true
TARGET_USES_OVERLAY := false
TARGET_HAVE_BYPASS := false
TARGET_USES_C2D_COMPOSITION := false
TARGET_QCOM_HDMI_OUT := false
BOARD_USE_SKIA_LCDTEXT := true
USE_OPENGL_RENDERER := true
# Kernel
TARGET_NO_KERNEL := false
KERNEL_DEFCONFIG := C8666_defconfig
BOARD_KERNEL_BASE := 0x00200000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_SPARESIZE := 128
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200,n8 androidboot.hardware=qcom loglevel=1
# Recovery
ENABLE_LIBRECOVERY := true
# librecovery
RECOVERY_EXTERNAL_STORAGE := /emmc
SYSTEM_FS_TYPE := ext4
SYSTEM_PARTITION_TYPE := EMMC
SYSTEM_LOCATION := /dev/block/mmcblk0p12
# Misc
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1610612736
BOARD_FLASH_BLOCK_SIZE := 131072
# hack to prevent llvm from building
BOARD_USE_QCOM_LLVM_CLANG_RS := true
# Vold
BOARD_VOLD_MAX_PARTITIONS := 18
# Wireless
BOARD_HAS_ATH_WLAN := true
WPA_SUPPLICANT_VERSION := VER_2_0_DEV
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_HOSTAPD_DRIVER := NL80211
CONFIG_DRIVER_NL80211 := y
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
WIFI_DRIVER_MODULE_NAME := "wlan"
WIFI_SDIO_IF_DRIVER_MODULE_PATH := "/system/lib/modules/cfg80211.ko"
WIFI_SDIO_IF_DRIVER_MODULE_NAME := "cfg80211"
WIFI_TEST_INTERFACE := "sta"
WIFI_DRIVER_FW_PATH_STA := "sta"
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_P2P := "p2p"