Commit | Line | Data |
---|---|---|
fd684260 DT |
1 | # Copyright (C) 2017-2020 The LineageOS Project |
2 | # | |
3 | # Licensed under the Apache License, Version 2.0 (the "License"); | |
4 | # you may not use this file except in compliance with the License. | |
5 | # You may obtain a copy of the License at | |
6 | # | |
7 | # http://www.apache.org/licenses/LICENSE-2.0 | |
8 | # | |
9 | # Unless required by applicable law or agreed to in writing, software | |
10 | # distributed under the License is distributed on an "AS IS" BASIS, | |
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 | # See the License for the specific language governing permissions and | |
13 | # limitations under the License. | |
14 | ||
15 | # Inherit from universal7580-common | |
16 | include device/samsung/universal7580-common/BoardConfigCommon.mk | |
17 | ||
18 | LOCAL_PATH := device/samsung/j7elte | |
9427e63c | 19 | |
a64a9880 DT |
20 | TARGET_OTA_ASSERT_DEVICE := j7elte |
21 | ||
9427e63c DW |
22 | # Bluetooth |
23 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth | |
a64a9880 DT |
24 | |
25 | # Init | |
26 | TARGET_INIT_VENDOR_LIB := libinit_sec | |
a41a79b7 | 27 | |
1c69b11d DT |
28 | # Kernel |
29 | TARGET_KERNEL_CONFIG := lineageos_j7elte_defconfig | |
30 | ||
a41a79b7 DT |
31 | # Partitions |
32 | BOARD_HAS_NO_MISC_PARTITION:= false | |
33 | TARGET_USERIMAGES_USE_EXT4 := true | |
34 | TARGET_USERIMAGES_USE_F2FS := true | |
35 | BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 | |
36 | BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 | |
37 | BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888 | |
38 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904 | |
39 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832 | |
40 | BOARD_FLASH_BLOCK_SIZE := 4096 | |
bf4ad9d9 DW |
41 | |
42 | # RIL | |
43 | BOARD_MODEM_TYPE := tss310 | |
44 | BOARD_PROVIDES_LIBRIL := true |