aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/date.sh
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-03-02 16:40:51 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-03-02 16:40:51 +0000
commitf09a3cc462299cb519eea0dfc9210bed449a4643 (patch)
treec716f8e4b6261d09bb9c4bf7f3a554df0e91d7ea /tools/build/cross-build/date.sh
parenta6b86949fc76b7c8e1979818e74ff2b153e90bab (diff)
downloadsrc-f09a3cc462299cb519eea0dfc9210bed449a4643.tar.gz
src-f09a3cc462299cb519eea0dfc9210bed449a4643.zip
Add hacks that I use to test cross-builds (by building on
native and foreign architectures and comparing products). They eliminate most of the differences caused by different object directory paths, timestamping, and identification. (Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
Notes
Notes: svn path=/head/; revision=143044
Diffstat (limited to 'tools/build/cross-build/date.sh')
-rw-r--r--tools/build/cross-build/date.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/build/cross-build/date.sh b/tools/build/cross-build/date.sh
new file mode 100644
index 000000000000..f697a7f0cd54
--- /dev/null
+++ b/tools/build/cross-build/date.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+exec /bin/date -r0 "$@"