mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Prop (CR): Store WLAN Unstripped in build archives
Copy qca_cld3_wlan.ko.unstripped to out symbols folder during build time. This will save significant time to fetch the unstripped during Kernel panic analysis by avoiding repo Sync and rebuilding the image on which issue happened. Change-Id: I1fc720560e0f74178Montana0ef604413e5b553dbd2f Reviewed-on: https://gerrit.mot.com/1119046 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Prashanth Chakravarthy <a19110@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1456501 Submit-Approved: Raja Phani K <a16821@motorola.com>
This commit is contained in:
parent
dd78410f07
commit
afb3706a7e
1 changed files with 12 additions and 0 deletions
12
Android.mk
12
Android.mk
|
|
@ -146,6 +146,15 @@ ifneq ($(WLAN_KBUILD_OPTIONS_$(LOCAL_DEV_NAME)),)
|
|||
KBUILD_OPTIONS += "$(WLAN_KBUILD_OPTIONS_$(LOCAL_DEV_NAME))"
|
||||
endif
|
||||
|
||||
##########################################################
|
||||
# Copy the unstrip file to out symbols folders
|
||||
WLAN_SYMBOLS_OUT := $(TARGET_OUT_UNSTRIPPED)/$(LOCAL_PATH)
|
||||
UNSTRIPPED_MODULE := $(WLAN_CHIPSET)_$(LOCAL_DEV_NAME).ko.unstripped
|
||||
UNSTRIPPED_FILE_PATH := $(TARGET_OUT_INTERMEDIATES)/$(LOCAL_PATH)/$(UNSTRIPPED_MODULE)
|
||||
|
||||
INSTALL_WLAN_UNSTRIPPED_MODULE := mkdir -p $(WLAN_SYMBOLS_OUT); \
|
||||
cp -rf $(UNSTRIPPED_FILE_PATH) $(WLAN_SYMBOLS_OUT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := $(WLAN_CHIPSET)_$(LOCAL_DEV_NAME).ko
|
||||
LOCAL_MODULE_KBUILD_NAME := $(LOCAL_MOD_NAME).ko
|
||||
|
|
@ -160,6 +169,9 @@ else
|
|||
LOCAL_MODULE_PATH := $(TARGET_OUT)/lib/modules/$(WLAN_CHIPSET)
|
||||
endif
|
||||
|
||||
# Once unstripped file is generated, copy the same to out symbols folder
|
||||
LOCAL_POST_INSTALL_CMD := $(INSTALL_WLAN_UNSTRIPPED_MODULE)
|
||||
|
||||
include $(DLKM_DIR)/AndroidKernelModule.mk
|
||||
###########################################################
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue