forked from rock64-android/vendor-rockchip-common
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice-vendor.mk
executable file
·117 lines (93 loc) · 3.74 KB
/
device-vendor.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#
# Copyright 2014 The Android Open-Source Project
#
# 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.
#
ifeq ($(PRODUCT_HAVE_RKAPPS), true)
$(call inherit-product-if-exists, vendor/rockchip/common/apps/apps.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), PVR540)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/PVR540.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali400)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/Mali400.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali450)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/Mali450.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali-t760)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/MaliT760.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali-t720)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/MaliT720.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), mali-t860)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/MaliT860.mk)
endif
ifeq ($(strip $(TARGET_BOARD_PLATFORM_GPU)), G6110)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/G6110.mk)
endif
ifeq ($(PRODUCT_HAVE_IPP), true)
$(call inherit-product-if-exists, vendor/rockchip/common/ipp/ipp.mk)
endif
ifeq ($(PRODUCT_HAVE_RKVPU), true)
$(call inherit-product-if-exists, vendor/rockchip/common/vpu/vpu.mk)
endif
ifeq ($(PRODUCT_HAVE_NAND), true)
$(call inherit-product-if-exists, vendor/rockchip/common/nand/nand.mk)
endif
ifeq ($(PRODUCT_HAVE_RKWIFI), true)
$(call inherit-product-if-exists, vendor/rockchip/common/wifi/wifi.mk)
endif
ifeq ($(PRODUCT_HAVE_RFTESTTOOL), true)
$(call inherit-product-if-exists, vendor/rockchip/common/rftesttool/rftesttool.mk)
endif
ifeq ($(PRODUCT_HAVE_RKTOOLS), true)
$(call inherit-product-if-exists, vendor/rockchip/common/bin/bin.mk)
endif
ifeq ($(PRODUCT_HAVE_WEBKIT_DEBUG), true)
$(call inherit-product-if-exists, vendor/rockchip/common/webkit/webkit.mk)
endif
ifeq ($(strip $(BOARD_HAVE_BLUETOOTH)),true)
$(call inherit-product-if-exists, vendor/rockchip/common/bluetooth/bluetooth.mk)
endif
ifeq ($(PRODUCT_HAVE_GPS), true)
$(call inherit-product-if-exists, vendor/rockchip/common/gps/gps.mk)
endif
ifeq ($(PRODUCT_HAVE_ADBLOCK), true)
$(call inherit-product-if-exists, vendor/rockchip/common/etc/adblock.mk)
endif
# uncomment the line bellow to enable phone functions
ifeq ($(PRODUCT_HAVE_RKPHONE_FEATURES), true)
$(call inherit-product-if-exists, vendor/rockchip/common/phone/phone.mk)
endif
ifeq ($(PRODUCT_HAVE_RKEBOOK)),true)
$(call inherit-product-if-exists, vendor/rockchip/common/app/rkbook.mk)
endif
# for data clone
ifeq ($(PRODUCT_HAVE_DATACLONE)),true)
$(call inherit-product-if-exists, vendor/rockchip/common/data_clone/packdata.mk)
endif
#for HDMI HDCP2
ifeq ($(PRODUCT_HAVE_HDMIHDCP2), true)
$(call inherit-product-if-exists, vendor/rockchip/common/hdcp2/hdcp2.mk)
endif
# OP-TEE
ifeq ($(PRODUCT_HAVE_OPTEE),true)
$(call inherit-product-if-exists, vendor/rockchip/common/security/optee/optee.mk)
endif
ifeq ($(PRODUCT_HAVE_PLUGINSVC),true)
$(call inherit-product-if-exists, vendor/rockchip/common/pluginsvc/pluginsvc.mk)
endif
$(call inherit-product-if-exists, vendor/rockchip/common/pppoe/pppoe.mk)
$(call inherit-product-if-exists, vendor/rockchip/common/gpu/gpu_performance/face_detection.mk)