svn commit: r228311 - head/sys/conf

Max Khon fjoe at FreeBSD.org
Tue Dec 6 18:01:09 UTC 2011


Author: fjoe
Date: Tue Dec  6 18:01:09 2011
New Revision: 228311
URL: http://svn.freebsd.org/changeset/base/228311

Log:
  MK_CTF is not defined when kmod.mk is used with old bsd.own.mk.

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Tue Dec  6 17:54:59 2011	(r228310)
+++ head/sys/conf/kmod.mk	Tue Dec  6 18:01:09 2011	(r228311)
@@ -201,7 +201,7 @@ ${KMOD}.kld: ${OBJS}
 ${FULLPROG}: ${OBJS}
 .endif
 	${LD} ${LDFLAGS} -r -d -o ${.TARGET} ${OBJS}
-.if ${MK_CTF} != "no"
+.if defined(MK_CTF) && ${MK_CTF} != "no"
 	${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS}
 .endif
 .if defined(EXPORT_SYMS)


More information about the svn-src-head mailing list