mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Albert Antony <albert@newtec.dk>
To: ptxdist@pengutronix.de
Cc: Albert Antony <albert@newtec.dk>
Subject: [ptxdist] [PATCH] ptxd_install_toolchain_lib: fix "strip" option handling
Date: Mon, 20 Jul 2015 17:11:36 +0200	[thread overview]
Message-ID: <1437405096-13826-1-git-send-email-albert@newtec.dk> (raw)

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"
 	    fi
 	else
 	    echo "error: found ${lib_path}, but neither file nor link" 2>&1
-- 
2.0.0


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2015-07-20 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 15:11 Albert Antony [this message]
2015-07-20 15:18 ` Marc Kleine-Budde
2015-07-21 10:06   ` Albert Antony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1437405096-13826-1-git-send-email-albert@newtec.dk \
    --to=albert@newtec.dk \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox