icnss2: Move AON code under a macro

Move AON related code under a macro to make it as config.

Change-Id: I52b35aa8eb06556934250e7347d8d851d29964a6
CRs-Fixed: 3512075
This commit is contained in:
Dundi Raviteja
2023-05-01 22:21:07 +05:30
parent 5eaf0073cc
commit 401152234c
2 changed files with 59 additions and 18 deletions

4
Kbuild
View File

@@ -74,6 +74,10 @@ ifeq ($(CONFIG_CNSS2_ENUM_WITH_LOW_SPEED),y)
KBUILD_CPPFLAGS += -DCONFIG_CNSS2_ENUM_WITH_LOW_SPEED
endif
ifeq ($(CONFIG_SLATE_MODULE_ENABLED), y)
KBUILD_CPPFLAGS += -DSLATE_MODULE_ENABLED
endif
obj-$(CONFIG_CNSS2) += cnss2/
obj-$(CONFIG_ICNSS2) += icnss2/
obj-$(CONFIG_CNSS_GENL) += cnss_genl/