From bd4b00744ce508a9db69e0f23c608362a7150b54 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Mon, 29 May 2023 15:38:42 +0100 Subject: [PATCH] wlan: qcacld-3.0: Fix inline builds Change-Id: Ic885539651b0fd36c05284c443f848fe4a192826 Signed-off-by: chandu078 --- .../wlan/qca-wifi-host-cmn/os_if/linux/wlan_osif_features.h | 2 ++ qcom/opensource/wlan/qcacld-3.0/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qcom/opensource/wlan/qca-wifi-host-cmn/os_if/linux/wlan_osif_features.h b/qcom/opensource/wlan/qca-wifi-host-cmn/os_if/linux/wlan_osif_features.h index cba80749d0..5367366c37 100644 --- a/qcom/opensource/wlan/qca-wifi-host-cmn/os_if/linux/wlan_osif_features.h +++ b/qcom/opensource/wlan/qca-wifi-host-cmn/os_if/linux/wlan_osif_features.h @@ -26,6 +26,8 @@ #ifndef _WLAN_OSIF_FEATURES_H_ #define _WLAN_OSIF_FEATURES_H_ +#define __ANDROID_COMMON_KERNEL__ + #include /* diff --git a/qcom/opensource/wlan/qcacld-3.0/Makefile b/qcom/opensource/wlan/qcacld-3.0/Makefile index 8d41ad47f9..d2d69fb13d 100644 --- a/qcom/opensource/wlan/qcacld-3.0/Makefile +++ b/qcom/opensource/wlan/qcacld-3.0/Makefile @@ -14,7 +14,7 @@ M ?= $(shell pwd) ifeq ($(WLAN_ROOT),) KBUILD_OPTIONS += \ WLAN_ROOT=$(KERNEL_SRC)/$(M) \ - WLAN_PLATFORM_ROOT=vendor/qcom/opensource/wlan/platform \ + WLAN_PLATFORM_ROOT=$(KERNEL_SRC)/$(M)/../platform \ WLAN_COMMON_ROOT=cmn \ WLAN_COMMON_INC=$(KERNEL_SRC)/$(M)/cmn \ WLAN_FW_API=$(KERNEL_SRC)/$(M)/../fw-api \