1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/tools/build
Warner Losh 2bf36e7e08 Separate out enabling building clang and/or gcc for the system and
building clang and/or gcc as the bootstrap compiler. Normally, the
default compiler is used. WITH_CLANG_BOOTSTRAP and/or
WITH_GCC_BOOTSTRAP will enable building these compilers as part
bootstrap phase.  WITH/WITHOUT_CLANG_IS_CC controls which compiler is
used by default for the bootstrap phase, as well as which compiler is
installed as cc.  buildworld now successfully completes building the
cross compiler with WITHOUT_CLANG=t and WITHOUT_GCC=t and produces a
built system with neither of these included.

Similarlly, MK_BINUTILS_BOOTSTRAP controls whether binutils is built
during this phase.

WITHOUT_CROSS_COMPILER will now force MK_BINUTILS_BOOTSTRAP=no,
MK_CLANG_BOOTSTRAP=no and MK_GCC_BOOTSTRAP=no.

BOOTSTRAP_COMPILER was considered, but rejected, since pc98 needs both
clang and gcc to bootstrap still. It should be revisisted in the
future if this requirement goes away. Values should be gcc, clang or
none. It could also be a list.

The odd interaction with Xfoo cross/external tools needs work, but
is beyond the scope of this change as well.
2014-04-18 17:03:58 +00:00
..
cross-build Add hacks that I use to test cross-builds (by building on 2005-03-02 16:40:51 +00:00
make_check Following r226271, allow disabling lzma support with "WITHOUT_LZMA_SUPPORT". 2013-01-08 18:37:12 +00:00
mk Migrate tools/regression/usr.bin/make/ to the new tests layout. 2014-03-19 12:29:20 +00:00
options Separate out enabling building clang and/or gcc for the system and 2014-04-18 17:03:58 +00:00
dummy.c Migrate to a new way of dealing with building from old revisions of 2003-04-05 20:30:30 +00:00
Makefile Check the right file for pwcache_groupdb. 2014-04-13 05:21:43 +00:00