summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-07-22 18:38:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-07-23 09:26:10 +0200
commit0862f0da500ddd9bc11df7bc261b28d8f22e5e19 (patch)
treeab50db831f9a58101880b6cde2f5b139bff7748d /bin/ptxdist
parent3e3ae4b3333a30275bbac8b81a114ecae8299314 (diff)
downloadptxdist-0862f0da500ddd9bc11df7bc261b28d8f22e5e19.tar.gz
ptxdist-0862f0da500ddd9bc11df7bc261b28d8f22e5e19.tar.xz
root-debug: remove it everywhere
Separate debug files in .debug/ directories in root/ have been available for some time. This is supported by all modern toolchains and much less confusing. Remove all references to root-debug except for cleaning: This way there won't be old root-debug/ directories lying around after upgrading and running 'ptxdist clean' or 'ptxdist clean root'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index 952bcca2b..152aa84ea 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -506,7 +506,6 @@ check_dirs() {
"${STATEDIR}" \
"${IMAGEDIR}" \
"${ROOTDIR}" \
- "${ROOTDIR_DEBUG}" \
"${PTXDIST_SRCDIR}" \
"${PTXDIST_GEN_CONFIG_DIR}" \
; do
@@ -1057,7 +1056,7 @@ clean() {
rm -fr -- "${IMAGEDIR}"
echo "${PTXDIST_LOG_PROMPT}cleaning root directory..."
rm -fr -- "${ROOTDIR}"
- rm -fr -- "${ROOTDIR_DEBUG}"
+ rm -fr -- "${PTXDIST_PLATFORMDIR}/root-debug"
echo "${PTXDIST_LOG_PROMPT}cleaning packages..."
rm -fr -- "${PKGDIR}"/*.ipk
echo "${PTXDIST_LOG_PROMPT}cleaning targetinstall stages..."
@@ -1153,7 +1152,7 @@ clean() {
rm -fr -- "${IMAGEDIR}"
echo "${PTXDIST_LOG_PROMPT}removing root..."
rm -fr -- "${ROOTDIR}"
- rm -fr -- "${ROOTDIR_DEBUG}"
+ rm -fr -- "${PTXDIST_PLATFORMDIR}/root-debug"
echo "${PTXDIST_LOG_PROMPT}removing state..."
rm -fr -- "${STATEDIR}"
echo "${PTXDIST_LOG_PROMPT}removing logfile..."