--- /dev/null
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+ifeq ($(TARGET_DEVICE), beast)
+
+LOCAL_PATH := $(call my-dir)
+include $(call all-makefiles-under,$(LOCAL_PATH))
+
+include external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant_conf.mk
+endif
## DTB
TARGET_DTB_NAME := gxl_sei210_2g
+
+## Wi-Fi
+BOARD_WLAN_DEVICE := realtek
+BOARD_WPA_SUPPLICANT_DRIVER := NL80211
+WPA_SUPPLICANT_VERSION := VER_0_8_X
+BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_rtl
+BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_rtl
+WIFI_DRIVER_SOCKET_IFACE := wlan0
+PRODUCT_CFI_INCLUDE_PATHS += hardware/realtek/wlan/wpa_supplicant_8_lib
$(call inherit-product, device/amlogic/gx-common/gx.mk)
+## Bluetooth
+BOARD_HAVE_BLUETOOTH_RTK_TV := true
+include hardware/realtek/rtkbt/rtkbt.mk
+
## Kernel Modules
PRODUCT_PACKAGES += \
8822bs
+## Overlays
+DEVICE_PACKAGE_OVERLAYS += \
+ $(DEVICE_PATH)/overlay
+
## Platform
TARGET_AMLOGIC_SOC := gxl
{
"repository": "android_hardware_amlogic_kernel-modules_rtl8822bs",
"target_path": "hardware/amlogic/kernel-modules/rtl8822bs"
+ },
+ {
+ "repository": "android_hardware_realtek",
+ "target_path": "hardware/realtek"
}
]
--- /dev/null
+<resources>
+ <bool name="profile_supported_opp">false</bool>
+ <bool name="profile_supported_hdp">false</bool>
+ <bool name="profile_supported_hs_hfp">false</bool>
+ <bool name="profile_supported_pbap">false</bool>
+ <bool name="pbap_include_photos_in_vcard">false</bool>
+ <bool name="enable_phone_policy">false</bool>
+</resources>