diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-14 19:28:58 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-14 22:05:13 +0200 |
commit | 74021656e78dc517cc31c07d35261068413b9702 (patch) | |
tree | 08ec1ea596b81c6365b207d6aec9c516774a580f /scripts | |
parent | 8b1b84c09916e788a7022c931578a690273ecd86 (diff) | |
download | ptxdist-74021656e78dc517cc31c07d35261068413b9702.tar.gz ptxdist-74021656e78dc517cc31c07d35261068413b9702.tar.xz |
ptxd_make_xpkg_pkg: remove option to strip with sstrip
I think nobody used it. And it confuses the people.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 3904fe398..d7834b388 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -134,17 +134,14 @@ export -f ptxd_install_dir # $strip: k for kernel modules # y for normal executables and libraries # -# $ptx_use_sstrip: "y" use sstrip, 'n' use binutils strip -# # ptxd_install_file_strip() { local -a strip_cmd - case "${strip:-y}${ptx_use_sstrip:-n}" in - k*) strip_cmd=( "${CROSS_STRIP}" --strip-debug ) ;; - yn) strip_cmd=( "${CROSS_STRIP}" -R .note -R .comment ) ;; - yy) strip_cmd=( sstrip ) ;; - *) ptxd_bailout "${FUNCNAME}: invalid values for strip='${strip}' or ptx_use_sstrip='${ptx_use_sstrip}'" ;; + case "${strip:-y}" in + k) strip_cmd=( "${CROSS_STRIP}" --strip-debug ) ;; + y) strip_cmd=( "${CROSS_STRIP}" -R .note -R .comment ) ;; + *) ptxd_bailout "${FUNCNAME}: invalid value for strip='${strip}'" ;; esac # |