-
Notifications
You must be signed in to change notification settings - Fork 104
/
BoardConfig.mk
executable file
·46 lines (35 loc) · 1.22 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
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/emulator/twrp/BoardConfigVendor.mk
TARGET_NO_BOOTLOADER := true
TARGET_BOOTLOADER_BOARD_NAME := twrp
# Platform
TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_PLATFORM := omap4
# Architecture
TARGET_ARCH := arm
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_SMP := true
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_CPU_VARIANT := cortex-a9
BOARD_KERNEL_BASE := 0x80000000
# BOARD_KERNEL_CMDLINE :=
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
TARGET_PREBUILT_KERNEL := device/emulator/twrp/kernAl
# Recovery:Start
# Use this flag if the board has a ext4 partition larger than 2gb
BOARD_HAS_LARGE_FILESYSTEM := true
#TARGET_RECOVERY_INITRC := device/emulator/twrp/recovery/init.rc
TARGET_USERIMAGES_USE_EXT4 := true
# TWRP specific build flags
TW_THEME := portrait_hdpi
RECOVERY_SDCARD_ON_DATA := true
TW_EXCLUDE_MTP := true
# Dirty workaround to prevent errors related to the brightness file
TW_BRIGHTNESS_PATH := "/brightness"