On 07/20/2015 05:11 PM, Albert Antony wrote:
> The option was not being passed onward, which meant that
> the "strip" parameter passed to install_copy_toolchain_lib
> was getting ignored.
> ---
> scripts/install_copy_toolchain.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/install_copy_toolchain.sh b/scripts/install_copy_toolchain.sh
> index 0cf4d31..0b70c12 100755
> --- a/scripts/install_copy_toolchain.sh
> +++ b/scripts/install_copy_toolchain.sh
> @@ -170,7 +170,7 @@ ptxd_install_toolchain_lib() {
>
> perm="$(stat -c %a "${lib_path}")"
>
> - echo "ptxd_install_shared \"${lib_path}\" \"${prefix}\" 0 0 \"${perm}\"" >> "${STATEDIR}/${packet}.cmds"
> + echo "ptxd_install_shared \"${lib_path}\" \"${prefix}\" 0 0 \"${perm}\" \"${strip}\"" >> "${STATEDIR}/${packet}.cmds"
What difference does it make?
ptxd_install_shared() {
local src="$1"
local dst="$2"
local usr="$3"
local grp="$4"
local mod="$5"
local filename="$(basename "${src}")"
Marc
> fi
> else
> echo "error: found ${lib_path}, but neither file nor link" 2>&1
>
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |