summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-06-03 11:17:23 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-06-03 15:15:02 +0200
commit14316f794ea37e8790edb0ae2626dc1eebaf9ea8 (patch)
tree96a3e1d75388d976657e23b038cd92c20e42af0b /scripts/lib
parent274880124cc9db6d11e88f68e50b2ea17aef9d92 (diff)
downloadptxdist-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.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 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