diff --git a/core/Makefile b/core/Makefile index 41b9cad01d..7a6ffd907f 100644 --- a/core/Makefile +++ b/core/Makefile @@ -3329,6 +3329,12 @@ ifdef BOARD_USES_SYSTEM_EXTIMAGE ALL_DEFAULT_INSTALLED_MODULES += $(_systemext_symlink) endif +# Create symlink /system/bin/hwservicemanager -> /system/system_ext/bin/hwservicemanager +# Old vendor libraries (like libhidlbase) may require /system/bin/hwservicemanager to be present +$(call symlink-file,$(TARGET_OUT_SYSTEM_EXT)/bin/hwservicemanager,/system/system_ext/bin/hwservicemanager, $(TARGET_OUT)/bin/hwservicemanager) +INTERNAL_SYSTEMIMAGE_FILES += \ + $(TARGET_OUT)/bin/hwservicemanager + # ----------------------------------------------------------------- # system_dlkm partition image