summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-03-02 16:40:51 +0000
committerru <ru@FreeBSD.org>2005-03-02 16:40:51 +0000
commit86bbb8bc22a9af0538899fb9669285b5aa150702 (patch)
treec716f8e4b6261d09bb9c4bf7f3a554df0e91d7ea /tools/build/Makefile
parentcee9e98f0ee1c954b22e9d755db15444797bf2ee (diff)
downloadFreeBSD-src-86bbb8bc22a9af0538899fb9669285b5aa150702.zip
FreeBSD-src-86bbb8bc22a9af0538899fb9669285b5aa150702.tar.gz
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.)
Diffstat (limited to 'tools/build/Makefile')
-rw-r--r--tools/build/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index be1de32..b523f13 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>
OpenPOWER on IntegriCloud