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