land: Update IMS symlinks & symlink FP firmwares
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
parent
e77b1996a8
commit
37e5bcbec1
1 changed files with 28 additions and 4 deletions
32
Android.mk
32
Android.mk
|
@ -61,19 +61,43 @@ $(LOCAL_BUILT_MODULE):
|
||||||
$(hide) ln -sf $(ACTUAL_DAT_FILE) $(WCNSS_DAT_SYMLINK)
|
$(hide) ln -sf $(ACTUAL_DAT_FILE) $(WCNSS_DAT_SYMLINK)
|
||||||
$(hide) touch $@
|
$(hide) touch $@
|
||||||
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
||||||
|
|
||||||
IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
|
IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
|
||||||
|
|
||||||
IMS_SYMLINKS := $(addprefix $(TARGET_OUT)/app/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
|
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR_APPS)/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
|
||||||
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||||
@echo "IMS lib link: $@"
|
@echo "IMS lib link: $@"
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@rm -rf $@
|
@rm -rf $@
|
||||||
$(hide) ln -sf /system/vendor/lib64/$(notdir $@) $@
|
$(hide) ln -sf /system/lib64/$(notdir $@) $@
|
||||||
|
|
||||||
ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)
|
ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)
|
||||||
|
|
||||||
|
GOODIX_IMAGES := \
|
||||||
|
goodixfp.b00 goodixfp.b01 goodixfp.b02 goodixfp.b03 \
|
||||||
|
goodixfp.b04 goodixfp.b05 goodixfp.b06 goodixfp.mdt
|
||||||
|
|
||||||
|
GOODIX_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(GOODIX_IMAGES)))
|
||||||
|
$(GOODIX_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||||
|
@echo "Goodix firmware link: $@"
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
|
@rm -rf $@
|
||||||
|
$(hide) ln -sf /firmware/image/$(notdir $@) $@
|
||||||
|
|
||||||
|
ALL_DEFAULT_INSTALLED_MODULES += $(GOODIX_SYMLINKS)
|
||||||
|
|
||||||
|
FPC_IMAGES := \
|
||||||
|
fpctzapp.b00 fpctzapp.b01 fpctzapp.b02 fpctzapp.b03 \
|
||||||
|
fpctzapp.b04 fpctzapp.b05 fpctzapp.b06 fpctzapp.mdt
|
||||||
|
|
||||||
|
FPC_SYMLINKS := $(addprefix $(TARGET_OUT_ETC)/firmware/,$(notdir $(FPC_IMAGES)))
|
||||||
|
$(FPC_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||||
|
@echo "Fpc firmware link: $@"
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
|
@rm -rf $@
|
||||||
|
$(hide) ln -sf /firmware/image/$(notdir $@) $@
|
||||||
|
|
||||||
|
ALL_DEFAULT_INSTALLED_MODULES += $(FPC_SYMLINKS)
|
||||||
|
|
||||||
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT)/rfs/msm/adsp/
|
RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT)/rfs/msm/adsp/
|
||||||
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||||
@echo "Creating RFS MSM ADSP folder structure: $@"
|
@echo "Creating RFS MSM ADSP folder structure: $@"
|
||||||
|
|
Loading…
Reference in a new issue