summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorVictor Hsu <hsuvictor@google.com>2021-11-10 20:57:10 +0800
committerVictor Hsu <hsuvictor@google.com>2021-12-13 13:37:29 +0800
commit5cfb486d3f2b5f46683495ae82c1060da8118be4 (patch)
tree171b6f08e1a88ab4d60fae4b03f9c1e9128fae10 /Kbuild
parentc972edc5cac0526943caaa390ddd0faf2ecb18db (diff)
downloadcnss2-5cfb486d3f2b5f46683495ae82c1060da8118be4.tar.gz
wcn6740: Change the include path to out-of-kernel tree
Change the include path to make sure to include the correct header files in out-of-kernel tree. Bug: 203725513 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: Iaff00aca3b1e3faa77ffb54bf7eb59b6ca296c58
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/Kbuild b/Kbuild
index 228cda0..b7decd3 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1,6 +1,6 @@
-# ifeq ($(CONFIG_CNSS_OUT_OF_TREE),y)
+ifeq ($(CONFIG_CNSS_OUT_OF_TREE),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS_OUT_OF_TREE
-# endif
+endif
ifeq ($(CONFIG_CNSS2_DEBUG),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS2_DEBUG
@@ -40,3 +40,5 @@ obj-$(CONFIG_QCOM_QMI_HELPERS) += qmi/
KBUILD_CPPFLAGS += -DCONFIG_QRTR_NODE_ID=$(CONFIG_QRTR_NODE_ID)
KBUILD_CPPFLAGS += -DCONFIG_QRTR_WAKEUP_MS=$(CONFIG_QRTR_WAKEUP_MS)
obj-$(CONFIG_QRTR) += qrtr/
+
+KBUILD_CPPFLAGS += -I$(WLAN_PLATFORM_ROOT)/inc