* Allows several variables to be read in common tree.
Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63
#
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
-include device/amlogic/g12-common/BoardConfigCommon.mk
-
DEVICE_PATH := device/radxa/radxa0
## 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
# SPDX-License-Identifier: Apache-2.0
#
-$(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)