-
Notifications
You must be signed in to change notification settings - Fork 5
/
BoardConfig.mk
124 lines (100 loc) · 3.78 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#
# Swift Config
#
PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=device/lge/swift/prelink-linux-arm-swift.map
TARGET_BOARD_PLATFORM := msm7k
TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv6-vfp
TARGET_CPU_ABI := armeabi-v6l
TARGET_CPU_ABI2 := armeabi
TARGET_BOOTLOADER_BOARD_NAME := swift
BOARD_USES_QCOM_HARDWARE := true
BOARD_USES_ADRENO_200 := true
HAVE_ADRENO200_SOURCE := true
HAVE_ADRENO200_SC_SOURCE := true
HAVE_ADRENO200_FIRMWARE := true
TARGET_USES_2G_VM_SPLIT := true
PRODUCT_IS_LGE_GT540 := true
BOARD_USE_FROYO_LIBCAMERA := true
TARGET_PROVIDES_LIBAUDIO := true
TARGET_PROVIDES_LIBCOPYBIT := true
TARGET_PROVIDES_LIBLIGHTS := true
TARGET_PROVIDES_LIBSENSORS := true
TARGET_PROVIDES_LIBRIL := true
TARGET_PROVIDES_RILD := true
BOARD_VENDOR_USE_AKMD := akm8973
TARGET_SENSORS_NO_OPEN_CHECK := true
TARGET_USES_OLD_LIBSENSORS_HAL := true
TARGET_WANTS_OLD_ACTIVATE_BEHAVIOR := true
TARGET_DO_NOT_SETS_CAN_DRAW := true
TARGET_HAVE_TSLIB := true
TARGET_NO_BOOTLOADER := true
TARGET_NO_RECOVERY := false
TARGET_NO_KERNEL := false
TARGET_NO_RADIO := true
BOARD_HAVE_FM_RADIO := true
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
BOARD_USE_BROADCOM_FM_VOLUME_HACK := true
### GT540
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/usb_mass_storage/lun"
BOARD_UMS_LUNFILE := "/sys/devices/platform/usb_mass_storage/lun0/file"
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
TARGET_USES_16BPPSURFACE_FOR_OPAQUE := true
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
BOARD_NO_RGBX_8888 := true
BUILD_PV_VIDEO_ENCODERS := true
USE_PV_WINDOWS_MEDIA := false
BUILD_WITH_FULL_STAGEFRIGHT := 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
WPA_SUPPLICANT_VERSION := VER_0_5_X
BOARD_WLAN_DEVICE := bcm4325
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wireless.ko"
WIFI_DRIVER_FW_STA_PATH := "/system/etc/wl/rtecdc.bin"
WIFI_DRIVER_FW_AP_PATH := "/system/etc/wl/rtecdc-apsta.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/wl/rtecdc.bin nvram_path=/system/etc/wl/nvram.txt"
WIFI_DRIVER_MODULE_NAME := wireless
WIFI_DRIVER_HAS_LGE_SOFTAP := true
USE_CAMERA_STUB := false
#Optimization
ENABLE_WTF_USE_ACCELERATED_COMPOSITING := true
ENABLE_JSC_JIT := true
BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
BOARD_NO_RGBX_8888 := true
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
WITH_JIT := true
ENABLE_JSC_JIT := true
JS_ENGINE := v8
TARGET_OTA_ASSERT_DEVICE := swift
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
TARGET_OVERLAY_ALWAYS_DETERMINES_FORMAT := true
TARGET_SF_NEEDS_REAL_DIMENSIONS := 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/lge/swift/kernel
BOARD_EGL_CFG := device/lge/swift/egl.cfg
#BOARD_USES_GENERIC_AUDIO := false
#BOARD_USE_HTC_LIBSENSORS := false
#TARGET_HARDWARE_3D := false
BOARD_USE_NASTY_PTHREAD_CREATE_HACK := true
BUILD_OLD_LIBCAMERA := true