From: Jan Altensen Date: Fri, 15 May 2020 10:27:17 +0000 (+0200) Subject: exynos9610: build the vendor image X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b6ba0b2983e39726dcc8976fe0d0f183dcad1840;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: build the vendor image Change-Id: Ic7030f997f7f16fca5f2d39a5dc8d683bbb1e516 --- diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 09be87b..0f53ee6 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -69,12 +69,15 @@ BOARD_KERNEL_IMAGE_NAME := Image # partitions BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472 +BOARD_VENDORIMAGE_PARTITION_SIZE := 805306368 BOARD_USERDATAIMAGE_PARTITION_SIZE := 118974455808 BOARD_DTBOIMG_PARTITION_SIZE := 1048576 BOARD_BUILD_SYSTEM_ROOT_IMAGE := true BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64) TARGET_USES_MKE2FS := true BOARD_USES_METADATA_PARTITION := true +BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 +TARGET_COPY_OUT_VENDOR := vendor # Recovery BOARD_USES_RECOVERY_AS_BOOT := true diff --git a/common.mk b/common.mk index 3d25afa..6fa63e3 100644 --- a/common.mk +++ b/common.mk @@ -30,7 +30,8 @@ AB_OTA_PARTITIONS += \ boot \ dtbo \ system \ - vbmeta + vbmeta \ + vendor AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_system=true \ diff --git a/extract-files.sh b/extract-files.sh index a217e02..7be3dd1 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -65,6 +65,9 @@ setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VEND extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ "${KANG}" --section "${SECTION}" +extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" \ + "${KANG}" --section "${SECTION}" + # Fix proprietary blobs BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE_COMMON"/proprietary patchelf --replace-needed libmedia.so libmedia_ims.so $BLOB_ROOT/lib64/libmediaadaptor.so diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup-makefiles.sh b/setup-makefiles.sh index adf83d4..71ff8c6 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -43,6 +43,7 @@ write_headers "kane troika" # The standard blobs write_makefiles "${MY_DIR}/proprietary-files.txt" true +write_makefiles "${MY_DIR}/proprietary-files-vendor.txt" true # Finish write_footers