#
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
include vendor/google/sabrina/BoardConfigVendor.mk
-include device/amlogic/g12-common/BoardConfigCommon.mk
-
DEVICE_PATH := device/google/sabrina
## Bluetooth
WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/buildin/fw_bcm4356a2_ag.bin"
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
WPA_SUPPLICANT_VERSION := VER_0_8_X
+
+## Include the common tree BoardConfig makefile
+include device/amlogic/g12-common/BoardConfigCommon.mk
$(call inherit-product, vendor/google/sabrina/sabrina-vendor.mk)
-$(call inherit-product, device/amlogic/g12-common/g12.mk)
-
## Bluetooth
PRODUCT_PACKAGES += \
libbt-vendor
## Wi-Fi
TARGET_DHD_VERSION := bcmdhd.100.10.545.x
+## Wi-Fi Firmware
include hardware/amlogic/kernel-modules/dhd-driver/firmware/firmware.mk
+
+## Inherit from the common tree product makefile
+$(call inherit-product, device/amlogic/g12-common/g12.mk)