-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBoardConfigCommon.mk
48 lines (39 loc) · 1.13 KB
/
BoardConfigCommon.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
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
COMMON_PATH := device/linux/mainline-common
# Bootloader
TARGET_NO_BOOTLOADER := true
# Graphics
TARGET_USES_VULKAN := true
# Platform
TARGET_BOARD_PLATFORM := mainline
BOARD_USES_MAINLINE_HARDWARE := true
# Properties
TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor.prop
ifeq ($(TARGET_DISPLAY_ENABLE_DRM),true)
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor_drm.prop
endif
ifeq ($(TARGET_DISPLAY_ENABLE_MESA),true)
TARGET_VENDOR_PROP += $(COMMON_PATH)/vendor_mesa.prop
endif
# Recovery
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
# SEPolicy
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
# VINTF
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
ifeq ($(TARGET_DISPLAY_ENABLE_DRM),true)
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_drm.xml
else
DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest_fb.xml
endif
# Wi-Fi
WPA_SUPPLICANT_VERSION := VER_0_8_X
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_HOSTAPD_DRIVER := NL80211