#
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
include vendor/askey/wade/BoardConfigVendor.mk
-include device/amlogic/g12-common/BoardConfigCommon.mk
-
DEVICE_PATH := device/askey/wade
## 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/askey/wade/wade-vendor.mk)
-$(call inherit-product, device/amlogic/g12-common/g12.mk)
-
## Bluetooth
PRODUCT_PACKAGES += \
libbt-vendor
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
+## 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)