This repository has been archived by the owner on Jul 4, 2019. It is now read-only.
forked from CyanogenMod/android_device_samsung_vibrantmtd
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathBoardConfig.mk
58 lines (48 loc) · 1.97 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
# Copyright (C) 2007 The Android Open Source Project
#
# 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.
# BoardConfig.mk
#
# Product-specific compile-time definitions.
#
# Kernel Config
TARGET_KERNEL_CONFIG := cyanogenmod_galaxys4gmtd_defconfig
# Recovery
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/samsung/galaxys4gmtd/recovery/recovery_keys.c
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/galaxys4gmtd/bluetooth
TARGET_OTA_ASSERT_DEVICE := galaxys4g,galaxys4gmtd,SGH-T959V,SGH-T959W
# Import the aries-common BoardConfigCommon.mk
include device/samsung/aries-common/BoardConfigCommon.mk
# Override stuff that doesn't match aries-common
TARGET_USERIMAGES_USE_EXT4 := false
BOARD_SECOND_CAMERA_DEVICE := /dev/video2
TARGET_PROVIDES_LIBCAMERA := true
TARGET_RECOVERY_FSTAB := device/samsung/galaxys4gmtd/fstab.aries
RECOVERY_FSTAB_VERSION := 2
# SELinux
BOARD_SEPOLICY_DIRS := $(filter-out device/samsung/aries-common/sepolicy,$BOARD_SEPOLICY_DIRS)
BOARD_SEPOLICY_DIRS += \
device/samsung/galaxys4gmtd/sepolicy
# Based on kernel header
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 403701760
BOARD_USERDATAIMAGE_PARTITION_SIZE := 545259520
# TWRP options
DEVICE_RESOLUTION := 480x800
TW_NO_REBOOT_BOOTLOADER := true
TW_FLASH_FROM_STORAGE := true
# Leave this as false for now, we can attempt to enable it later when we
# make sure that the ramdisk can be injected to
TW_INCLUDE_INJECTTWRP := false
# Disable exfat, as it conflicts with something in the CM tree
TW_NO_EXFAT := true