forked from PhilZ-cwm6/android_device_samsung_trlte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfig.mk
67 lines (57 loc) · 2.4 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
#n9100
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/samsung/trltetmo/BoardConfigVendor.mk
#TARGET_SPECIFIC_HEADER_PATH := device/samsung/trltetmo/include
BOARD_VENDOR := samsung
TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := apq8084
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_VARIANT := krait
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOARD_PLATFORM_GPU := qcom-adreno420
TARGET_BOOTLOADER_BOARD_NAME := APQ8084
TARGET_CPU_SMP := true
#TARGET_GCC_VERSION_EXP := 4.9
TARGET_GLOBAL_CFLAGS += -mfpu=neon-vfpv4 -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon-vfpv4 -mfloat-abi=softfp
# Kernel
TARGET_KERNEL_SOURCE := kernel/samsung/trltetmo
TARGET_KERNEL_CONFIG := apq8084_sec_defconfig
TARGET_KERNEL_SELINUX_CONFIG := selinux_defconfig
TARGET_KERNEL_VARIANT_CONFIG := apq8084_sec_trlte_plz_defconfig
TIMA_DEFCONFIG := tima_defconfig
#TARGET_PREBUILT_KERNEL := device/samsung/trltetmo/kernel
BOARD_KERNEL_CMDLINE := console=null androidboot.selinux=permissive androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 dwc3_msm.cpu_to_affin=1
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02600000 --tags_offset 0x02400000 --dt device/samsung/trltetmo/dt.img
# fix this up by examining /proc/mtd on a running device
# Recovery
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_USES_QCOM_BSP := true
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/samsung/trltetmo/recovery/recovery_keys.c
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_15x24.h\"
BOARD_USES_MMCUTILS := true
BOARD_HAS_LARGE_FILESYSTEM := true
BOARD_HAS_NO_MISC_PARTITION := true
BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_RECOVERY_FSTAB := device/samsung/trltetmo/recovery.fstab
TARGET_RECOVERY_LCD_BACKLIGHT_PATH := \"/sys/class/leds/lcd-backlight/brightness\"
#BOARD_RECOVERY_SWIPE := true
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_FLASH_BLOCK_SIZE := 131072
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
# Assert
TARGET_OTA_ASSERT_DEVICE := trltetmo,trltespr,trltecan,trlteusc,trltevzw,trlteatt
TARGET_QCOM_DISPLAY_VARIANT := caf-new
RECOVERY_VARIANT := philz
TARGET_SCREEN_HEIGHT := 2560
TARGET_SCREEN_WIDTH := 1440