summaryrefslogtreecommitdiffstats
path: root/sys/modules/linux
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-04 21:56:39 +0000
committereivind <eivind@FreeBSD.org>1998-02-04 21:56:39 +0000
commit357ed840539f8f9a58fb8fb389bcb6e426a9252c (patch)
treee59e11ca598a7714c4c0cc521055b195a2051531 /sys/modules/linux
parent1c9cf806f13759df7b86517904f3a7f7b0f9c628 (diff)
downloadFreeBSD-src-357ed840539f8f9a58fb8fb389bcb6e426a9252c.zip
FreeBSD-src-357ed840539f8f9a58fb8fb389bcb6e426a9252c.tar.gz
Make the LKMs handle DIAGNOSTIC as a new-style option.
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index e5f786f..6d03439 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -1,18 +1,18 @@
-# $Id: Makefile,v 1.12 1997/12/16 18:45:50 eivind Exp $
+# $Id: Makefile,v 1.13 1998/02/01 17:53:55 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/linux
KMOD= linux_mod
SRCS= linux.c linux_file.c linux_ioctl.c linux_misc.c linux_signal.c \
linux_ipc.c linux_socket.c linux_stats.c \
linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \
- imgact_linux.c opt_compat.h vnode_if.h
+ imgact_linux.c opt_compat.h opt_diagnostic.h vnode_if.h
OBJS= linux_locore.o
MAN8= linux.8
CFLAGS+= -DLKM -DCOMPAT_LINUX #-DDEBUG
EXPORT_SYMS=_linux_mod
CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym \
- linux_assym.h opt_compat.h
+ linux_assym.h opt_compat.h opt_diagnostic.h
linux_assym.h: linux_genassym
./linux_genassym > linux_assym.h
@@ -27,6 +27,9 @@ linux_genassym.o: linux_genassym.c linux.h
linux_genassym: linux_genassym.o
${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}
+opt_diagnostic.h:
+ touch opt_diagnostic.h
+
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
OpenPOWER on IntegriCloud