diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-03-02 16:40:51 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-03-02 16:40:51 +0000 |
commit | f09a3cc462299cb519eea0dfc9210bed449a4643 (patch) | |
tree | c716f8e4b6261d09bb9c4bf7f3a554df0e91d7ea /tools/build/cross-build | |
parent | a6b86949fc76b7c8e1979818e74ff2b153e90bab (diff) | |
download | src-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')
-rw-r--r-- | tools/build/cross-build/Makefile | 7 | ||||
-rw-r--r-- | tools/build/cross-build/date.sh | 6 | ||||
-rw-r--r-- | tools/build/cross-build/hostname.sh | 6 |
3 files changed, 19 insertions, 0 deletions
diff --git a/tools/build/cross-build/Makefile b/tools/build/cross-build/Makefile new file mode 100644 index 000000000000..69c1e9c49844 --- /dev/null +++ b/tools/build/cross-build/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +NO_OBJ= +SCRIPTS= date.sh hostname.sh +BINDIR= /usr/bin + +.include <bsd.prog.mk> 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 "$@" diff --git a/tools/build/cross-build/hostname.sh b/tools/build/cross-build/hostname.sh new file mode 100644 index 000000000000..855741beca85 --- /dev/null +++ b/tools/build/cross-build/hostname.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +echo dummy |