Chicken and egg problem when building (third-party) kernel modules with <bsd.kmod.mk> -- how to solve?

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Wed, 11 Sep 2013 17:37:16 +0400
Hello, Freebsd-current.

 It is good idea to set KERNBUILDDIR when build module. But to set it you
need to know ${.OBJDIR} from ${SYSDIR} and ${SYSDIR} is set in bsd.kmod.mk,
which should be included last (after defining KERNBUILDDIR).

 How this loop could be broken?

-- 
// Black Lion AKA Lev Serebryakov <lev_at_FreeBSD.org>
Received on Wed Sep 11 2013 - 11:37:23 UTC

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