2677e7fea5
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 |
||
---|---|---|
.. | ||
bsd.arch.inc.mk | ||
bsd.compat.mk | ||
bsd.cpu.mk | ||
bsd.crunchgen.mk | ||
bsd.dep.mk | ||
bsd.doc.mk | ||
bsd.dtrace.mk | ||
bsd.endian.mk | ||
bsd.files.mk | ||
bsd.incs.mk | ||
bsd.info.mk | ||
bsd.init.mk | ||
bsd.kmod.mk | ||
bsd.lib.mk | ||
bsd.libnames.mk | ||
bsd.links.mk | ||
bsd.man.mk | ||
bsd.nls.mk | ||
bsd.obj.mk | ||
bsd.own.mk | ||
bsd.pkg.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.prog.mk | ||
bsd.README | ||
bsd.snmpmod.mk | ||
bsd.subdir.mk | ||
bsd.symver.mk | ||
bsd.sys.mk | ||
Makefile | ||
sys.mk | ||
version_gen.awk |