summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2009-05-07 10:01:05 +0000
committerdchagin <dchagin@FreeBSD.org>2009-05-07 10:01:05 +0000
commit69492be31f58cf59e96c63896ecff0b07957f7df (patch)
treed335a53e219dd0e34e039eb0201e19116eff0d22 /sys/modules
parent010f4da5f86e181aee65d68d0e2c7ae96f3cc7ef (diff)
downloadFreeBSD-src-69492be31f58cf59e96c63896ecff0b07957f7df.zip
FreeBSD-src-69492be31f58cf59e96c63896ecff0b07957f7df.tar.gz
Add preliminary KTR(9) support to the linux emulation layer.
Approved by: kib (mentor) MFC after: 1 month
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 0995c3a..b2bdd97 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -55,6 +55,9 @@ linux${SFX}_genassym.o: linux${SFX}_genassym.c linux.h @ machine
.if !defined(KERNBUILDDIR)
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
+.if defined(KTR)
+CFLAGS+= -DKTR
+.endif
.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud