mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
build: strip debug symbols from installed kernel modules
Debug symbols in installed kernel modules consume space in the target filesystem, so strip them. Modules with debug symbols should be present in the KERNEL_OBJ location for debug purposes. (cherry picked from commit bb77a75767f5dbb7327ab05f4ec4462b6ad62b10) CRs-fixed: 400053 Signed-off-by: Nagender Telkar <ntelkar@codeaurora.org> Change-Id: I4353e3733455e01cbe97c023d36b9bd3b7b8adf2 Signed-off-by: Neha Pandey <nehap@codeaurora.org>
This commit is contained in:
parent
26f9e0e9d1
commit
04fa9b8a93
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ $(KERNEL_OUT)/piggy : $(TARGET_PREBUILT_INT_KERNEL)
|
||||||
$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_OUT) $(KERNEL_CONFIG) $(KERNEL_HEADERS_INSTALL)
|
$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_OUT) $(KERNEL_CONFIG) $(KERNEL_HEADERS_INSTALL)
|
||||||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi-
|
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi-
|
||||||
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- modules
|
$(MAKE) -C kernel O=../$(KERNEL_OUT) ARCH=arm CROSS_COMPILE=arm-eabi- modules
|
||||||
$(MAKE) -C kernel O=../$(KERNEL_OUT) INSTALL_MOD_PATH=../../$(KERNEL_MODULES_INSTALL) ARCH=arm CROSS_COMPILE=arm-eabi- modules_install
|
$(MAKE) -C kernel O=../$(KERNEL_OUT) INSTALL_MOD_PATH=../../$(KERNEL_MODULES_INSTALL) INSTALL_MOD_STRIP=1 ARCH=arm CROSS_COMPILE=arm-eabi- modules_install
|
||||||
$(mv-modules)
|
$(mv-modules)
|
||||||
$(clean-module-folder)
|
$(clean-module-folder)
|
||||||
$(append-dtb)
|
$(append-dtb)
|
||||||
|
|
Loading…
Reference in a new issue