qcacld-3.0: Use dynamic symbolic links for multi-ko support
This reverts Change-Id I7d75bb6a82fd27d8925d53529b4252b782457bc8 ("qcacld-3.0: Use static symbolic links for multi-ko support") along with removing per-chipset symbolic links added after that patch. The original patch was created to allow the qcacld-3.0 driver to conform to the Hermetic Build feature which required that the source directory not be modified during the build process. However, qcacld-3.0 is transitioning to the Bazel DDK, and the presence of the symbolic links is interfering with Bazel. In addition, the Bazel build system won't use these symbolic links. So the support both the legacy build system (in a non-hermetic manner) as well as the Bazel DDK (in a hermetic manner), revert back to dynamically creating the symbolic links. Change-Id: I2b6a0ed19f7f4b3ae31d28e2b4683afd0671f19a CRs-Fixed: 3495618
Этот коммит содержится в:

коммит произвёл
Rahul Choudhary

родитель
38d44269f0
Коммит
6bff3d33e3
@@ -68,7 +68,13 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(LOCAL_MULTI_KO), true)
|
||||
LOCAL_ANDROID_ROOT := $(shell pwd)
|
||||
LOCAL_WLAN_BLD_DIR := $(LOCAL_ANDROID_ROOT)/$(WLAN_BLD_DIR)
|
||||
$(shell find $(LOCAL_WLAN_BLD_DIR)/qcacld-3.0/ -maxdepth 1 \
|
||||
-name '.*' ! -name '.git' -delete {} +)
|
||||
|
||||
$(foreach chip, $(TARGET_WLAN_CHIP), \
|
||||
$(shell ln -sf . $(LOCAL_WLAN_BLD_DIR)/qcacld-3.0/.$(chip)))
|
||||
include $(foreach chip, $(TARGET_WLAN_CHIP), $(LOCAL_PATH)/.$(chip)/Android.mk)
|
||||
|
||||
else # Multi-ok check
|
||||
|
Ссылка в новой задаче
Block a user