Subject: A couple of suggestions for build.sh...
To: None <lukem@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-toolchain
Date: 02/18/2003 09:04:16
I have a couple of suggestions for build.sh to make a build easier to
restart after a failed attempt, for whatever reason.
1) Print the exact command line used to start the build before doing
anything else, so it will be at the top of any captured log file:
Index: build.sh
===================================================================
RCS file: /cvsroot/src/build.sh,v
retrieving revision 1.91
diff -u -r1.91 build.sh
--- build.sh 2003/02/16 04:35:03 1.91
+++ build.sh 2003/02/18 14:46:04
@@ -847,4 +847,5 @@
done
}
+echo "$0" "$@"
main "$@"
2) I would like a "-c" or "-C" option to set NOCLEANDIR, and to not
run any explicit "clean" targets. "-u" has "interesting"
consequences when $DESTDIR is empty, and I'd like to not have to deal
with that, when I only want to skip the "clean" phase (because I know
the tree is already cleaned). It could be useful for kernel=, too.
Frederick