/
BoardConfigCommon.mk
73 lines (57 loc) · 1.97 KB
/
BoardConfigCommon.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
68
69
70
71
72
73
#
# Copyright (C) 2017 Fernando Von Arx <fer.vonarx@gmail.com>
# Copyright (C) 2017 Jesse Chan <cjx123@outlook.com>
#
# 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.
#
LOCAL_PATH := device/samsung/hero-common
# Include path
TARGET_SPECIFIC_HEADER_PATH := $(LOCAL_PATH)/include
# Platform
BOARD_VENDOR := samsung
TARGET_BOARD_PLATFORM := exynos5
TARGET_SLSI_VARIANT := cm
TARGET_SOC := exynos8890
TARGET_BOOTLOADER_BOARD_NAME := universal8890
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
# Audio HAL variant
TARGET_AUDIOHAL_VARIANT := samsung
# Media
TARGET_OMX_LEGACY_RESCALING := true
# Binder
TARGET_USES_64_BIT_BINDER := true
# CPUsets
ENABLE_CPUSETS := true
# Fonts
EXTENDED_FONT_FOOTPRINT := true
# Image
BOARD_CUSTOM_BOOTIMG_MK := hardware/samsung/mkbootimg.mk
BOARD_KERNEL_SEPARATED_DT := true
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100
TARGET_CUSTOM_DTBTOOL := dtbhtoolExynos
# Packaging
BLOCK_BASED_OTA := false
# Properties
TARGET_SYSTEM_PROP := device/samsung/hero-common/system.prop
# Renderscript
BOARD_OVERRIDE_RS_CPU_VARIANT_32 := cortex-a53.a57
BOARD_OVERRIDE_RS_CPU_VARIANT_64 := exynos-m1
# SELinux
BOARD_SEPOLICY_DIRS := device/samsung/hero-common/sepolicy
# SECComp filters
BOARD_SECCOMP_POLICY += device/samsung/hero-common/seccomp
# Inherit board specific defines
-include device/samsung/hero-common/board/*.mk
# Inherit from the proprietary version
-include vendor/samsung/hero-common/BoardConfigVendor.mk