lynx: Add HbmSVManager symlink
Change-Id: Ia8b630e71a3125a11e2aa9d3e731f36493a8de66
This commit is contained in:
parent
e0b7597a81
commit
f2cd271e45
1 changed files with 11 additions and 0 deletions
11
Android.mk
11
Android.mk
|
@ -27,4 +27,15 @@ LOCAL_PATH := $(call my-dir)
|
|||
|
||||
ifneq (,$(filter $(TARGET_DEVICE),lynx))
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
HBM_LIBS := libhbmsvmanager_jni.so
|
||||
HBM_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT)/priv-app/HbmSVManager/lib/arm64/,$(notdir $(HBM_LIBS)))
|
||||
$(HBM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
||||
@echo "HBM lib link: $@"
|
||||
@mkdir -p $(dir $@)
|
||||
@rm -rf $@
|
||||
$(hide) ln -sf /system_ext/lib64/$(notdir $@) $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(HBM_SYMLINKS)
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue