freebsd-skq/share/mk
Dimitry Andric 2677e7fea5 After r232322, it turned out many people (and some ports) are building
kernel modules using their old installed /usr/share/mk/bsd.*.mk files,
instead of the updated ones in their source tree.  This leads to errors
like:

  "sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC} == "no" && ${CC:T:Mclang} != "clang")

Obviously, these errors will go away after a "make installworld", or
alternatively, by using "make buildenv" before attempting to manually
build modules.

However, since it is apparently an expected use case to build using old
.mk files, change the way we test for clang, so it also works when the
MK_CLANG_IS_CC macro doesn't exist.

Note the conditional expressions are becoming rather unreadable now, but
I will attempt to fix that on a followup commit.

MFC after:	2 weeks
2012-03-03 18:58:15 +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 Retire TARGET_ABI. 2011-01-07 20:26:33 +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 Force linker error when created shared library contains a relocation 2011-12-06 11:28:17 +00:00
bsd.libnames.mk Import libc++ / libcxxrt into base. Not build by default yet (use 2011-11-25 20:59:04 +00:00
bsd.links.mk
bsd.man.mk Stop clobberring the application namespace with local 2007-03-12 13:54:52 +00:00
bsd.nls.mk
bsd.obj.mk
bsd.own.mk Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that 2012-02-29 22:58:51 +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 Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handle 2007-06-01 15:17:51 +00:00
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 o Remove EoL w/spaces introduced in the last commit. 2010-05-22 20:19:12 +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 Explicitly verify if we have found the VERSION_GEN script 2007-10-18 15:21:35 +00:00
bsd.sys.mk After r232322, it turned out many people (and some ports) are building 2012-03-03 18:58:15 +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 - fix WITH_CTF when specified in /etc/src.conf [1] 2011-11-29 16:34:44 +00:00
version_gen.awk Distinguish the cases when a dup symbol is in different versions 2007-10-18 10:32:28 +00:00