-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
executable file
·42 lines (31 loc) · 910 Bytes
/
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/y2qdcmw
# Audio
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
# Boot Animation
TARGET_SCREEN_HEIGHT := 3200
TARGET_SCREEN_WIDTH := 1440
# Fingerprint
TARGET_HAS_UDFPS := true
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay
# Ramdisk
PRODUCT_PACKAGES += \
init.y2q.rc
# Sensors
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# WiFi
PRODUCT_PACKAGES += \
WifiOverlay
# Inherit from common
$(call inherit-product, device/samsung/sm8250-common/common.mk)
# Inherit from the proprietary version
$(call inherit-product, vendor/samsung/y2qdcmw/y2qdcmw-vendor.mk)