sm6225-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
parent a5093a707d
commit 46e1aae879
No known key found for this signature in database
GPG key ID: CC95044519BE6669
3 changed files with 8 additions and 9 deletions

View file

@ -6,6 +6,13 @@
soong_namespace {
}
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",
}
install_symlink {
name: "rfs_msm_mpss_readonly_vendor_fsg_symlink",
vendor: true,

View file

@ -51,13 +51,4 @@ $(EXPAT_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(EXPAT_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)
endif

View file

@ -66,6 +66,7 @@ PRODUCT_PACKAGES += \
android.hardware.soundtrigger@2.3-impl
PRODUCT_PACKAGES += \
firmware_aw_cali.bin_symlink \
liba2dpoffload \
libbatterylistener \
libcomprcapture \