Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 17:58:01 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r266622 - user/dchagin/lemul/sys/modules/linux
Message-ID:  <201405241758.s4OHw1jG021093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat May 24 17:58:00 2014
New Revision: 266622
URL: http://svnweb.freebsd.org/changeset/base/266622

Log:
  Faciliate the linux.ko build with DEBUG option.

Modified:
  user/dchagin/lemul/sys/modules/linux/Makefile

Modified: user/dchagin/lemul/sys/modules/linux/Makefile
==============================================================================
--- user/dchagin/lemul/sys/modules/linux/Makefile	Sat May 24 16:21:16 2014	(r266621)
+++ user/dchagin/lemul/sys/modules/linux/Makefile	Sat May 24 17:58:00 2014	(r266622)
@@ -77,6 +77,9 @@ opt_inet6.h:
 .if defined(KTR)
 CFLAGS+=	-DKTR
 .endif
+.if defined(DEBUG)
+CFLAGS+=	-DDEBUG
+.endif
 .endif
 
 .include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241758.s4OHw1jG021093>