Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain: mklibs

Buildroot andersen at uclibc.org 1 participant 1 message Aug 2, 2006

lore
Share & tools
lore
#0 lore raw

Author: andersen
Date: 2006-08-02 14:19:09 -0700 (Wed, 02 Aug 2006) New Revision: 15764

Log:
Add support for mklibs (strips unused syms from shared libs such as uClibc) based on a patch from akvadrako, and using a version of mklibs.py that was massively hacked up by andersee and mjn3 for uClibc support.

Added:
trunk/buildroot/toolchain/mklibs/
trunk/buildroot/toolchain/mklibs/Config.in
trunk/buildroot/toolchain/mklibs/mklibs.mk
trunk/buildroot/toolchain/mklibs/mklibs.py

Modified:
trunk/buildroot/toolchain/Config.in

Changeset:
Modified: trunk/buildroot/toolchain/Config.in
===================================================================

buildroot/toolchain/Config.in +1 -0
@@ -10,6 +10,7 @@
 source "toolchain/ccache/Config.in"
 source "toolchain/gdb/Config.in"
 source "toolchain/elf2flt/Config.in"
+source "toolchain/mklibs/Config.in"
 
 comment "Common Toolchain Options"
 

Added: trunk/buildroot/toolchain/mklibs/Config.in
===================================================================

buildroot/toolchain/mklibs/Config.in +6 -0
@@ -0,0 +1,6 @@
+config BR2_MKLIBS
+	bool "Run mklibs on the built root filesystem"
+	default n
+	help
+	  Recompiles all the shared libraries to only include the
+	  symbols actually needed to run the binaries on the target

Added: trunk/buildroot/toolchain/mklibs/mklibs.mk
===================================================================

buildroot/toolchain/mklibs/mklibs.mk +49 -0

49 lines not on this page · raw message

Added: trunk/buildroot/toolchain/mklibs/mklibs.py
===================================================================

buildroot/toolchain/mklibs/mklibs.py +597 -0

597 lines not on this page · raw message