forked from whatawurst/android_device_sony_poplar_dsds
-
Notifications
You must be signed in to change notification settings - Fork 1
/
BoardConfig.mk
44 lines (35 loc) · 1.35 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
#
# Copyright (C) 2017 The LineageOS 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.
### INHERIT FROM YOSHINO-COMMON
include device/sony/yoshino-common/BoardConfigPlatform.mk
include vendor/sony/poplar_dsds/BoardConfigVendor.mk
DEVICE_PATH := device/sony/poplar_dsds
PRODUCT_PLATFORM := yoshino
### BOOTLOADER
TARGET_BOOTLOADER_BOARD_NAME := G8342
### KERNEL
TARGET_KERNEL_CONFIG := lineage-msm8998-yoshino-poplar_dsds_defconfig
BOARD_KERNEL_CMDLINE += androidboot.hardware=poplar_dsds
### PARTITIONS
# See also /proc/partitions on the device
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5242880000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 55743832064
BOARD_VENDORIMAGE_PARTITION_SIZE := 1610612736
### DISPLAY
TARGET_SCREEN_DENSITY := 430
### PROPS
# Add device-specific ones
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop