diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-03 11:17:23 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-03 15:15:02 +0200 |
commit | 14316f794ea37e8790edb0ae2626dc1eebaf9ea8 (patch) | |
tree | 96a3e1d75388d976657e23b038cd92c20e42af0b /scripts/lib | |
parent | 274880124cc9db6d11e88f68e50b2ea17aef9d92 (diff) | |
download | ptxdist-14316f794ea37e8790edb0ae2626dc1eebaf9ea8.tar.gz ptxdist-14316f794ea37e8790edb0ae2626dc1eebaf9ea8.tar.xz |
ptxd_make_xpkg_pkg: rename debug files
Keeping the name of the original file can confuse tools that search for
files named e.g. '*.so'.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 2 |
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 c6da5ceca..05092c6c1 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -221,7 +221,7 @@ export ptxd_install_file_objcopy_args="--only-keep-debug --compress-debug-sectio ptxd_install_file_extract_debug() { local dir="${1}" local dst="${2}" - local dbg="$(dirname "${dir}${dst}")/.debug/$(basename "${dst}")" + local dbg="$(dirname "${dir}${dst}")/.debug/.$(basename "${dst}").dbg" install -d "$(dirname "${dbg}")" || return |