mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Add an option to pass build options
Top layer makefile can pass chip specific build options incase of unified driver build. Change-Id: I76a9830e56cfefdb3c99ac05fe43071cf5ebccab CRs-Fixed: 2724605
This commit is contained in:
parent
24f9cd5b9f
commit
9cc4111452
1 changed files with 9 additions and 0 deletions
|
|
@ -130,6 +130,15 @@ ifneq ($(WLAN_CFG_OVERRIDE_$(LOCAL_DEV_NAME)),)
|
|||
KBUILD_OPTIONS += WLAN_CFG_OVERRIDE="$(WLAN_CFG_OVERRIDE_$(LOCAL_DEV_NAME))"
|
||||
endif
|
||||
|
||||
# Pass build options per chip to Kbuild. This will be injected from upper layer
|
||||
# makefile.
|
||||
#
|
||||
# e.g.
|
||||
# WLAN_KBUILD_OPTIONS_qca6390 := CONFIG_CNSS_QCA6390=y
|
||||
ifneq ($(WLAN_KBUILD_OPTIONS_$(LOCAL_DEV_NAME)),)
|
||||
KBUILD_OPTIONS += "$(WLAN_KBUILD_OPTIONS_$(LOCAL_DEV_NAME))"
|
||||
endif
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := $(WLAN_CHIPSET)_$(LOCAL_DEV_NAME).ko
|
||||
LOCAL_MODULE_KBUILD_NAME := $(LOCAL_MOD_NAME).ko
|
||||
|
|
|
|||
Loading…
Reference in a new issue