aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-08-01 21:01:57 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-08-01 21:01:57 +0000
commit1c02497648bdf61a43dd271f6f9171a037046d8e (patch)
tree4fd80ef3519d4020a47dad2c768beedb03224e34 /Makefile.libcompat
parentcf0a543f1f93f95a1c452d710c67ba42a752a2b1 (diff)
downloadsrc-1c02497648bdf61a43dd271f6f9171a037046d8e.tar.gz
src-1c02497648bdf61a43dd271f6f9171a037046d8e.zip
Makefile.inc1: Enable requesting the universe toolchain.
make universe builds a cross toolchain under HOST_OBJTMP/tmp via the universe-toolchain target. However, doing a plain 'make buildworld' after a universe/tinderbox run (e.g. to reproduce a failure and test the fix for it), will try to build a new cross toolchain under OBJTMP/tmp which can be tedious. This commit adds a make variable (UNIVERSE_TOOLCHAIN) which can be used similar to CROSS_TOOLCHAIN to request an external toolchain. If this variable is set (value doesn't matter), the the universe toolchain is used as an external toolchain. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40777
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index f9fe28e1082b..da9c326756aa 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -37,6 +37,7 @@ LIB${_LIBCOMPAT}WMAKE+= ${TIME_ENV} ${LIB${_LIBCOMPAT}WMAKEENV} ${MAKE} \
${LIB${_LIBCOMPAT}WMAKEFLAGS} \
OBJTOP=${LIB${_LIBCOMPAT}_OBJTOP} \
OBJROOT='$${OBJTOP}/' \
+ UNIVERSE_TOOLCHAIN_PATH=${UNIVERSE_TOOLCHAIN_PATH} \
MAKEOBJDIRPREFIX= \
MK_INCLUDES=no \
MK_MAN=no MK_HTML=no