summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-09-28 11:37:36 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-09-30 17:40:14 +0200
commite14f9380f014102be2e2f18b4a6204496e9c3a88 (patch)
treecb95455174d84b4c6cf8738c2a1aea78de859c34 /scripts/lib
parentee79c1930e5c54b9523db3e561904185d5aeec6b (diff)
downloadptxdist-e14f9380f014102be2e2f18b4a6204496e9c3a88.tar.gz
ptxdist-e14f9380f014102be2e2f18b4a6204496e9c3a88.tar.xz
ptxd_install_file_extract_debug: adapt to binutils typo fix
From binutils commitdiff: https://sourceware.org/git/?p=binutils.git;a=commitdiff;h=45c8411440ad1fac721a9236f2fdff47792dcf1b elf.c was changed 2012-07-01. - (_("%B: unable to initialize commpress status for section %s"), + (_("%B: unable to initialize compress status for section %s"), Thus the subsequent test in ptxd_install_file_extract_debug() fails to detect this condition for newer binutils. Based on a patch from Christian Melki <christian.melki@t2data.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/ptxd_make_xpkg_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh
index ae4c12f46..5ba404e41 100644
--- a/scripts/lib/ptxd_make_xpkg_pkg.sh
+++ b/scripts/lib/ptxd_make_xpkg_pkg.sh
@@ -228,7 +228,7 @@ ptxd_install_file_extract_debug() {
# this can fail if objcopy does not support compressing debug sections or
# is compiled without zlib support
"${CROSS_OBJCOPY}" ${ptxd_install_file_objcopy_args} "${dir}${dst}" "${dbg}" |&
- grep -q "\(unrecognized option\|unable to initialize commpress status\)"
+ grep -q "\(unrecognized option\|unable to initialize com*press status\)"
local -a status=( "${PIPESTATUS[@]}" )
if [ ${status[0]} -ne 0 ]; then
if [ ${status[1]} -eq 0 ]; then