-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBoardConfig.mk
More file actions
executable file
·101 lines (72 loc) · 2.81 KB
/
BoardConfig.mk
File metadata and controls
executable file
·101 lines (72 loc) · 2.81 KB
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
# config.mk
#
# Product-specific compile-time definitions.
#
# WARNING: This line must come *before* including the proprietary
# variant, so that it gets overwritten by the parent (which goes
# against the traditional rules of inheritance).
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/htc/buzz/BoardConfigVendor.mk
TARGET_BOARD_PLATFORM := msm7k
TARGET_ARCH_VARIANT := armv6j
TARGET_CPU_ABI := armeabi
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
TARGET_NO_RECOVERY := true
# Wifi related defines
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
WPA_SUPPLICANT_VERSION := VER_0_6_X
BOARD_WLAN_DEVICE := bcm4329
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcm4329.ko"
WIFI_DRIVER_FW_STA_PATH := "/system/etc/firmware/fw_bcm4329.bin"
WIFI_DRIVER_FW_AP_PATH := "/system/etc/firmware/fw_bcm4329_apsta.bin"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/firmware/fw_bcm4329.bin nvram_path=/proc/calibration"
WIFI_DRIVER_MODULE_NAME := "bcm4329"
TARGET_BOOTLOADER_BOARD_NAME := buzz
TARGET_BOOTLOADER_LIBS := \
libboot_board_dream_sapphire_combined \
libboot_arch_msm7k \
libboot_arch_armv6
TARGET_BOOTLOADER_LINK_SCRIPT := \
hardware/msm7k/boot/boot.ld
TARGET_PROVIDES_INIT_RC := true
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_BASE := 0x02E00000
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_HAS_LIMITED_EGL:=true
BOARD_VENDOR_USE_AKMD := akmd
BOARD_VENDOR_QCOM_AMSS_VERSION := 1355
TARGET_HARDWARE_3D := true
BOARD_GPS_LIBRARIES := libgps librpc
# OpenGL drivers config file path
BOARD_EGL_CFG := device/htc/buzz/egl.cfg
# No authoring clock for OpenCore on DS
BOARD_NO_PV_AUTHORING_CLOCK := true
BOARD_USES_QCOM_LIBS := true
TARGET_RELEASETOOLS_EXTENSIONS := device/htc/common
TARGET_OTA_ASSERT_DEVICE := buzz
PRODUCT_BUILD_PROP_OVERRIDES += TARGET_BOOTLOADER_BOARD_NAME=buzz
# # cat /proc/mtd
# dev: size erasesize name
# mtd0: 00040000 00020000 "misc"
# mtd1: 00500000 00020000 "recovery"
# mtd2: 00280000 00020000 "boot"
# mtd3: 05a00000 00020000 "system"
# mtd4: 05000000 00020000 "cache"
# mtd5: 127c0000 00020000 "userdata"
# Changed for wildfire
BOARD_BOOTIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00280000)
BOARD_RECOVERYIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00500000)
BOARD_SYSTEMIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x09600000)
BOARD_USERDATAIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x0a520000)
# The size of a block that can be marked bad.
BOARD_FLASH_BLOCK_SIZE := 153600
# Stagefright fully enabled
BUILD_WITH_FULL_STAGEFRIGHT := true
# JIT built in, but disabled by default
#WITH_JIT := true
#ENABLE_JSC_JIT := true
# Stop compiling test_* binaries for eng tag
#STOP_TEST_BINS := true