forked from CM7-GB/android_device_motorola_droid2we
-
Notifications
You must be signed in to change notification settings - Fork 6
/
BoardConfig.mk
54 lines (44 loc) · 2.06 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
# Copyright (C) 2011 The Android Open Source Project
# Copyright (C) 2012 bikedude880
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Use the non-open-source part, if present
-include vendor/motorola/droid2we/BoardConfigVendor.mk
# Use the part that is common between all tunas
include device/motorola/omap34com/BoardConfig.mk
# Processor
TARGET_BOOTLOADER_BOARD_NAME := droid2we
# Command line
TARGET_PREBUILT_KERNEL := device/motorola/droid2we/kernel
BOARD_KERNEL_CMDLINE := console=ttyS2,115200n8 rw mem=498M@0x80C00000 init=/init ip=off brdrev=P3A androidboot.bootloader=0x0000 mmcparts=mmcblk1:p7(pds),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(cache),p23(preinstall),p24(userdata) androidboot.mode=reboot androidboot.bootloader=D011 androidboot.serialno=0A3A94CF0602D02
# Audio
BOARD_USES_GENERIC_AUDIO := false
BOARD_USES_AUDIO_LEGACY := true
ifdef BOARD_USES_AUDIO_LEGACY
COMMON_GLOBAL_CFLAGS += -DBOARD_USES_AUDIO_LEGACY
endif
TARGET_PROVIDES_LIBAUDIO := true
# Ril
COMMON_GLOBAL_CFLAGS += -DUSE_TI_COMMANDS
# Camera
BOARD_OVERLAY_BASED_CAMERA_HAL := true
# Recovery
TARGET_PREBUILT_RECOVERY_KERNEL := device/motorola/droid2we/kernel
BOARD_MKE2FS := device/motorola/droid2we/releaseutils/mke2fs
TARGET_PROVIDES_INIT_RC := true
# UMS
BOARD_MASS_STORAGE_FILE_PATH := "/sys/devices/platform/usb_mass_storage/lun0/file"
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/usb_mass_storage/lun0/file"
BOARD_USE_USB_MASS_STORAGE_SWITCH := true
BOARD_CUSTOM_USB_CONTROLLER := ../../device/motorola/droid2we/UsbController.cpp
BOARD_MTP_DEVICE := "/dev/mtp"