qcacld-3.0: Make absolute path to relative

Make include paths relative to kernel build directory. This will fix
the following error due to long absolute path in include directories,

	make[2]: execvp: /bin/sh: Argument list too long
	make[2]: *** [path/to/object/file] Error 127

Change-Id: Ic930384f38f2166e6bede8d16ac37b359dd48a0d
CRs-Fixed: 2661829
Cette révision appartient à :
Mahesh Kumar Kalikot Veetil
2020-04-07 11:42:41 -07:00
révisé par nshrivas
Parent 4b136b1ca9
révision efd0269fde

6
Kbuild
Voir le fichier

@@ -25,9 +25,9 @@ CONFIG_QCA_CLD_WLAN_PROFILE ?= $(WLAN_PROFILE)
ifeq ($(KERNEL_BUILD), n)
ifneq ($(ANDROID_BUILD_TOP),)
override WLAN_ROOT := $(ANDROID_BUILD_TOP)/$(WLAN_ROOT)
override WLAN_COMMON_INC := $(ANDROID_BUILD_TOP)/$(WLAN_COMMON_INC)
override WLAN_FW_API := $(ANDROID_BUILD_TOP)/$(WLAN_FW_API)
override WLAN_ROOT := $(shell realpath --relative-to $(CURDIR) $(ANDROID_BUILD_TOP)/$(WLAN_ROOT))
override WLAN_COMMON_INC := $(shell realpath --relative-to $(CURDIR) $(ANDROID_BUILD_TOP)/$(WLAN_COMMON_INC))
override WLAN_FW_API := $(shell realpath --relative-to $(CURDIR) $(ANDROID_BUILD_TOP)/$(WLAN_FW_API))
endif
endif