2022-09-10 20:14:02 +00:00
|
|
|
# Copyright 2022 Paranoid Android
|
2020-12-02 19:19:46 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-11-16 09:15:18 +00:00
|
|
|
# Current system tag :- LA.QSSI.13.0.r1-07400-qssi.0
|
2022-09-10 20:14:02 +00:00
|
|
|
# Current vendor tag :- LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0
|
2022-01-14 09:36:42 +00:00
|
|
|
|
2020-12-02 19:19:46 +00:00
|
|
|
ifeq ($(TARGET_COMMON_QTI_COMPONENTS), all)
|
|
|
|
TARGET_COMMON_QTI_COMPONENTS := \
|
2022-11-29 06:02:13 +00:00
|
|
|
adreno \
|
2020-12-02 19:19:46 +00:00
|
|
|
audio \
|
|
|
|
av \
|
|
|
|
bt \
|
|
|
|
display \
|
|
|
|
gps \
|
|
|
|
init \
|
2022-11-29 06:02:13 +00:00
|
|
|
media \
|
2020-12-02 19:19:46 +00:00
|
|
|
nq-nfc \
|
|
|
|
overlay \
|
|
|
|
perf \
|
|
|
|
telephony \
|
|
|
|
usb \
|
|
|
|
vibrator \
|
2022-11-29 06:02:13 +00:00
|
|
|
wfd \
|
2020-12-02 19:19:46 +00:00
|
|
|
wlan
|
2021-02-12 07:57:02 +00:00
|
|
|
endif
|
2021-03-31 21:05:13 +00:00
|
|
|
|
2022-11-29 06:02:13 +00:00
|
|
|
# QTI Common Components
|
2022-04-19 04:39:52 +00:00
|
|
|
|
2022-11-29 06:02:13 +00:00
|
|
|
ifneq (,$(filter adreno, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-30 22:46:15 +00:00
|
|
|
ifeq ($(call is-board-platform-in-list,$(5_4_FAMILY) $(5_10_FAMILY)),true)
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/vendor/adreno/qti-adreno.mk
|
2022-11-30 22:46:15 +00:00
|
|
|
else ifeq ($(call is-board-platform-in-list,$(3_18_FAMILY) $(4_4_FAMILY) msm8953),true)
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/adreno-5xx/qti-adreno-5xx.mk
|
|
|
|
else
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/adreno-6xx-legacy/qti-adreno-6xx-legacy.mk
|
2022-11-29 06:02:13 +00:00
|
|
|
endif
|
2022-04-19 04:39:52 +00:00
|
|
|
endif
|
2022-11-29 06:02:13 +00:00
|
|
|
|
|
|
|
ifneq (,$(filter audio, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|
|
|
include $(QCOM_COMMON_PATH)/system/audio/qti-audio.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/audio/qti-audio.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter av, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/av/qti-av.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter bt, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/bt/qti-bt.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/bt/qti-bt.mk
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter display, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|
|
|
include $(QCOM_COMMON_PATH)/system/display/qti-display.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/display/qti-display.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter gps, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/gps/qti-gps.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/gps/qti-gps.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter init, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/vendor/init/qti-init.mk
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter media, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|
|
|
ifeq ($(call is-board-platform-in-list,$(5_4_FAMILY)),true)
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/media/qti-media.mk
|
|
|
|
else
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/media-legacy/qti-media-legacy.mk
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter nq-nfc, $(TARGET_COMMON_QTI_COMPONENTS)))
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/nq-nfc/qti-nq-nfc.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter overlay, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/overlay/qti-overlay.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter perf, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/perf/qti-perf.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/perf/qti-perf.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter telephony, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/telephony/qti-telephony.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/telephony/qti-telephony.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter usb, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/vendor/usb/qti-usb.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter vibrator, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/vendor/vibrator/qti-vibrator.mk
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter wfd, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
ifeq ($(call is-board-platform-in-list,$(3_18_FAMILY) $(4_4_FAMILY) msm8953),true)
|
|
|
|
include $(QCOM_COMMON_PATH)/system/wfd-legacy/qti-wfd-legacy.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/wfd-legacy/qti-wfd-legacy.mk
|
|
|
|
else
|
|
|
|
include $(QCOM_COMMON_PATH)/system/wfd/qti-wfd.mk
|
|
|
|
endif
|
2020-12-02 19:19:46 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter wlan, $(TARGET_COMMON_QTI_COMPONENTS)))
|
2022-11-29 06:02:13 +00:00
|
|
|
include $(QCOM_COMMON_PATH)/system/wlan/qti-wlan.mk
|
|
|
|
include $(QCOM_COMMON_PATH)/vendor/wlan/qti-wlan.mk
|
2021-03-31 21:05:13 +00:00
|
|
|
endif
|