summaryrefslogtreecommitdiff
path: root/sys/modules/procfs
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2005-08-11 14:45:10 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2005-08-11 14:45:10 +0000
commite168b357aa7fe7ae2bb9b56373a3aada3ebf56d7 (patch)
treeceb2decdcaea1d252a3c61b4f2e955b1e496c24c /sys/modules/procfs
parent8573cb38b6690b8c41035d4c163e613c2d93683b (diff)
Notes
Diffstat (limited to 'sys/modules/procfs')
-rw-r--r--sys/modules/procfs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile
index 75e23a0750f5..4a13013fb0cb 100644
--- a/sys/modules/procfs/Makefile
+++ b/sys/modules/procfs/Makefile
@@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../fs/procfs
KMOD= procfs
-SRCS=
+SRCS= opt_compat.h
SRCS+= vnode_if.h
SRCS+= procfs_ctl.c
SRCS+= procfs_dbregs.c
@@ -26,4 +26,10 @@ EXPORT_SYMS+= procfs_doprocfile
EXPORT_SYMS+= procfs_doprocmem
EXPORT_SYMS+= procfs_notsystem
+opt_compat.h:
+ echo "#define COMPAT_43 1" > ${.TARGET}
+.if ${MACHINE_ARCH} == "amd64"
+ echo "#define COMPAT_IA32 1" >> ${.TARGET}
+.endif
+
.include <bsd.kmod.mk>