| 1 | # |
| 2 | # Copyright (C) 2018 The LineageOS Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | # Inherit from universal7580-common |
| 18 | include device/samsung/universal7580-common/BoardConfigCommon.mk |
| 19 | |
| 20 | LOCAL_PATH := device/samsung/a5xelte |
| 21 | |
| 22 | TARGET_OTA_ASSERT_DEVICE := a5xelte, a5xeltexx, a5xelteub, a5xeltedo |
| 23 | |
| 24 | # Bluetooth |
| 25 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth |
| 26 | |
| 27 | # RIL |
| 28 | BOARD_MODEM_TYPE := tss310 |
| 29 | BOARD_PROVIDES_LIBRIL := true |
| 30 | |
| 31 | # Init |
| 32 | TARGET_INIT_VENDOR_LIB := libinit_sec |
| 33 | |
| 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 := 29360128 |
| 39 | BOARD_CACHEIMAGE_PARTITION_SIZE := 104857600 |
| 40 | BOARD_RECOVERYIMAGE_PARTITION_SIZE := 35651584 |
| 41 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3145728000 |
| 42 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 13514047488 |
| 43 | BOARD_FLASH_BLOCK_SIZE := 4096 |
| 44 | |
| 45 | # Kernel |
| 46 | TARGET_KERNEL_CONFIG := lineageos_a5xelte_defconfig |
| 47 | |
| 48 | # Shim |
| 49 | TARGET_LD_SHIM_LIBS += \ |
| 50 | /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \ |
| 51 | /system/lib/libstagefright.so|/vendor/lib/libstagefright_shim.so \ |
| 52 | /system/lib/libexynoscamera.so|/vendor/lib/libexynoscamera_shim.so |