From d3d8da216efe2ab793b6ac0384967161a8af9733 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 23 Jun 2024 22:51:54 +0300 Subject: [PATCH] sm6375-common: Create rfs fsg symlink Change-Id: Id337670d40aeb598e4b2507bd94d4885344c675c --- Android.bp | 19 +++++++++++++++++++ Android.mk | 2 +- common.mk | 10 +++++++++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Android.bp b/Android.bp index 5908f71..d688382 100644 --- a/Android.bp +++ b/Android.bp @@ -1,6 +1,25 @@ +// +// Copyright (C) 2022-2024 The LineageOS Project +// SPDX-License-Identifier: Apache-2.0 +// + soong_namespace { imports: [ "hardware/google/interfaces", "hardware/google/pixel" ], } + +install_symlink { + name: "rfs_mdm_mpss_readonly_vendor_fsg_symlink", + vendor: true, + installed_location: "rfs/mdm/mpss/readonly/vendor/fsg", + symlink_target: "/vendor/fsg", +} + +install_symlink { + name: "rfs_msm_mpss_readonly_vendor_fsg_symlink", + vendor: true, + installed_location: "rfs/msm/mpss/readonly/vendor/fsg", + symlink_target: "/vendor/fsg", +} diff --git a/Android.mk b/Android.mk index 077ecd3..0a41925 100644 --- a/Android.mk +++ b/Android.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2022-2023 The LineageOS Project +# Copyright (C) 2022-2024 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # diff --git a/common.mk b/common.mk index 57238c6..7a3b7d0 100644 --- a/common.mk +++ b/common.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2022 The LineageOS Project +# Copyright (C) 2022-2024 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -301,6 +301,14 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.renderscript@1.0-impl +# RFS MDM MPSS symlinks +PRODUCT_PACKAGES += \ + rfs_mdm_mpss_readonly_vendor_fsg_symlink + +# RFS MSM MPSS symlinks +PRODUCT_PACKAGES += \ + rfs_msm_mpss_readonly_vendor_fsg_symlink + # Sensors PRODUCT_PACKAGES += \ android.hardware.sensors@2.0-service.multihal