-
Notifications
You must be signed in to change notification settings - Fork 4
/
device.mk
42 lines (32 loc) · 1.18 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
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/samsung/a71
# Inherit Common Device Tree
$(call inherit-product, device/samsung/a71-common/common.mk)
# Audio
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/rootdir/vendor/etc/mixer_paths_idp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_idp.xml \
# Fingerprint
TARGET_HAS_UDFPS := true
# NFC
PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/rootdir/vendor/etc/nfc/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/etc/nfc/libnfc-nxp_RF.conf \
$(DEVICE_PATH)/rootdir/vendor/etc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
$(DEVICE_PATH)/rootdir/vendor/etc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
$(DEVICE_PATH)/rootdir/vendor/etc/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp_RF.conf \
# Overlays
PRODUCT_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay \
# Ramdisk
PRODUCT_PACKAGES += \
init.a71.rc \
# Soong Namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH) \
# Get non-open-source specific aspects
$(call inherit-product, vendor/samsung/a71/a71-vendor.mk)