diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build/Makefile | 4 | ||||
| -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 |
4 files changed, 23 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile index be1de32d75c2..b523f1395369 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -23,4 +23,8 @@ INCS+= nl_types.h SRCS= dummy.c .endif +.if defined(CROSS_BUILD_TESTING) +SUBDIR= cross-build +.endif + .include <bsd.lib.mk> 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 |
