sm6225-common: Convert expat symlink to install_symlink target
Change-Id: I4cf144e660d44bd0f28e5b94d9995ddd4c08b38c
This commit is contained in:
parent
46e1aae879
commit
2efe1428fa
3 changed files with 11 additions and 9 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -294,6 +294,10 @@ PRODUCT_PACKAGES += \
|
|||
com.android.nfc_extras \
|
||||
Tag
|
||||
|
||||
# OEM
|
||||
PRODUCT_PACKAGES += \
|
||||
bin_expat_symlink
|
||||
|
||||
# Overlay
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay \
|
||||
|
|
Loading…
Reference in a new issue