-
Notifications
You must be signed in to change notification settings - Fork 3
/
BoardConfig.mk
74 lines (58 loc) · 2.24 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
66
67
68
69
70
71
#
# Swift Config
#
PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=device/lg/swift/prelink-linux-arm.map
TARGET_BOARD_PLATFORM := msm7k
TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
TARGET_ARCH_VARIANT := armv6-vfp
TARGET_CPU_ABI := armeabi-v6l
TARGET_CPU_ABI2 := armeabi
TARGET_BOOTLOADER_BOARD_NAME := swift
TARGET_NO_BOOTLOADER := true
TARGET_NO_RECOVERY := true
TARGET_NO_KERNEL := true
TARGET_NO_RADIO := true
BOARD_KERNEL_CMDLINE := mem=214M console=tty0,115200n8 androidboot.hardware=swift uart.mode=arm11_uart_disable crash=off
BOARD_KERNEL_BASE := 0x00200000
BOARD_PAGE_SIZE := 0x00000800
#BOARD_WPA_SUPPLICANT_DRIVER := WEXT
#BOARD_WLAN_DEVICE := bcm4325
##WPA_SUPPLICANT_VERSION := VER_0_5_X
#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wireless.ko"
##WIFI_DRIVER_FW_STA_PATH := "/system/etc/wl/rtecdc.bin"
#WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wl/rtecdc.bin nvram_path=/system/etc/wl/nvram.txt"
#WIFI_DRIVER_MODULE_NAME := "wireless"
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
BOARD_WLAN_DEVICE := wlan0
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wireless.ko"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wl/rtecdc.bin nvram_path=/system/etc/wl/nvram.txt"
WIFI_DRIVER_MODULE_NAME := wireless
USE_CAMERA_STUB := false
#Optimization
ENABLE_WTF_USE_ACCELERATED_COMPOSITING := true
ENABLE_JSC_JIT := true
BOARD_USES_QCOM_LIBS := true
BOARD_USES_QCOM_HARDWARE := true
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
WITH_A2DP := true
TINY_TOOLBOX :=true
BOARD_GPS_LIBRARIES := libloc_api
WITH_WINDOWS_MEDIA:=true
BOARD_HAVE_FM_RADIO := true
BOARD_USE_BROADCOM_FM_VOLUME_HACK := true
# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_PREBUILT_KERNEL := device/lg/swift/kernel
BOARD_EGL_CFG := device/lg/swift/egl.cfg
#BUILD_PV_VIDEO_ENCODERS := true
#TARGET_HARDWARE_3D := false
#BOARD_USES_GENERIC_AUDIO := false
#BOARD_USE_HTC_LIBSENSORS := false
#TARGET_HARDWARE_3D := false
#BUILD_WITH_FULL_STAGEFRIGHT:=true
#BOARD_USE_NASTY_PTHREAD_CREATE_HACK := true