cnss2: Use external configurations
Add option to select configurations from other places such as yocto recipe. Change-Id: I9ce971f3548d65630642f0b467515090f10f1480
This commit is contained in:

committed by
Madan Koyyalamudi

parent
3c022af5f9
commit
b15f3ce9fe
2
Makefile
2
Makefile
@@ -9,6 +9,7 @@ WLAN_PLATFORM_ROOT = $(shell pwd)
|
|||||||
# so enable all flags (including debug flag CONFIG_CNSS2_DEBUG) by
|
# so enable all flags (including debug flag CONFIG_CNSS2_DEBUG) by
|
||||||
# default.
|
# default.
|
||||||
KBUILD_OPTIONS := WLAN_PLATFORM_ROOT=$(WLAN_PLATFORM_ROOT)
|
KBUILD_OPTIONS := WLAN_PLATFORM_ROOT=$(WLAN_PLATFORM_ROOT)
|
||||||
|
ifeq ($(USE_EXTERNAL_CONFIGS),)
|
||||||
KBUILD_OPTIONS += CONFIG_CNSS_OUT_OF_TREE=y
|
KBUILD_OPTIONS += CONFIG_CNSS_OUT_OF_TREE=y
|
||||||
KBUILD_OPTIONS += CONFIG_CNSS2=m
|
KBUILD_OPTIONS += CONFIG_CNSS2=m
|
||||||
KBUILD_OPTIONS += CONFIG_ICNSS2=m
|
KBUILD_OPTIONS += CONFIG_ICNSS2=m
|
||||||
@@ -22,6 +23,7 @@ KBUILD_OPTIONS += CONFIG_CNSS_GENL=m
|
|||||||
KBUILD_OPTIONS += CONFIG_WCNSS_MEM_PRE_ALLOC=m
|
KBUILD_OPTIONS += CONFIG_WCNSS_MEM_PRE_ALLOC=m
|
||||||
KBUILD_OPTIONS += CONFIG_CNSS_UTILS=m
|
KBUILD_OPTIONS += CONFIG_CNSS_UTILS=m
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
||||||
|
Reference in New Issue
Block a user