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 | |
8029384c | 26 | TARGET_INIT_VENDOR_LIB := libinit_j7elte |
a41a79b7 | 27 | |
1c69b11d DT |
28 | # Kernel |
29 | TARGET_KERNEL_CONFIG := lineageos_j7elte_defconfig | |
30 | ||
160b0668 KH |
31 | # Network Routing |
32 | TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE := true | |
33 | ||
a41a79b7 DT |
34 | # Partitions |
35 | BOARD_HAS_NO_MISC_PARTITION:= false | |
36 | TARGET_USERIMAGES_USE_EXT4 := true | |
37 | TARGET_USERIMAGES_USE_F2FS := true | |
38 | BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 | |
39 | BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 | |
40 | BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888 | |
41 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904 | |
42 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832 | |
43 | BOARD_FLASH_BLOCK_SIZE := 4096 | |
bf4ad9d9 DW |
44 | |
45 | # RIL | |
46 | BOARD_MODEM_TYPE := tss310 | |
47 | BOARD_PROVIDES_LIBRIL := true | |
d6c191c6 | 48 | BOARD_NEEDS_ROAMING_PROTOCOL_FIELD := true |
7bc44464 | 49 | |
d7485035 JA |
50 | # Manifest |
51 | DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml | |
52 | ||
7bc44464 DW |
53 | # Shim |
54 | TARGET_LD_SHIM_LIBS += \ | |
55 | /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \ | |
7ea87d3a | 56 | /system/lib/libstagefright.so|/system/lib/libstagefright_shim.so \ |
7bc44464 | 57 | /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so |
978294dc | 58 | |
59 | # Legacy BLOB Support | |
60 | TARGET_PROCESS_SDK_VERSION_OVERRIDE += \ | |
61 | /system/vendor/bin/hw/rild=27 |