From: Bruno Martins Date: Sun, 7 Jul 2024 17:23:07 +0000 (+0100) Subject: g12: Copy media firmware directly from the source X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2dbb706b88c68d606e2979998b974ed8ba8c4bbd;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_amlogic_g12-common.git g12: Copy media firmware directly from the source Change-Id: I327202b49c4487a6cfde81cfe6727d98f7b2774e --- diff --git a/g12.mk b/g12.mk index f5d9e53..25acdeb 100644 --- a/g12.mk +++ b/g12.mk @@ -111,6 +111,11 @@ PRODUCT_PACKAGES += \ libtrusty.vendor endif +## Media firmware +PRODUCT_COPY_FILES += \ + kernel/amlogic/kernel-modules/media-4.9/firmware/h264_enc.bin:$(TARGET_COPY_OUT_VENDOR)/lib/firmware/video/h264_enc.bin \ + kernel/amlogic/kernel-modules/media-4.9/firmware/video_ucode.bin:$(TARGET_COPY_OUT_VENDOR)/lib/firmware/video/video_ucode.bin + ## OEM Lock ifneq ($(TARGET_HAS_TEE),false) PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ diff --git a/proprietary-files.txt b/proprietary-files.txt index b8907cb..9dc1af2 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -138,8 +138,6 @@ vendor/usr/keylayout/Vendor_7545_Product_0190.kl # Media (Hardware) vendor/bin/DecInfo_test vendor/bin/esplayer -vendor/lib/firmware/video/h264_enc.bin -vendor/lib/firmware/video/video_ucode.bin vendor/lib/libamavutils.so # Media