From eb604dd9c7a2facc8c927e527e5390631b7d8135 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Wed, 8 Jun 2022 22:35:35 -0400 Subject: [PATCH] wade: Inherit common tree after device vars are set * Allows several variables to be read in common tree. Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63 --- BoardConfig.mk | 7 ++++--- device.mk | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 7cc57f9..cb48d22 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -1,13 +1,11 @@ # -# 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 @@ -35,3 +33,6 @@ WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/buildin/fw_fw_bcm4356a2_ag_apsta.bin 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 diff --git a/device.mk b/device.mk index 8b2208c..de19050 100644 --- a/device.mk +++ b/device.mk @@ -6,8 +6,6 @@ $(call inherit-product, vendor/askey/wade/wade-vendor.mk) -$(call inherit-product, device/amlogic/g12-common/g12.mk) - ## Bluetooth PRODUCT_PACKAGES += \ libbt-vendor @@ -24,4 +22,8 @@ PRODUCT_PACKAGES += \ 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) -- 2.20.1