From d3d6ca095563fa58aaeee3b928aaf6683f0e7e65 Mon Sep 17 00:00:00 2001 From: Lawrence Mok Date: Mon, 28 Jul 2014 18:09:42 -0700 Subject: [PATCH] add --strip-debug on release builds reduces output .ko size from 3.5MB to 255KB Change-Id: Ic452d79101563aaf0d03b4cb3a975ab84c5b509b --- mali/Kbuild | 1 + 1 file changed, 1 insertion(+) 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. ################### -- 2.20.1