forked from razrqcom-dev-team/android_device_motorola_xt926
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
46 lines (37 loc) · 1.58 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
-include device/motorola/msm8960-common/BoardConfigCommon.mk
# inherit from the proprietary version
-include vendor/motorola/xt926/BoardConfigVendor.mk
LOCAL_PATH := device/motorola/xt926
# Use common resources
TARGET_USES_MOTOROLA_MSM8960_COMMON_LIBLIGHT := true
# NFC
BOARD_HAVE_NFC := true
# Inline kernel building
TARGET_KERNEL_SOURCE := kernel/motorola/msm8960-common
TARGET_KERNEL_CONFIG := msm8960_mmi_defconfig
TARGET_PREBUILT_KERNEL := device/motorola/xt926/kernel
# copy all kernel modules under the "kerne/modules" directory to system/lib/modules
PRODUCT_COPY_FILES += $(shell \
find $(LOCAL_PATH)/kernel/modules -name '*.ko' 2> /dev/null \
| sed -r 's/^\/?(.*\/)([^/ ]+)$$/\1\2:system\/lib\/modules\/\2/' \
| tr '\n' ' ')
BOARD_KERNEL_CMDLINE := console=/dev/null androidboot.hardware=qcom user_debug=31 loglevel=1 msm_rtb.filter=0x3F kgsl.mmutype=gpummu zcache
BOARD_KERNEL_BASE := 0x80200000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01600000
#backwards compat for 4.1 (making recoveries)
#BOARD_FORCE_RAMDISK_ADDRESS := 0x81600000
#bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth
#TWRP
DEVICE_RESOLUTION := 720x1280
RECOVERY_GRAPHICS_USE_LINELENGTH := true
TW_NO_USB_STORAGE := true
TW_INTERNAL_STORAGE_PATH := "/data/media"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
TW_EXTERNAL_STORAGE_PATH := "/external_sd"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"
#BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true
TARGET_RECOVERY_INITRC := device/motorola/xt926/init.recovery.rc
TARGET_USERIMAGES_USE_EXT4 := true