qcacld-3.0: Correct common project header files path
Under new kernel tree structure, the kernel can be either directly under build_root/kernel or in a subdirectory within it. The WLAN module has a hard coded assumption for the header files path of newly added common project. Hence add the change to correct it based on KERNEL_TO_BUILD_ROOT_OFFSET. Change-Id: Ibe3a61a62cd2b2cea65c5a14f2bf70b998787f54 CRs-fixed: 992940
This commit is contained in:

committed by
Vishwajith Upendra

parent
0eb0b3d600
commit
188f59ac35
@@ -42,9 +42,8 @@ endif # platform-sdk-version
|
|||||||
###########################################################
|
###########################################################
|
||||||
# This is set once per LOCAL_PATH, not per (kernel) module
|
# This is set once per LOCAL_PATH, not per (kernel) module
|
||||||
KBUILD_OPTIONS := WLAN_ROOT=$(KERNEL_TO_BUILD_ROOT_OFFSET)$(WLAN_BLD_DIR)/qcacld-3.0
|
KBUILD_OPTIONS := WLAN_ROOT=$(KERNEL_TO_BUILD_ROOT_OFFSET)$(WLAN_BLD_DIR)/qcacld-3.0
|
||||||
KBUILD_OPTIONS += WLAN_COMMON_ROOT=../../../opensource/wlan/qca-wifi-host-cmn
|
KBUILD_OPTIONS += WLAN_COMMON_ROOT=../qca-wifi-host-cmn
|
||||||
KBUILD_OPTIONS += WLAN_COMMON_INC=../vendor/qcom/opensource/wlan/qca-wifi-host-cmn
|
KBUILD_OPTIONS += WLAN_COMMON_INC=$(KERNEL_TO_BUILD_ROOT_OFFSET)$(WLAN_BLD_DIR)/qca-wifi-host-cmn
|
||||||
|
|
||||||
|
|
||||||
# We are actually building wlan.ko here, as per the
|
# We are actually building wlan.ko here, as per the
|
||||||
# requirement we are specifying <chipset>_wlan.ko as LOCAL_MODULE.
|
# requirement we are specifying <chipset>_wlan.ko as LOCAL_MODULE.
|
||||||
|
Reference in New Issue
Block a user