From: Lawrence Mok Date: Tue, 29 Jul 2014 01:09:42 +0000 (-0700) Subject: add --strip-debug on release builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3d6ca095563fa58aaeee3b928aaf6683f0e7e65;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_mali-driver.git add --strip-debug on release builds reduces output .ko size from 3.5MB to 255KB Change-Id: Ic452d79101563aaf0d03b4cb3a975ab84c5b509b --- diff --git a/mali/Kbuild b/mali/Kbuild index e833198..d22bb9e 100755 --- a/mali/Kbuild +++ b/mali/Kbuild @@ -50,6 +50,7 @@ ifeq ($(CONFIG_MALI400_DEBUG),y) BUILD ?= debug else BUILD ?= release + ldflags-y += --strip-debug endif ##################### end Kasin Added. ###################