mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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
This commit is contained in:
parent
4b136b1ca9
commit
efd0269fde
1 changed files with 3 additions and 3 deletions
6
Kbuild
6
Kbuild
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue