freebsd-nq/share/mk
Dimitry Andric 883e0f87a4 During buildworld and buildkernel, define EARLY_BUILD in the earlier
stages (build-tools, cross-tools, etc) of the build, so we can detect in
bsd.*.mk whether to pass compiler-specific flags to ${CC}.

In particular, this commit will allow using WITH_CLANG_IS_CC when the
base compiler is still gcc, and when ${CC}, ${CXX} and ${CPP} are left
at their defaults.  The early stages will then be built using gcc, and
no clang-specific flags will be passed to it.  The later stages will be
built as usual.

The EARLY_BUILD define can also serve other uses, such as building the
world stage C++ executables with libc++ instead of libstdc++: during the
early build stages, we cannot assume libc++ is already available, so we
must still build with libstdc++ at that time.

MFC after:	1 week
2012-06-03 20:35:41 +00:00
..
bsd.arch.inc.mk Merge from tbemd 2010-06-11 02:50:53 +00:00
bsd.compat.mk Align the warning message with the one in bsd.own.mk. 2007-10-20 18:46:15 +00:00
bsd.cpu.mk Remove support for the Intel C Compiler from the build infrastructure. 2011-04-19 18:09:21 +00:00
bsd.crunchgen.mk Allow crunchgen binary link generation to be disabled. 2012-01-05 21:49:43 +00:00
bsd.dep.mk Also pass the -ansi flag through to mkdep (requested by bde), and fix 2011-10-11 05:17:26 +00:00
bsd.doc.mk Don't pass -o1- to groff(1) by default. If ms(7) formatted document 2011-06-03 11:58:17 +00:00
bsd.dtrace.mk Add a comment describing where to include bsd.dtrace.mk. 2010-09-11 10:11:59 +00:00
bsd.endian.mk Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
bsd.files.mk
bsd.incs.mk
bsd.info.mk
bsd.init.mk
bsd.kmod.mk Fix comma splice, can't ambiguity and quoting. 2012-02-16 21:04:47 +00:00
bsd.lib.mk Introduce the ${SHLIB_LDSCRIPT} variable to have an ld(1) script 2012-05-07 09:00:30 +00:00
bsd.libnames.mk Add missing LIBPROCSTAT. 2012-05-19 04:57:37 +00:00
bsd.links.mk
bsd.man.mk
bsd.nls.mk
bsd.obj.mk
bsd.own.mk Add build opton MK_LS_COLORS to control whether ls(1) supports colors 2012-05-19 18:05:00 +00:00
bsd.pkg.mk
bsd.port.mk Revert unapproved commit to bsd.port.mk. 2011-10-08 18:25:01 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk - CTF knob is now implemented using common scheme: MK_CTF=yes/no is 2011-11-30 18:11:49 +00:00
bsd.README Fix an inconsistency I just ran into for LDADD and DPADD. The description 2012-05-24 20:00:58 +00:00
bsd.snmpmod.mk Add an additional make variable EXTRAMIBSYMS which allows to specify 2008-01-08 12:55:56 +00:00
bsd.subdir.mk Make `make cleanilinks' work in /sys/modules. 2009-12-06 08:59:19 +00:00
bsd.symver.mk
bsd.sys.mk During buildworld and buildkernel, define EARLY_BUILD in the earlier 2012-06-03 20:35:41 +00:00
Makefile .. and then notice that the list of mk files is ordered, and update to suit. 2010-11-16 22:22:16 +00:00
sys.mk Sort nm in order. 2012-04-22 17:14:11 +00:00
version_gen.awk