common: vendor: Introduce qseecomd-legacy module

* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  qseecomd-legacy module provides qseecomd stack
  for devices on <5.4 kernels. Newer devices use
  DMABuf and are therefore not compatible with
  these blobs.

Change-Id: Ia23e5a797fe1f322bb98f79e324d09e452bcfe85
Signed-off-by: electimon <electimon@gmail.com>
This commit is contained in:
electimon 2023-02-23 09:10:45 +08:00
parent 848c5d4808
commit cfdbb08e0e
4 changed files with 118 additions and 0 deletions

31
vendor/qseecomd-legacy/extract-files.sh vendored Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
return
fi
set -e
# Required!
export COMPONENT=qseecomd-legacy
export VENDOR=qcom/common/vendor
"../extract-files.sh" "$@"

View File

@ -0,0 +1,43 @@
# QSEEComD
vendor/bin/qseecomd
vendor/etc/init/qseecomd.rc
vendor/lib/libGPQTEEC_vendor.so
vendor/lib/libGPTEE_vendor.so
vendor/lib/libGPreqcancel.so
vendor/lib/libGPreqcancel_svc.so
vendor/lib/libQSEEComAPI.so
vendor/lib/libQTEEConnector_vendor.so
vendor/lib/libbase64.so
vendor/lib/libcpion.so
vendor/lib/libcppf.so
vendor/lib/libdiag.so
vendor/lib/libdrmfs.so
vendor/lib/libdrmtime.so
vendor/lib/libminkdescriptor.so
vendor/lib/libminksocket.so
vendor/lib/libops.so
vendor/lib/libqisl.so
vendor/lib/librpmb.so
vendor/lib/libssd.so
vendor/lib/libtzdrmgenprov.so
vendor/lib/vendor.qti.hardware.qteeconnector@1.0.so
vendor/lib64/libGPQTEEC_vendor.so
vendor/lib64/libGPTEE_vendor.so
vendor/lib64/libGPreqcancel.so
vendor/lib64/libGPreqcancel_svc.so
vendor/lib64/libQSEEComAPI.so
vendor/lib64/libQTEEConnector_vendor.so
vendor/lib64/libbase64.so
vendor/lib64/libcpion.so
vendor/lib64/libdiag.so
vendor/lib64/libdrmfs.so
vendor/lib64/libdrmtime.so
vendor/lib64/libminkdescriptor.so
vendor/lib64/libminksocket.so
vendor/lib64/libops.so
vendor/lib64/libqisl.so
vendor/lib64/librpmb.so
vendor/lib64/libssd.so
vendor/lib64/libtrustedapploader.so
vendor/lib64/libtzdrmgenprov.so
vendor/lib64/vendor.qti.hardware.qteeconnector@1.0.so

View File

@ -0,0 +1,19 @@
# Copyright (C) 2021 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PRODUCT_PACKAGES += \
libdrm.vendor
# Get non-open-source specific aspects.
$(call inherit-product-if-exists, vendor/qcom/common/vendor/qseecomd-legacy/qseecomd-legacy-vendor.mk)

25
vendor/qseecomd-legacy/setup-makefiles.sh vendored Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 The LineageOS Project
# Copyright (C) 2020 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
# Required!
export COMPONENT=qseecomd-legacy
export VENDOR=qcom/common/vendor
"../setup-makefiles.sh" "$@"