Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 1 | # |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 2 | # Copyright (C) 2021 SHIFT GmbH |
| 3 | # Copyright (C) 2021 The LineageOS Project |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 4 | # |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: Apache-2.0 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Kevin F. Haggerty | dc80eaa | 2021-04-09 08:18:37 -0600 | [diff] [blame] | 8 | # Use the non-open-source parts |
| 9 | include vendor/shift/axolotl/BoardConfigVendor.mk |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 10 | |
| 11 | DEVICE_PATH := device/shift/axolotl |
| 12 | |
Alexander Martinz | 88e692b | 2022-02-09 15:33:36 +0100 | [diff] [blame] | 13 | # We copy prebuilt binaries and libs instead of packaging them |
| 14 | BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true |
| 15 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 16 | ##### |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 17 | |
| 18 | # Architecture |
| 19 | TARGET_ARCH := arm64 |
| 20 | TARGET_ARCH_VARIANT := armv8-a |
| 21 | TARGET_CPU_ABI := arm64-v8a |
| 22 | TARGET_CPU_ABI2 := |
| 23 | TARGET_CPU_VARIANT := generic |
| 24 | TARGET_CPU_VARIANT_RUNTIME := kryo385 |
| 25 | |
| 26 | TARGET_2ND_ARCH := arm |
| 27 | TARGET_2ND_ARCH_VARIANT := armv8-2a |
| 28 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 29 | TARGET_2ND_CPU_ABI2 := armeabi |
| 30 | TARGET_2ND_CPU_VARIANT := generic |
| 31 | TARGET_2ND_CPU_VARIANT_RUNTIME := kryo385 |
| 32 | |
| 33 | # Bootloader |
| 34 | TARGET_BOOTLOADER_BOARD_NAME := sdm845 |
| 35 | TARGET_NO_BOOTLOADER := true |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 36 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 37 | # Display |
| 38 | TARGET_SCREEN_DENSITY := 420 |
| 39 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 40 | # Kernel |
Alexander Martinz | 904f987 | 2021-08-05 12:55:04 +0200 | [diff] [blame] | 41 | TARGET_NO_KERNEL := false |
| 42 | TARGET_NO_KERNEL_OVERRIDE := false |
| 43 | |
Alexander Martinz | 9b92868 | 2022-01-14 09:34:39 +0100 | [diff] [blame] | 44 | ifeq ($(TARGET_BUILD_VARIANT),eng) |
| 45 | TARGET_KERNEL_CONFIG := lineage_axolotl_eng_defconfig |
| 46 | else |
| 47 | TARGET_KERNEL_CONFIG := lineage_axolotl_defconfig |
| 48 | endif |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 49 | TARGET_KERNEL_SOURCE := kernel/shift/sdm845 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 50 | |
Bruno Martins | 21da5da | 2022-09-08 12:03:17 +0100 | [diff] [blame] | 51 | TARGET_KERNEL_LLVM_BINUTILS := false |
Michael Bestas | 964a922 | 2022-10-31 20:39:59 +0200 | [diff] [blame] | 52 | TARGET_KERNEL_CLANG_VERSION := r416183b |
| 53 | TARGET_KERNEL_CLANG_PATH := $(abspath .)/prebuilts/clang/kernel/$(HOST_PREBUILT_TAG)/clang-$(TARGET_KERNEL_CLANG_VERSION) |
Bruno Martins | 21da5da | 2022-09-08 12:03:17 +0100 | [diff] [blame] | 54 | |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 55 | BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb |
| 56 | BOARD_KERNEL_BASE := 0x00000000 |
| 57 | BOARD_KERNEL_PAGESIZE := 4096 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 58 | |
Alexander Martinz | 9b92868 | 2022-01-14 09:34:39 +0100 | [diff] [blame] | 59 | BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom |
| 60 | # Enable console for eng builds |
| 61 | ifeq ($(TARGET_BUILD_VARIANT),eng) |
| 62 | BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xA84000 |
| 63 | endif |
| 64 | BOARD_KERNEL_CMDLINE += androidboot.console=ttyMSM0 printk.devkmsg=on |
Alexander Martinz | 85f3b2f | 2022-09-22 17:27:45 +0200 | [diff] [blame] | 65 | BOARD_KERNEL_CMDLINE += androidboot.configfs=true loop.max_part=7 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 66 | BOARD_KERNEL_CMDLINE += msm_rtb.filter=0x237 |
| 67 | BOARD_KERNEL_CMDLINE += ehci-hcd.park=3 |
| 68 | BOARD_KERNEL_CMDLINE += service_locator.enable=1 |
| 69 | BOARD_KERNEL_CMDLINE += androidboot.memcg=1 cgroup.memory=nokmem |
| 70 | BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 |
| 71 | BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/1d84000.ufshc |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 72 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 73 | # (BOARD_KERNEL_PAGESIZE * 32) |
| 74 | BOARD_FLASH_BLOCK_SIZE := 131072 |
| 75 | |
| 76 | BOARD_KERNEL_SEPARATED_DTBO := true |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 77 | BOARD_INCLUDE_DTB_IN_BOOTIMG := true |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 78 | BOARD_BOOT_HEADER_VERSION := 2 |
| 79 | BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 80 | |
| 81 | # Platform |
| 82 | TARGET_BOARD_PLATFORM := sdm845 |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 83 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 84 | ##### |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 85 | |
| 86 | # AB |
| 87 | AB_OTA_UPDATER := true |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 88 | AB_OTA_PARTITIONS += \ |
| 89 | boot \ |
| 90 | dtbo \ |
| 91 | recovery \ |
| 92 | |
| 93 | AB_OTA_PARTITIONS += \ |
Alexander Martinz | cd27683 | 2023-11-27 15:24:01 +0100 | [diff] [blame] | 94 | odm \ |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 95 | product \ |
| 96 | system \ |
| 97 | system_ext \ |
| 98 | vendor \ |
| 99 | |
| 100 | AB_OTA_PARTITIONS += \ |
| 101 | vbmeta \ |
| 102 | vbmeta_system \ |
| 103 | vbmeta_vendor \ |
| 104 | |
| 105 | # AVB |
| 106 | BOARD_AVB_VBMETA_SYSTEM := system system_ext |
| 107 | BOARD_AVB_VBMETA_SYSTEM_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem |
| 108 | BOARD_AVB_VBMETA_SYSTEM_ALGORITHM := SHA256_RSA4096 |
| 109 | BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP) |
Michael Bestas | 6202809 | 2023-01-31 20:28:46 +0200 | [diff] [blame] | 110 | BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX_LOCATION := 1 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 111 | |
Alexander Martinz | cd27683 | 2023-11-27 15:24:01 +0100 | [diff] [blame] | 112 | BOARD_AVB_VBMETA_VENDOR := odm vendor |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 113 | BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem |
| 114 | BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA4096 |
| 115 | BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP) |
Michael Bestas | 6202809 | 2023-01-31 20:28:46 +0200 | [diff] [blame] | 116 | BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 2 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 117 | |
| 118 | # Enable AVB 2.0 |
| 119 | BOARD_AVB_ENABLE := true |
| 120 | |
| 121 | # Build the image with verity pre-disabled - https://android.googlesource.com/platform/external/avb/+/58305521295e51cb52a74d8d8bbaed738cf0767a |
Nolen Johnson | 4c0f684 | 2021-05-09 16:04:34 -0400 | [diff] [blame] | 122 | BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 123 | |
| 124 | ##### |
| 125 | |
| 126 | # ANT+ |
| 127 | BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl" |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 128 | |
| 129 | # APEX |
| 130 | DEXPREOPT_GENERATE_APEX_IMAGE := true |
| 131 | |
| 132 | # Audio |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 133 | AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true |
| 134 | AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 135 | AUDIO_FEATURE_ENABLED_GEF_SUPPORT := true |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 136 | BOARD_USES_ALSA_AUDIO := true |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 137 | |
Alexander Martinz | 3f93efe | 2022-11-11 16:06:29 +0100 | [diff] [blame] | 138 | # Audio - Sound Trigger |
| 139 | BOARD_SUPPORTS_SOUND_TRIGGER := true |
| 140 | BOARD_SUPPORTS_OPENSOURCE_STHAL := true |
| 141 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 142 | # Filesystem |
| 143 | TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/rootdir/config.fs |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 144 | |
Michael Bestas | 39f97cd | 2023-05-12 04:18:32 +0300 | [diff] [blame] | 145 | # GPS |
| 146 | BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default |
| 147 | LOC_HIDL_VERSION := 3.0 |
| 148 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 149 | # Graphics |
| 150 | TARGET_USES_GRALLOC1 := true |
| 151 | TARGET_USES_HWC2 := true |
| 152 | TARGET_USES_ION := true |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 153 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 154 | # HIDL |
Bruno Martins | 3d0f0bf | 2022-04-05 10:34:38 +0100 | [diff] [blame] | 155 | DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ |
Michael Bestas | 049d874 | 2024-06-15 00:50:24 +0300 | [diff] [blame] | 156 | $(DEVICE_PATH)/vintf/framework_compatibility_matrix.xml \ |
Michael Bestas | f3d0336 | 2024-06-15 00:46:19 +0300 | [diff] [blame] | 157 | hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \ |
Michael Bestas | 7f4f903 | 2024-06-17 10:41:47 +0300 | [diff] [blame] | 158 | hardware/qcom-caf/common/vendor_framework_compatibility_matrix_legacy.xml \ |
Michael Bestas | f3d0336 | 2024-06-15 00:46:19 +0300 | [diff] [blame] | 159 | vendor/lineage/config/device_framework_matrix.xml |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 160 | DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/vintf/manifest.xml |
Bruno Martins | 492b09b | 2024-02-08 17:05:32 +0000 | [diff] [blame] | 161 | DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 162 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 163 | # Light |
| 164 | TARGET_PROVIDES_LIBLIGHT := true |
| 165 | |
| 166 | # LMKD |
| 167 | TARGET_LMKD_STATS_LOG := true |
| 168 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 169 | # Power |
| 170 | TARGET_TAP_TO_WAKE_NODE := "/proc/touchpanel/double_tap_enable" |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 171 | |
| 172 | # Qualcomm BSP |
| 173 | BOARD_USES_QCOM_HARDWARE := true |
Alexander Martinz | 54fdc2d | 2021-04-22 14:19:05 +0200 | [diff] [blame] | 174 | |
Sal Savage | 601310e | 2022-04-15 15:38:17 -0700 | [diff] [blame] | 175 | # Properties |
| 176 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop |
| 177 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 178 | # Recovery |
| 179 | BOARD_INCLUDE_RECOVERY_DTBO := true |
Alexander Martinz | 32079de | 2022-01-07 12:18:10 +0100 | [diff] [blame] | 180 | TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.axolotl |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 181 | TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 |
| 182 | TARGET_RECOVERY_UI_LIB := libfstab |
Michael Bestas | 2d668bb | 2022-10-14 07:09:19 +0300 | [diff] [blame] | 183 | TARGET_RECOVERY_UI_MARGIN_HEIGHT := 16 |
| 184 | TARGET_RECOVERY_UI_MARGIN_WIDTH := 16 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 185 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 186 | # RIL |
| 187 | ENABLE_VENDOR_RIL_SERVICE := true |
| 188 | |
| 189 | # Security patch level |
Chirayu Desai | f239172 | 2022-09-20 04:09:01 +0530 | [diff] [blame] | 190 | BOOT_SECURITY_PATCH := 2023-10-05 |
Alexander Martinz | 3fd2fd0 | 2023-11-27 17:38:58 +0100 | [diff] [blame] | 191 | VENDOR_SECURITY_PATCH := 2023-10-05 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 192 | |
Alexander Martinz | d0f142d | 2021-12-20 09:26:53 +0100 | [diff] [blame] | 193 | # SELinux |
Bruno Martins | d332072 | 2023-10-24 18:12:15 +0100 | [diff] [blame] | 194 | include device/qcom/sepolicy_vndr/SEPolicy.mk |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 195 | BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor |
| 196 | |
| 197 | # Treble |
| 198 | BOARD_VNDK_VERSION := current |
| 199 | BOARD_SYSTEMSDK_VERSIONS := 29 |
| 200 | |
| 201 | # WLAN |
| 202 | BOARD_WLAN_DEVICE := qcwcn |
| 203 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 204 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) |
| 205 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 206 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) |
Alexander Martinz | 424914f | 2022-10-18 14:48:52 +0200 | [diff] [blame] | 207 | #WIFI_DRIVER_DEFAULT := qca_cld3 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 208 | WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan" |
| 209 | WIFI_DRIVER_STATE_OFF := "OFF" |
| 210 | WIFI_DRIVER_STATE_ON := "ON" |
| 211 | WIFI_HIDL_FEATURE_DUAL_INTERFACE := true |
| 212 | WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true |
| 213 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 214 | |
| 215 | ##### Partition handling |
| 216 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 217 | BOARD_DYNAMIC_PARTITION_ENABLE := true |
| 218 | |
| 219 | # Define the Dynamic Partition sizes and groups. |
| 220 | BOARD_SUPER_PARTITION_SIZE := 12884901888 |
| 221 | BOARD_SUPER_PARTITION_GROUPS := axolotl_dynamic_partitions |
| 222 | BOARD_AXOLOTL_DYNAMIC_PARTITIONS_SIZE := 6438256640 |
| 223 | BOARD_AXOLOTL_DYNAMIC_PARTITIONS_PARTITION_LIST := \ |
Alexander Martinz | cd27683 | 2023-11-27 15:24:01 +0100 | [diff] [blame] | 224 | odm \ |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 225 | product \ |
| 226 | system \ |
| 227 | system_ext \ |
| 228 | vendor \ |
| 229 | |
| 230 | # Set error limit to BOARD_SUPER_PARTITON_SIZE - 500MB |
| 231 | BOARD_SUPER_PARTITION_ERROR_LIMIT := 12360613888 |
| 232 | |
| 233 | # boot.img |
| 234 | BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000 |
| 235 | |
| 236 | # dtbo.img |
| 237 | BOARD_DTBOIMG_PARTITION_SIZE := 0x0800000 |
| 238 | |
| 239 | # metadata.img |
| 240 | BOARD_METADATAIMAGE_PARTITION_SIZE := 16777216 |
| 241 | BOARD_USES_METADATA_PARTITION := true |
| 242 | |
Alexander Martinz | cd27683 | 2023-11-27 15:24:01 +0100 | [diff] [blame] | 243 | # odm.img |
| 244 | BOARD_USES_ODMIMAGE := true |
| 245 | BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 246 | TARGET_COPY_OUT_ODM := odm |
| 247 | |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 248 | # persist.img |
| 249 | BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432 |
| 250 | BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 251 | |
| 252 | # product.img |
| 253 | BOARD_USES_PRODUCTIMAGE := true |
| 254 | BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 255 | TARGET_COPY_OUT_PRODUCT := product |
| 256 | |
| 257 | # recovery.img |
| 258 | BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x06000000 |
| 259 | |
| 260 | # system.img |
| 261 | BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 262 | |
| 263 | # system_ext.img |
| 264 | BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 265 | TARGET_COPY_OUT_SYSTEM_EXT := system_ext |
| 266 | |
| 267 | # userdata.img |
| 268 | TARGET_USERIMAGES_USE_EXT4 := true |
| 269 | TARGET_USERIMAGES_USE_F2FS := true |
Alexander Martinz | aaa2ec5 | 2023-11-27 11:54:49 +0100 | [diff] [blame] | 270 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 108982120448 |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 271 | |
| 272 | # vendor.img |
| 273 | BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 274 | |
| 275 | # vendor.img - split |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 276 | TARGET_COPY_OUT_VENDOR := vendor |
Alexander Martinz | ae2138e | 2021-08-26 17:27:03 +0200 | [diff] [blame] | 277 | |
| 278 | # Reserve space for gapps installation and other customizations |
Michael Bestas | 336ab8b | 2023-11-22 15:51:28 +0200 | [diff] [blame] | 279 | -include vendor/lineage/config/BoardConfigReservedSize.mk |
Alexander Martinz | 245360f | 2022-04-08 08:48:22 +0200 | [diff] [blame] | 280 | |
| 281 | # Include ShiftOS specific BoardConfig if existing |
| 282 | -include device/shift/axolotl/shiftos/BoardConfig.mk |