function strip_bins
Main purpose
- Strip any ELF binaries, static libraries or dynamically linked
ELF libraries
Notes
By default this function will strip all the libs and binaries in the
PKG_DIR if they haven't already been stripped. Strip options can be
controlled by using the BIN_STRIP_COMMAND and LIB_STRIP_COMMAND
variables. You can also disable stripping of binaries and/or libraries
by using STRIP_BINS=NO and/or STRIP_LIBS=NO. This is only occassionally
needed and the default strip commands seem to work for most cases.
An advanced package creation routine is also called by strip_bins which
will compress the binaries in the PKG_DIR using the upx program, if
present on your system. COMPRESS_BINS=YES calls this routine. This is
not recommended for normal users or systems -only use this if you know
what you are doing.