-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
49 lines (38 loc) · 1.41 KB
/
device.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
#
# Copyright (C) 2021-2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
## Bluetooth
PRODUCT_PACKAGES += \
WadeBluetoothOverlay \
libbt-vendor
## Bluetooth firmware
include kernel/amlogic/kernel-modules/dhd-driver/firmware/bluetooth/bluetooth.mk
## GMS
ifeq ($(WITH_GMS),true)
GMS_MAKEFILE=gms_minimal.mk
endif
## Init-Files
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc \
$(LOCAL_PATH)/init-files/init.amlogic.target.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.target.rc \
## IR
PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
## Keylayout (IR)
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl
## Netflix
PRODUCT_PACKAGES += \
NetflixConfig \
WadeNetflixConfigOverlay
## Wi-Fi firmware
include kernel/amlogic/kernel-modules/dhd-driver/firmware/wifi/wifi.mk
## Inherit from the common tree product makefile
$(call inherit-product, device/amlogic/g12-common/g12.mk)
## Inherit from the proprietary files makefile
$(call inherit-product, vendor/askey/wade/wade-vendor.mk)