projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_mali-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f18c9d
)
add --strip-debug on release builds
author
Lawrence Mok
<lawrence.mok@amlogic.com>
Tue, 29 Jul 2014 01:09:42 +0000
(18:09 -0700)
committer
Lawrence Mok
<lawrence.mok@amlogic.com>
Wed, 30 Jul 2014 22:28:41 +0000
(15:28 -0700)
reduces output .ko size from 3.5MB to 255KB
Change-Id: Ic452d79101563aaf0d03b4cb3a975ab84c5b509b
mali/Kbuild
patch
|
blob
|
blame
|
history
diff --git
a/mali/Kbuild
b/mali/Kbuild
index e8331982b85358e368a74eff8b9ecffc2665c4d4..d22bb9e989b331a4aaa7d33cfd666dc1d79fb92a 100755
(executable)
--- 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. ###################