summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 14:13:04 +0200
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-20 14:20:46 +0200
commit04f9abedb83abf72aaf417fe378730dd1dd63966 (patch)
tree5743fa71aaee12bbe084a8674230be52d7361476
parent2a2f1278ae24ce00eeca767e5ebc53d616b0a767 (diff)
sdm660-common: Import IR HALs
Change-Id: Iffd8855f0971997792cb9b0d6db818772c339e24
-rwxr-xr-xextract-files.sh1
-rw-r--r--proprietary-files-ir.txt5
-rwxr-xr-xsetup-makefiles.sh4
3 files changed, 10 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index fc794bc..930ad0b 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -92,6 +92,7 @@ if [ -z "${ONLY_TARGET}" ] && [ -z "${ONLY_DEVICE_COMMON}" ]; then
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" ${KANG} --section "${SECTION}"
extract "${MY_DIR}/proprietary-files-fm.txt" "${SRC}" "${KANG}" --section "${SECTION}"
+ extract "${MY_DIR}/proprietary-files-ir.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${ONLY_COMMON}" ] && [ -z "${ONLY_TARGET}" ] && [ -s "${MY_DIR}/../${DEVICE_SPECIFIED_COMMON}/proprietary-files.txt" ];then
diff --git a/proprietary-files-ir.txt b/proprietary-files-ir.txt
new file mode 100644
index 0000000..64bcb17
--- /dev/null
+++ b/proprietary-files-ir.txt
@@ -0,0 +1,5 @@
+# ConsumerIR (lirc) - from jason V12.0.1.0.PCHCNXM
+vendor/lib64/hw/consumerir.default.so:vendor/lib64/hw/consumerir.lirc.sdm660.so|8c614f98e2a42b5ba9e148c01b3d69e7fb59ce1d
+
+# ConsumerIR (spi) - from jasmine V11.0.28.0.QDIMIXM
+vendor/lib64/hw/consumerir.default.so:vendor/lib64/hw/consumerir.spi.sdm660.so|d1f275a91557dfab52e82906986c5094fe078722
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 9845218..8241eb7 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -34,6 +34,10 @@ printf "\n%s\n" "ifeq (\$(BOARD_HAVE_QCOM_FM),true)" >> "${PRODUCTMK}"
write_makefiles "${MY_DIR}/proprietary-files-fm.txt" true
echo "endif" >> "${PRODUCTMK}"
+printf "\n%s\n" "ifeq (\$(BOARD_HAVE_IR),true)" >> "${PRODUCTMK}"
+write_makefiles "${MY_DIR}/proprietary-files-ir.txt" true
+echo "endif" >> "${PRODUCTMK}"
+
# Finish
write_footers