freebsd-nq/share/mk
Bryan Drewery b8aba4fc19 META_MODE: Fix 2nd build causing everything to rebuild due to changed CC.
In the first build the TOOLSDIR does not exit yet which causes CC to default
to the sys.mk version.  Once a TOOLSDIR is created during the build though,
this logic was changing CC to ${TOOLSDIR}/usr/bin/cc even though that file
did not exist.  Thus CC went from 'cc' to '/usr/bin/cc' which forced a
rebuild of everything while using the same compiler.  Check that TOOLSDIR is
not empty to avoid this.  If there is actually a TOOLSDIR cc then it will be
used and properly rebuild.

Sponsored by:	EMC / Isilon Storage Division
2015-09-23 22:36:01 +00:00
..
atf.test.mk Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mk 2015-06-15 06:38:59 +00:00
auto.obj.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsd.arch.inc.mk
bsd.compiler.mk Mention what 'common' is for 2015-06-10 19:36:53 +00:00
bsd.cpu.mk After consultations with the arm community, don't define softfp for 2015-08-26 17:10:43 +00:00
bsd.crunchgen.mk Use ${CRUNCHGEN} rather than bare word. 2015-06-13 15:36:13 +00:00
bsd.dep.mk Building on fmake is no longer possible so removed tests for bmake. 2015-06-10 18:14:38 +00:00
bsd.doc.mk Use .CURDIR in soelim's include path instead of SRCDIR 2015-06-20 00:17:57 +00:00
bsd.dtb.mk Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
bsd.endian.mk Start to import support for the AArch64 architecture from ARM. This change 2015-03-19 13:53:47 +00:00
bsd.files.mk For each FOO in FILESLISTS, append the value of FOO.yes, sort, and 2015-08-27 01:52:45 +00:00
bsd.incs.mk Simplify symlinks on include files by using bmake's multivariable .for loops 2015-06-21 22:27:52 +00:00
bsd.info.mk Remove MK_INFO guards in bsd.info.mk per r276556 2015-01-02 22:55:30 +00:00
bsd.init.mk Avoid anoying warning 2015-06-14 03:27:22 +00:00
bsd.kmod.mk Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
bsd.lib.mk bsd.lib.mk: Simplify CLEANFILES handling. 2015-09-22 05:05:53 +00:00
bsd.libnames.mk Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
bsd.links.mk Fix DESTDIR support 2015-03-15 23:40:50 +00:00
bsd.man.mk Fix typo which breaks build of manpages when WITHOUT_MANCOMPRESS is set 2015-07-08 22:24:55 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk Allow staging to be help up (by .WAIT) until other 2013-03-08 22:02:08 +00:00
bsd.obj.mk With MK_AUTO_OBJ=yes objdir is created during sys.mk 2015-06-11 13:53:15 +00:00
bsd.opts.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsd.own.mk Remove now unused LIBPRIVATEDIR 2015-08-24 13:46:12 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk Merge from head 2015-05-26 21:52:57 +00:00
bsd.progs.mk Do not override variables on command line that build needs to change. 2015-06-11 21:11:33 +00:00
bsd.README Document bsd.endian.mk. 2015-08-27 22:42:02 +00:00
bsd.snmpmod.mk
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk Automatically append SUBDIR.yes to the SUBDIR variable, and 2015-08-27 01:55:00 +00:00
bsd.symver.mk
bsd.sys.mk Garbage collect _SHLIBDIRPREFIX leftovers from r284898. 2015-09-18 22:28:13 +00:00
bsd.test.mk Ensure TESTSDIR is defined before bsd.test.mk is .include'd 2015-06-15 07:13:23 +00:00
dirdeps.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
gendirdeps.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
host-target.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
install-new.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
local.autodep.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
local.dirdeps.mk Watch out for bin/cat in host stage tree 2015-06-14 03:28:25 +00:00
local.gendirdeps.mk Avoid trailing white-space 2015-06-14 03:28:48 +00:00
local.init.mk do not include src.opts.mk from here 2015-06-15 19:23:47 +00:00
local.meta.sys.mk META_MODE: Fix 2nd build causing everything to rebuild due to changed CC. 2015-09-23 22:36:01 +00:00
local.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
local.sys.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
Makefile Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.py Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.autodep.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.stage.mk Normally a staging conflict causes an error. 2015-06-16 23:06:43 +00:00
meta.subdir.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.sys.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
netbsd-tests.test.mk Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after atf-c/config.h 2014-11-04 05:02:22 +00:00
plain.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
src.libnames.mk Remove last traces of USEPRIVATELIB 2015-09-06 20:17:14 +00:00
src.opts.mk Separate ELFTOOLCHAIN_BOOTSTRAP from BINUTILS_BOOTSTRAP 2015-08-17 10:48:55 +00:00
src.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
src.sys.mk Trim space 2015-09-17 21:51:48 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Add support for TEST_METADATA 2015-07-04 02:37:36 +00:00
sys.dependfile.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
sys.mk META_MODE: Follow-up r287879 and have 'make -V .OBJDIR' still invoke auto.obj.mk. 2015-09-23 20:46:23 +00:00
tap.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
version_gen.awk