sm6225-common: Convert expat symlink to install_symlink target

Change-Id: I4cf144e660d44bd0f28e5b94d9995ddd4c08b38c
This commit is contained in:
Michael Bestas 2024-06-24 00:54:19 +03:00
parent 46e1aae879
commit 2efe1428fa
No known key found for this signature in database
GPG key ID: CC95044519BE6669
3 changed files with 11 additions and 9 deletions

View file

@ -6,6 +6,13 @@
soong_namespace {
}
install_symlink {
name: "bin_expat_symlink",
vendor: true,
installed_location: "bin/expat",
symlink_target: "motobox",
}
install_symlink {
name: "firmware_aw_cali.bin_symlink",
vendor: true,

View file

@ -42,13 +42,4 @@ $(WIFI_FIRMWARE_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(WIFI_FIRMWARE_SYMLINKS)
EXPAT_SYMLINKS := $(TARGET_OUT_VENDOR_EXECUTABLES)/expat
$(EXPAT_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Expat bin link: $@"
@rm -rf $@
@mkdir -p $(dir $@)
$(hide) ln -sf motobox $@
ALL_DEFAULT_INSTALLED_MODULES += $(EXPAT_SYMLINKS)
endif

View file

@ -294,6 +294,10 @@ PRODUCT_PACKAGES += \
com.android.nfc_extras \
Tag
# OEM
PRODUCT_PACKAGES += \
bin_expat_symlink
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \