diff options
author | brooks <brooks@FreeBSD.org> | 2013-05-15 14:30:03 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-05-15 14:30:03 +0000 |
commit | 6b71588fb9c77dff280f7b94d8398d6c82344c6e (patch) | |
tree | bc51a83d7b359338755b8f0f2791c980ad769792 /share | |
parent | 4d008876be6c5f3ff3209a2b07c125927b15e2bd (diff) | |
download | FreeBSD-src-6b71588fb9c77dff280f7b94d8398d6c82344c6e.zip FreeBSD-src-6b71588fb9c77dff280f7b94d8398d6c82344c6e.tar.gz |
Add support for an external cross compiler. The cross compiler is
specified by passing the XCC, XCXX, and XCPP variables (corresponding to
CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang
or be configured to target the appropriate architecture.
To speed build times, if XCC is an absolute path or
WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built
during the cross-tools stage.
Limited documentation of this feature can currently be found at:
https://wiki.freebsd.org/ExternalToolchain
This functionality should be considered experimental and is subject to
change without notice.
Sponsored by: DARPA, AFRL
Discussed with: imp, sjg
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.own.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 3565425..e74000a 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -259,6 +259,7 @@ __DEFAULT_YES_OPTIONS = \ CAPSICUM \ CDDL \ CPP \ + CROSS_COMPILER \ CRYPT \ CTM \ CVS \ |