sm7325-common: Convert aw882xx firmware symlink to install_symlink target

Change-Id: I1ed840d33d09e717bdc00675212fe508021dcc1c
This commit is contained in:
Michael Bestas 2024-06-24 00:14:42 +03:00 committed by Andrew Hexen
parent a922fd8311
commit 48e9f7fb7a
No known key found for this signature in database
GPG Key ID: 8A690B4B0CD461A2
3 changed files with 8 additions and 9 deletions

View File

@ -19,3 +19,10 @@ install_symlink {
installed_location: "rfs/msm/mpss/readonly/vendor/fsg",
symlink_target: "/vendor/fsg",
}
install_symlink {
name: "firmware_aw_cali.bin_symlink",
vendor: true,
installed_location: "firmware/aw_cali.bin",
symlink_target: "/mnt/vendor/persist/factory/audio/aw_cali.bin",
}

View File

@ -48,15 +48,6 @@ $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(WIFI_FIRMWARE_SYMLINKS)
AW882XX_CAL_SYMLINKS := $(TARGET_OUT_VENDOR)/firmware/aw_cali.bin
$(AW882XX_CAL_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating aw882xx firmware symlinks: $@"
@rm -rf $@
@mkdir -p $(dir $@)
$(hide) ln -sf /mnt/vendor/persist/factory/audio/aw_cali.bin $@
ALL_DEFAULT_INSTALLED_MODULES += $(AW882XX_CAL_SYMLINKS)
EXPAT_SYMLINKS := $(TARGET_OUT_VENDOR_EXECUTABLES)/expat
$(EXPAT_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Expat bin link: $@"

View File

@ -103,6 +103,7 @@ PRODUCT_PACKAGES += \
audio.primary.lahaina \
audio.r_submix.default \
audio.usb.default \
firmware_aw_cali.bin_symlink \
libaudiopreprocessing \
libbundlewrapper \
libdownmix \