Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 03 Mar 2012 15:25:28 +0100
On 2012-03-03 15:19, Florian Smeets wrote:
> On 03.03.12 14:24, Chris Rees wrote:
>> On 3 March 2012 11:48, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
...
>>> "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}
...
> No need, a buildworld / installworld cycle will fix it. A make install
> in src/share/mk *could* also be enough, but i haven't tested it.

It's also enough if you run "make buildenv" in your source directory,
before attempting to compile the module.  This is needed when you want
to build a module separately for -CURRENT on older stable branches.

Alternatively, use "make -m ${srcdir}/share/mk" or set the MAKESYSPATH
environment variable to ${srcdir}/share/mk before building.
Received on Sat Mar 03 2012 - 13:25:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC